Safe Testing for Invoice Flows
Use sandbox mode to simulate statuses and verify your integration before production.
Test full invoice lifecycle without real external gateway actions.
Use sandbox mode to simulate statuses and verify your integration before production.
sandbox.SBOX-.Endpoint:
POST /api/client/sandbox/invoices/{reference}/simulate
Body:
{
"status": "paid"
}
Allowed status values: pending, paid, failed.
POST /api/client/invoices
GET /api/client/invoices/{reference}/status
POST /api/client/invoices/{reference}/refund (invoice must be paid)
POST /api/client/invoices/{reference}/cancel (invoice must be paid)
POST /api/client/invoices/{reference}/refresh
paid.