Webhooks
POST Webhook customer-updated
Webhook to notify when a customer is updated. Changes that only affect customer metadata do not emit this webhook.
Headers
X-Rillet-Signaturestring required
Signature of the webhook event. Computed using HMAC-SHA256 and AES encrypted with the configured webhook token. The contents of the body are prefixed with the timestamp and id before hashing.
X-Rillet-Timestampstring date-time required
Timestamp of the webhook event in ISO-8601 format
X-Rillet-Idstring uuid required
ID of the webhook event
X-Rillet-Entitystring required
Entity type of the webhook event
X-Rillet-Eventstring required
Event type of the webhook event
Payload
Example payload
{
"name": "Bob",
"name_on_invoice": "Bob Johnson",
"address": {
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
},
"shipping_address": {
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
},
"billing_addresses": [
{
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
}
],
"shipping_addresses": [
{
"line1": "123 Main St",
"line2": "Apt 4B",
"city": "Nashville",
"state": "TN",
"zip_code": "37201",
"country": "US"
}
],
"emails": [
{
"id": "0193a6f2-4c1e-7b8a-9d3f-2e5c8a1b7f40",
"email": "bobjohnson@somedomain.com"
}
],
"external_references": [
{
"type": "xyzSystemId",
"id": "234",
"url": "https://xyzsystempage.com/ids/234"
}
],
"tax_ids": [
{
"value": "DE123456789"
}
]
}Response
OK
string required
A placeholder indicating a response from a webhook. The contents of this response are ignored.
Changes
Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.