POST /<receiver-path> HTTP/1.1
Host: receiver.example
Content-Type: application/json
X-Webhook-Signature-Version: v2
X-Webhook-Event-Id: <event_id>
X-Webhook-Event-Type: <event_type>
X-Webhook-Timestamp: <unix_timestamp>
X-Webhook-Attempt: <attempt>
X-Webhook-Nonce: <nonce>
X-Webhook-Signature: <signature>
{
"id": "356b5b2e-ba7b-45c6-9be2-b00e21253723",
"type": "order.status_changed",
"created_at": "2026-11-21T18:45:00.000000Z",
"request_id": "quickstart-order-payment",
"correlation_id": "quickstart-order-payment",
"payload_version": "v2",
"data": {
"resource": {
"type": "order",
"id": "01a1ff69-1d03-7c35-aa9e-784a66d64f88"
},
"from_status": 2,
"to_status": 3
}
}
Webhooks
Receive an outbound webhook
Verify HMAC v2 with the endpoint secret and the exact JSON bytes. Join the string webhook-v2, event ID, event type, Unix timestamp, positive attempt number, nonce and lowercase SHA-256 of the body with LF characters, without a trailing LF. Verify the event ID and type against the signed body. Handle repeated event IDs idempotently. Test events have type api.test and may include sample_of.
WEBHOOK
delivery
POST /<receiver-path> HTTP/1.1
Host: receiver.example
Content-Type: application/json
X-Webhook-Signature-Version: v2
X-Webhook-Event-Id: <event_id>
X-Webhook-Event-Type: <event_type>
X-Webhook-Timestamp: <unix_timestamp>
X-Webhook-Attempt: <attempt>
X-Webhook-Nonce: <nonce>
X-Webhook-Signature: <signature>
{
"id": "356b5b2e-ba7b-45c6-9be2-b00e21253723",
"type": "order.status_changed",
"created_at": "2026-11-21T18:45:00.000000Z",
"request_id": "quickstart-order-payment",
"correlation_id": "quickstart-order-payment",
"payload_version": "v2",
"data": {
"resource": {
"type": "order",
"id": "01a1ff69-1d03-7c35-aa9e-784a66d64f88"
},
"from_status": 2,
"to_status": 3
}
}
Русская версия
Verify the signature with the subscription secret using the webhook verification rules.
Related methods
POST /<receiver-path> HTTP/1.1
Host: receiver.example
Content-Type: application/json
X-Webhook-Signature-Version: v2
X-Webhook-Event-Id: <event_id>
X-Webhook-Event-Type: <event_type>
X-Webhook-Timestamp: <unix_timestamp>
X-Webhook-Attempt: <attempt>
X-Webhook-Nonce: <nonce>
X-Webhook-Signature: <signature>
{
"id": "356b5b2e-ba7b-45c6-9be2-b00e21253723",
"type": "order.status_changed",
"created_at": "2026-11-21T18:45:00.000000Z",
"request_id": "quickstart-order-payment",
"correlation_id": "quickstart-order-payment",
"payload_version": "v2",
"data": {
"resource": {
"type": "order",
"id": "01a1ff69-1d03-7c35-aa9e-784a66d64f88"
},
"from_status": 2,
"to_status": 3
}
}
Headers
Body
application/json
Response
Try again later. The receiver may send Retry-After.