Payload
The request CashPayment sends to your endpoint.
svix-id*stringMessage ID. Stays the same when a message is retried.
svix-timestamp*stringUnix timestamp in seconds when the message was signed.
svix-signature*stringSpace-separated list of signatures, each v1, followed by a Base64 HMAC-SHA256.
application/json- body
id*stringEvent ID. Retries and manual resends carry the same ID, so use it to skip duplicates.
type*stringEvent type.
"order.paid""order.expired"timestamp*stringWhen the event was created. ISO 8601, UTC.
data*Return any 2xx status within 30 seconds. Any other result is retried.
{ "id": "0b6a3c52-7f0e-4c4e-9d43-5a0f1f4c2e9b", "type": "order.paid", "timestamp": "2026-11-17T12:03:42.000Z", "data": { "id": "12345678-1234-4234-8234-123456789abc", "slug": "onne", "reference": "WC-10234", "amountUsdCents": 1500, "amountSat": 15000, "status": "paid", "createdAt": "2026-11-17T12:00:00.000Z", "expiresAt": "2026-11-17T13:00:00.000Z", "paidAt": "2026-11-17T12:03:41.000Z" }}{ "svix-id": "msg_2pLqV7sM1hYk3fNb0aXcRw9dT4e", "svix-timestamp": "1763380982", "svix-signature": "v1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE="}svix-id*stringMessage ID. Stays the same when a message is retried.
svix-timestamp*stringUnix timestamp in seconds when the message was signed.
svix-signature*stringSpace-separated list of signatures, each v1, followed by a Base64 HMAC-SHA256.
application/json- body
id*stringEvent ID. Retries and manual resends carry the same ID, so use it to skip duplicates.
type*stringEvent type.
"order.paid""order.expired"timestamp*stringWhen the event was created. ISO 8601, UTC.
data*Return any 2xx status within 30 seconds. Any other result is retried.
{ "id": "0b6a3c52-7f0e-4c4e-9d43-5a0f1f4c2e9b", "type": "order.expired", "timestamp": "2026-11-17T13:00:31.000Z", "data": { "id": "12345678-1234-4234-8234-123456789abc", "slug": "onne", "reference": "WC-10234", "amountUsdCents": 1500, "amountSat": 15000, "status": "expired", "createdAt": "2026-11-17T12:00:00.000Z", "expiresAt": "2026-11-17T13:00:00.000Z", "paidAt": null }}{ "svix-id": "msg_2pLqV7sM1hYk3fNb0aXcRw9dT4e", "svix-timestamp": "1763380982", "svix-signature": "v1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE="}