Webhooks push Receiving (acquiring) and eligible API-source exchange order events to an HTTPS endpoint you control, so your backend learns about payments without polling. They are configured per account in Developers → Webhooks (/home/developer/webhooks): save the endpoint URL, copy the signing secret, send a test event and inspect every delivery attempt there. No identity verification is needed to configure webhooks.
Requirements for your endpoint
Public HTTPS URL on a standard port; private or loopback hosts are rejected when you save.
Respond with any 2xx within 10 seconds. Redirects (3xx) are not followed and count as failures.
Treat deliveries as at least once: use the envelope id to deduplicate.
event id (UUID); the same event keeps the same id across retries and replays
type
event type, see below
createdAt
when the underlying fact happened (ISO 8601)
dataVersion
schema version of data, currently 1
data
event-specific facts; for acquiring events, metadata is the object you attached to the order (or to its payment link or invoice); exchange events use the separate snapshot below
Amounts in webhooks are fixed-point decimal strings with exactly 18 decimal places ("120.000000000000000000"), unlike the API responses ("120"): compare them by value, not as text.
The acquiring.order.* events also carry payableAmount, what the customer had to send, and addressMode: fixed or fixed_tail for orders paid to your own address (custodyMode: "merchant_direct"), null for platform orders. amount stays the order amount and receivedAmount is what arrived. On an order with an amount tail (addressMode: "fixed_tail") the customer sends payableAmount, so receivedAmount is higher than amount by the tail: reconcile receivedAmount against payableAmount, not against amount (a payment of the plain amount that you confirm yourself also completes a tailed order, with receivedAmount below payableAmount). Without a tail, payableAmount equals amount. See Acquiring API overview → Direct receiving and amount tails.
An order counts as paid once receivedAmount reaches amount less the order's underpaid tolerance (underpaidToleranceBps on the order object, taken from your receiving settings when the order was created; 0.5% by default), so acquiring.order.paid can carry a receivedAmount slightly below amount. See Acquiring API overview → Receiving settings that apply to payments.
The acquiring.order.* events also carry quote. It is null unless the customer paid a payment link or invoice with a crypto asset other than its price currency. On such an order amount, receivedAmount, payableAmount and currency are in the asset paid, and quote holds the price: pricingCurrency and pricingAmount (18 decimal places, like amount), with payCurrency, payNetwork, payAmount, rate, source, rateSource, legs, assumptions, quotedAt and lockedUntil. Reconcile these payments against quote.pricingAmount in quote.pricingCurrency: that is what the request counts in paidAmount, and the payment_request.* events report amounts in the request currency. See Acquiring API overview → Price currency and pay currency.
Every acquiring.order.* event (paid, settled, funds_reorg_compensated, refund_updated, dispute_updated) also carries confirmedAfterExpiry and inLockEvidence. confirmedAfterExpiry is true when a crypto payment was credited after the order had expired because it was mined within the order's lock time (plus the network's grace period), or a card or other fiat payment was credited after expiry because it was completed on the payment provider's page while that page was open, so an acquiring.order.paid can arrive for an order you saw as expired. inLockEvidence is what the latest such payment was credited on, { kind, at, withinGrace } (kind is block_time, first_seen or psp_session, at is ISO 8601, withinGrace is true when it was mined after the lock ended, within the grace period, or for psp_session when it was paid after expiresAt), or null. On a payment link or invoice that was already paid, used up, voided or expired, such a payment still adds to paidAmount; use confirmedAfterExpiry to find it and refund the customer yourself. confirmedAfterExpiry is historical: it becomes true once a payment on the order has been credited after expiry and stays true (and inLockEvidence stays set) even if a chain reorganisation later removes that payment; use status and receivedAmount for what the order holds now. See Acquiring API overview → Crypto payments confirmed after expiry.
Event types
type
When
acquiring.order.paid
the customer's payment was confirmed
acquiring.order.settled
funds were settled to your balance
acquiring.order.funds_reorg_compensated
a chain reorganisation affected the payment and the platform compensated the order
acquiring.order.refund_updated
a refund of a settled card or other fiat payment changed status, or the amount debited from your balance for it changed; see Refund and dispute events below
acquiring.order.dispute_updated
a dispute (chargeback) on a settled card or other fiat payment changed status, or the amount debited from your balance for it changed; see Refund and dispute events below
payment_request.partially_paid
an invoice received a payment that does not cover the full amount yet
payment_request.paid
an invoice has been paid in full
payment_request.expired
a payment link reached its expiry time
payment_request.voided
an invoice was voided
exchange.order.status_changed
an eligible API-source exchange order changed status; see Exchange order events
merchant.test
sent by the Send test event button; never retried
Orders paid through a payment link or an invoice carry paymentRequestId in data. The payment_request.* events carry the request instead of an order: paymentRequestId, kind (link or invoice), number, status, currency, amount (null for a link where the customer enters the amount), paidAmount, paidCount, attemptOrderId (the order that triggered the event, if any), clientReferenceId and metadata. A link that reaches its use limit does not emit a request event; the order's acquiring.order.paid is the signal. Events for a request go to the callbackUrl set on that request, or to your account endpoint when it has none. payment_request.* events are sent for live requests only: sandbox payment links and invoices send none.
Exchange order events
exchange.order.status_changed is sent for a newly created API-source exchange order when its stored status actually changes. Website orders and historical orders without API-source attribution do not receive this event. A repeated observation of the same status sends no event. Creating a pending order alone is not a status-change notification.
The event keeps the envelope above, but data is this fixed public snapshot, not the acquiring order object:
new and previous exchange status: pending, processing, completed, expired, failed, reconciliation_required or closed
environment
live or sandbox, fixed by the authenticated key that created the order
fromCurrency, toCurrency
source and destination asset identifiers
fromAmount
source amount, a decimal string with 18 fractional digits
expectedReceiveAmount
expected destination amount, the same fixed-point format or null; it is not proof of the amount actually delivered
No customer addresses, provider details, credentials or order metadata are included. The snapshot is frozen with the status change: retries and manual dead-letter replay keep its original id, time and data, even if the order has since changed again. Events can arrive out of order; use GET /cash/v1/merchant/exchange/orders/{orderId} for the current public order state. A delivery journal outcome such as delivered or failed describes the HTTP delivery, while data.status describes the exchange order; one is not evidence of the other.
Separate live and sandbox configuration
Exchange webhooks use the endpoint URL and signing secret from the same settings version for the order's owner and environment. Sandbox requires an explicit sandbox configuration: it never falls back to your live URL or secret. Live keeps an existing account webhook configuration until you explicitly replace it. Missing or unreadable settings do not permit an unsigned delivery or delivery to another environment.
Configuration is account management with a signed-in session, not merchant Bearer authentication: GET /cash/v1/merchant-settings/webhook?environment=live|sandbox requires settings.view; PUT at the same path requires settings.manage, accepts { "url": "https://your-endpoint.example/webhook", "rotateSecret": false }, and returns url, version, environment and the signing secret to authorized managers. Omitting environment selects live; use ?environment=sandbox explicitly for sandbox. Configure the real HTTPS endpoint before relying on these events.
Signature verification, timeout, backoff, delivery history and manual dead-letter replay are the same as below. A test delivery does not prove that an exchange order completed, and a successful order change does not prove your endpoint received its webhook.
Refund and dispute events
acquiring.order.refund_updated and acquiring.order.dispute_updated report refunds and disputes (chargebacks) of card and other fiat payments. You cannot create a refund through the API: to refund a payment, contact support with the order number and the amount, and the platform issues the refund with the payment provider. What refunds and disputes take from your balance is described in Acquiring API overview → Refunds and disputes.
Which orders: live orders that have been settled to your balance, and only refunds and disputes of the payment credited for the order. A refund or dispute that comes in before the order settles is reported once the order has settled. Sandbox orders never send these events. The order's own status stays settled.
When: one event for each refund or dispute whose status or debitedAmount changed; another report of the same state sends nothing. A refund the platform is still submitting is reported only once the payment provider has accepted it, and a platform refund that never reached the provider sends no event (on the order it shows as failed with failureReason: "not_submitted", and the amount is back in your balance).
A status can change back: a refund can go from succeeded to failed, and a dispute from lost to won; in both cases what was debited for it is returned to your balance.
data is the same order snapshot as in acquiring.order.settled, with status set to settled and the fields described above (payableAmount, quote, confirmedAfterExpiry, inLockEvidence, …), plus:
type
Extra fields in data
acquiring.order.refund_updated
refund: the refund that changed; refundedAmount and pendingRefundAmount: the order's refund totals
`refund` has id, providerRefundId, initiatedBy (platform or external), status, amount, currency, reason, failureReason, debitedAmount, reference, createdAt and updatedAt. status is pending, requires_action, succeeded or failed; a failed refund has a failureReason: the payment provider's reason, canceled, or not_submitted (it never reached the provider).
`dispute` has id, status, amount, currency, reason, evidenceDueBy, respondBy, debitedAmount, createdAt and updatedAt. status is inquiry, open, won, lost or closed.
`respondBy` is the time by which to send your evidence, with the order number, to support: the payment provider's deadline (evidenceDueBy) less 48 hours, which the platform needs to submit it. It is set only while a response is still owed (the dispute is waiting for evidence and the card issuer accepts evidence), otherwise null.
`debitedAmount` is what is debited from your balance for this refund or dispute right now; it can be lower than amount, see the overview.
`refundedAmount` totals the order's succeeded refunds and `pendingRefundAmount` its pending and requires_action refunds, at the time of the event. In webhooks they count only refunds the payment provider has accepted or reported; the order read from the API also counts a refund the platform is still submitting (in pendingRefundAmount), so the two can differ for a short while.
Amounts use 18 decimal places, like every amount in webhooks; the field meanings are listed in Acquiring API overview → Refunds and disputes.
Each event is a snapshot of the moment it was sent, and not every change sends one. For example, once evidence has been submitted respondBy becomes null on the order, but the dispute's status does not change (an open dispute stays open), so no new event is sent and the last acquiring.order.dispute_updated still shows the old respondBy. A retried delivery can also arrive after a newer event. For the latest state, read the order with GET /cash/v1/merchant/checkout/sessions/{orderId}.
Verifying the signature
Every delivery carries X-Cash-Signature: t=<unix seconds>,v1=<hex> where v1 is HMAC-SHA256(secret, "<t>.<raw request body>"). Compute the HMAC over the raw body bytes (not a re-serialised JSON), compare in constant time, and reject timestamps older than a few minutes to block replays.
After rotating the secret in the console, old signatures stop validating immediately — deploy the new secret first, then rotate.
Retries, dead letters and replay
A failed attempt (network error, timeout, non-2xx, redirect) is retried with exponential backoff starting at 60 seconds and capped at one hour, up to 8 attempts. After the last failure the event becomes a dead letter: it appears in the Webhook deliveries list on Developers → Webhooks (/home/developer/webhooks) with a Replay button, which sends it again with the same id. Every attempt is listed there with its outcome, HTTP status and a reason code; payloads and secrets are never shown.