{
"event": {
"id": "3f1c9a52-7b4e-4d21-9c6a-0e5d8b2f4a17",
"type": "catalog-voucher-set-depleted",
"timestamp": 1793610900
},
"payload": {
"resource": "voucher-set",
"id": 2030
}
}Catalog
catalog-voucher-set-depleted
A voucher set is depleted
WEBHOOK
catalog-voucher-set-depleted
{
"event": {
"id": "3f1c9a52-7b4e-4d21-9c6a-0e5d8b2f4a17",
"type": "catalog-voucher-set-depleted",
"timestamp": 1793610900
},
"payload": {
"resource": "voucher-set",
"id": 2030
}
}Audience: consumer · Trigger:
stockStatus becomes depleted · Payload: {resource, id}
Verify the x-signing-signature header before you trust the body (Verifying signatures). Deliveries are at least once and unordered; deduplicate on event.id.Authorizations
Your API key in Authorization: Bearer <key>. Use vk_test_… keys against the sandbox and vk_live_… keys against production.
Headers
t=<unix seconds>,s1=<hex HMAC-SHA256 of "<raw body>.<t>" with your first secret>,s2=<the same with your second secret>. Accept the delivery when either signature matches. See Verifying signatures.
Body
application/json
Response
Acknowledge receipt within 15 seconds.