Skip to main content

Error Codes

API errors use a standard response envelope:
Business and validation errors usually return HTTP 400. When a method or the payment method behind your service_id is not available, the API returns HTTP 404 with code 1002; a misspelled or unknown method name fails request validation with 9000 instead. Credential-policy denials return HTTP 403 with code 3008. Idempotency-key conflicts return HTTP 409. Rate limits return HTTP 429 with the standard error envelope — code 1000 (Too many requests) with Retry-After-* headers for per-method limits, 3009 for the daily key limit. Internal processing failures (1000, 2001) return HTTP 500, provider interaction failures (7001) return HTTP 502, unavailable routes or dependencies (2002) return HTTP 503, and timeouts (7002) return HTTP 504. Gateway readiness can return a non-envelope HTTP 503 while dependencies are not ready. Strict request validation, including unknown fields and invalid withdrawal data, returns code 9000 with HTTP 400.
Retrying a payment.in or payment.out after a 5xx or a timeout: first query payment.status with the same c_id. If it returns 6010, retry the create with that c_id; if it returns a payment, use it. Creates rejected during processing are stored as failed payments under their c_id, so resending the same c_id returns 6009 — see Idempotency.

Categories

Complete Reference

These codes are returned by the current API.

Reserved codes

The following codes are defined for compatibility but are not returned by the current API. Handle them like any unknown code: log request_id and contact support.

Common Fixes