Skip to Content

Payload

The request CashPayment sends to your endpoint.

Order paid

Header Parameters

svix-id*string

Message ID. Stays the same when a message is retried.

svix-timestamp*string

Unix timestamp in seconds when the message was signed.

svix-signature*string

Space-separated list of signatures, each v1, followed by a Base64 HMAC-SHA256.

Request Body

application/json
  1. body
id*string

Event ID. Retries and manual resends carry the same ID, so use it to skip duplicates.

type*string

Event type.

Value in"order.paid""order.expired"
timestamp*string

When the event was created. ISO 8601, UTC.

data*

Response Body

Return any 2xx status within 30 seconds. Any other result is retried.

Example Requests
POST/order.paid
Request Body
application/json
{  "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"  }}
Header Parameters
{  "svix-id": "msg_2pLqV7sM1hYk3fNb0aXcRw9dT4e",  "svix-timestamp": "1763380982",  "svix-signature": "v1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE="}

Order expired

Header Parameters

svix-id*string

Message ID. Stays the same when a message is retried.

svix-timestamp*string

Unix timestamp in seconds when the message was signed.

svix-signature*string

Space-separated list of signatures, each v1, followed by a Base64 HMAC-SHA256.

Request Body

application/json
  1. body
id*string

Event ID. Retries and manual resends carry the same ID, so use it to skip duplicates.

type*string

Event type.

Value in"order.paid""order.expired"
timestamp*string

When the event was created. ISO 8601, UTC.

data*

Response Body

Return any 2xx status within 30 seconds. Any other result is retried.

Example Requests
POST/order.expired
Request Body
application/json
{  "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  }}
Header Parameters
{  "svix-id": "msg_2pLqV7sM1hYk3fNb0aXcRw9dT4e",  "svix-timestamp": "1763380982",  "svix-signature": "v1,g0hM9SsE+OTPJTGt/tmIKtSyZlE3uFJELVlNIOLJ1OE="}