Errors

Errors use standard HTTP status codes and a JSON body:

json
{ "error": { "type": "bad_request", "message": "payment_amount must not be less than 1" } }

type is one of bad_request, unauthorized, forbidden, not_found, conflict and internal_server_error; message is for people — don't parse it.

HTTP statusMeaningWhat to do
400The request is invalid: a field is missing or has a wrong format, or the amount is out of range.Fix the request; message names the problem.
401The API key is missing, wrong or revoked.Check the x-api-key header.
403The request comes from an IP address that is not allowed, or the action is not allowed for your account.Check Allowed IP addresses.
404The payment does not exist (or, for top-ups, there is no deposit address on the network yet).Check merchant_order_id; for top-ups see Top up API errors.
409A payment with this merchant_order_id already exists, a payout cannot be made right now, or crypto top-ups are not available (code says why).Use a new order ID; for payouts see Payouts API errors, for top-ups Top up API errors.
422A payout exceeds one of your limits (code payout_limit_exceeded, the limit in extra).See Payouts API errors.
429Too many requests, or a deposit address was checked less than a minute ago (deposit_check_too_often).Retry later with back-off.
5xxTemporary problem on our side.Retry with back-off; contact support if it persists.