Error envelope
request_id— include this when contacting supporterror.code— machine-readable; safe to switch onerror.message— human-readable; do not parse
HTTP status codes
Payout error codes
Returned bysendPayoutRequest and getPayoutStatus.
422 — business rule codes
These represent rules the request violated, not syntax errors.404 — no_route
The country, currency and payment method combination is not enabled on your account. Contact support to have the corridor added.Payin error codes
Returned by the two gateway payment endpoints.422 — business rule codes
409 — state conflicts
503 — pricing_unavailable
Fees could not be quoted just now. Retry shortly; nothing was created.A payment reference that belongs to another merchant returns
not_found, exactly as one that
never existed does. The endpoint never confirms that someone else’s order exists.Retrying
Use
idempotency_key on sendPayoutRequest so a retry after a network error does not accidentally create a duplicate transaction.