Event delivery to your webhook
eventDeliveryJeton sends this request to the webhook URL set in the merchant portal.
Every delivery is an Event envelope, signed as the Standard Webhooks specification
(https://www.standardwebhooks.com/) defines, so any of its libraries verifies it. Verify the signature before
trusting the body:
key = base64decode(secret without its "whsec_" prefix)
expected = "v1," + base64(HMAC-SHA256(key, "{webhook-id}.{webhook-timestamp}.{rawBody}"))
Compare in constant time against each space-separated entry of webhook-signature, and reject if
|now - webhook-timestamp| > 300 s. While you rotate the secret, verify with the new one and fall back to the
old one. webhook-id is the event id: a retried delivery carries the same one.
Every event goes to the v2 webhook's one address. The address and the secret are read at each attempt, so a change in the portal reaches deliveries still pending.
Respond 2xx within 10 s to acknowledge. Anything else — another status, no answer, an address that
does not resolve or resolves to a private one — is retried 12 times over about three and a half days
(immediately, then 3 s, 5 s, 15 s, 30 s, 1 m, 5 m, 15 m, 30 m, 1 h, 6 h, 24 h, 48 h), after which the
delivery is exhausted and your webhook settings in the portal show the webhook failing until a later
delivery succeeds. The event stays readable in GET /events.
Delivery semantics
- At-least-once, unordered. Retries can reorder events. Deduplicate on
id; for a givendata.id, ignore any snapshot whosedata.updatedAtis older than the last one you processed — the same fieldGETreturns — or simplyGETthe resource when in doubt. datais the full resource exactly asGETreturned it at the moment of the event.- Only outcomes are delivered (listed in the introduction): one notification per result.
GET /eventsalso records the intermediate statuses, creation (*.pending) included, for UI and reconciliation. - Merchants are independent — another merchant's failing or slow endpoint never delays yours.
Parameters
webhook-idstringheaderrequiredThe event id. A retried delivery carries the same one.Example:
evt_019985c24a6e7c3b9f102d5e8a1b3c4dpattern ^evt_[0-9a-f]{32}$
webhook-timestampinteger (int64)headerrequiredUnix seconds when the delivery was signed.webhook-signaturestringheaderrequiredv1,followed by the base64 signature; more than one space-separated entry is possible.Example:
v1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE=
Request body application/jsonrequired
type is {resource}.{status} and names what data is — a payout.* event
carries a Payout — as the Standard Webhooks specification has it: switch on type.One of
PaymentEvent
idstringrequiredStable across retries — deduplicate on this.Example:
evt_019985c24a6e7c3b9f102d5e8a1b3c4dpattern ^evt_[0-9a-f]{32}$
typestringpattern ^payment\.
versionstringrequiredEnvelope version. Additive changes — a new field, a new event type, a new enum value — never bump it.Allowed values:
1createdAtstring (date-time)requiredRFC 3339, UTC, with millisecond precision.Example:
2026-09-18T10:15:30.123ZdataPaymentsettledAmount,descriptionandmetadataare not reported yet.feeandcompletedAtappear once the payment is completed; payments completed before they were recorded do not carry them.updatedAtis the last change — a new status, or the customer opening the checkout — and never moves backwards.deliveryobjectHow the event's delivery to your webhook stands. Present inGET /eventsresponses, never in the delivered payload — and absent for an intermediate status (only outcomes are delivered) and when your webhook did not take native v2 events when the event happened. An outcome raised while your v2 webhook is switched off readspendinguntil you switch it back on.failingis retrying after a failed attempt;exhaustedran out of retries.
PayoutEvent
idstringrequiredStable across retries — deduplicate on this.Example:
evt_019985c24a6e7c3b9f102d5e8a1b3c4dpattern ^evt_[0-9a-f]{32}$
typestringpattern ^payout\.
versionstringrequiredEnvelope version. Additive changes — a new field, a new event type, a new enum value — never bump it.Allowed values:
1createdAtstring (date-time)requiredRFC 3339, UTC, with millisecond precision.Example:
2026-09-18T10:15:30.123ZdataPayoutdeliveryobjectHow the event's delivery to your webhook stands. Present inGET /eventsresponses, never in the delivered payload — and absent for an intermediate status (only outcomes are delivered) and when your webhook did not take native v2 events when the event happened. An outcome raised while your v2 webhook is switched off readspendinguntil you switch it back on.failingis retrying after a failed attempt;exhaustedran out of retries.
TransferEvent
idstringrequiredStable across retries — deduplicate on this.Example:
evt_019985c24a6e7c3b9f102d5e8a1b3c4dpattern ^evt_[0-9a-f]{32}$
typestringpattern ^transfer\.
versionstringrequiredEnvelope version. Additive changes — a new field, a new event type, a new enum value — never bump it.Allowed values:
1createdAtstring (date-time)requiredRFC 3339, UTC, with millisecond precision.Example:
2026-09-18T10:15:30.123ZdataTransferdeliveryobjectHow the event's delivery to your webhook stands. Present inGET /eventsresponses, never in the delivered payload — and absent for an intermediate status (only outcomes are delivered) and when your webhook did not take native v2 events when the event happened. An outcome raised while your v2 webhook is switched off readspendinguntil you switch it back on.failingis retrying after a failed attempt;exhaustedran out of retries.
FxExchangeEvent
idstringrequiredStable across retries — deduplicate on this.Example:
evt_019985c24a6e7c3b9f102d5e8a1b3c4dpattern ^evt_[0-9a-f]{32}$
typestringpattern ^fx_exchange\.
versionstringrequiredEnvelope version. Additive changes — a new field, a new event type, a new enum value — never bump it.Allowed values:
1createdAtstring (date-time)requiredRFC 3339, UTC, with millisecond precision.Example:
2026-09-18T10:15:30.123ZdataFxExchangedeliveryobjectHow the event's delivery to your webhook stands. Present inGET /eventsresponses, never in the delivered payload — and absent for an intermediate status (only outcomes are delivered) and when your webhook did not take native v2 events when the event happened. An outcome raised while your v2 webhook is switched off readspendinguntil you switch it back on.failingis retrying after a failed attempt;exhaustedran out of retries.
Responses
Acknowledged.