Skip to main content
Every error the API returns uses the same response shape, so you can handle failures with a single code path. Match on the code field to decide what to do next, and keep the requestId for support requests. The catalog below covers the most common codes and is not exhaustive, so handle unknown codes gracefully.

Error response

ErrorResponse
Example
Handle errors by code and not by message. The message is subject to changes. On any 5xx response the message is always "An unexpected error occurred.", while the code stays specific.

Validation errors

When the request body fails validation, the response is a 400 with code VALIDATION_ERROR and one entry per invalid field in validationErrors.
Response

Error codes

General

Customers

Accounts

Destinations

Transactions

Exchange rates

Autoconversion

Partner fees

Idempotency

Service availability

Didn’t find what you need? Let us know.