curl -X POST "$CATCHBACK_BASE_URL/api/partner/v2/sandbox/payments/sbx_pi_01JD..." \
-H "Authorization: Bearer $CATCHBACK_KEY" \
-H "Content-Type: application/json" \
-d '{ "amount": 25 }'
{ "paid": true, "kind": "order", "status": "paid", "order_status": "paid", "webhooks": { "delivered": 1, "retrying": 0 } }
{ "paid": true, "kind": "shipment", "status": "ready", "shipment_status": "ready", "webhooks": { "delivered": 1, "retrying": 0 } }
Sandbox
Simulate a payment
Sandbox only: pay an order’s or a shipment’s sandbox Payment Intent, exactly as a settled payment would.
POST
/
api
/
partner
/
v2
/
sandbox
/
payments
/
{intentId}
curl -X POST "$CATCHBACK_BASE_URL/api/partner/v2/sandbox/payments/sbx_pi_01JD..." \
-H "Authorization: Bearer $CATCHBACK_KEY" \
-H "Content-Type: application/json" \
-d '{ "amount": 25 }'
{ "paid": true, "kind": "order", "status": "paid", "order_status": "paid", "webhooks": { "delivered": 1, "retrying": 0 } }
{ "paid": true, "kind": "shipment", "status": "ready", "shipment_status": "ready", "webhooks": { "delivered": 1, "retrying": 0 } }
Scope:
nft:orders · Sandbox only: 404 outside the sandbox
Pays an order’s, a multi-pack order’s, a shipment’s or a multi-token shipment’s sandbox intent, exactly as a settled payment would. Paying twice changes nothing. It also delivers any webhooks the payment produced.
Dollars paid. Default: the full amount. Send less to test the 1% tolerance and an
underpaid refund.Response
The order’s status (the multi-pack order’s status for one), or the shipment’s, after the payment.
Errors
| Status | Code | When |
|---|---|---|
404 | UNKNOWN_PAYMENT | No such payment in your program |
404 | Not the sandbox |
curl -X POST "$CATCHBACK_BASE_URL/api/partner/v2/sandbox/payments/sbx_pi_01JD..." \
-H "Authorization: Bearer $CATCHBACK_KEY" \
-H "Content-Type: application/json" \
-d '{ "amount": 25 }'
{ "paid": true, "kind": "order", "status": "paid", "order_status": "paid", "webhooks": { "delivered": 1, "retrying": 0 } }
{ "paid": true, "kind": "shipment", "status": "ready", "shipment_status": "ready", "webhooks": { "delivered": 1, "retrying": 0 } }

