Skip to Content
Errors & codes

Errors & codes

Response shapes

OperationJSON shape
Create (async or sync)status, response_code, response_message, data
Statusstate, code, message, payload
Liststate, result.items, result.page_info
Wallet balancestate, result.wallets, result.total
Bill validate / packagesstate, result
Bill statusstate, code, message, payload

Transaction codes

On status, outcomes map to code / state:

codestateMeaning
00successSuccessful
01failedFailed
02pendingStill processing

Failed example (status):

{ "state": "failed", "code": "01", "message": "Failed", "payload": { "request_id": "subthingy-req-20260517-001", "internal_reference": "019262ab-7c4d-7000-8000-000000000001" } }

On async create, pending is returned immediately with HTTP 200 (not 202):

{ "status": "pending", "response_code": "02", "response_message": "Pending", "data": { } }

HTTP status codes

StatusWhen
200Success (including async create with pending body)
400Invalid JSON or validation error
401Missing or invalid API key / secret
403Credential cannot access this resource
404Merchant or transaction not found
422Duplicate request reference or missing required field
500Server error — retry with backoff
503Temporary overload (database semaphore) — retry with backoff

Health check

GET /v1/healthz

No authentication required.

Last updated on