Errors & limits
Errors always come back as JSON with a stable code.
{
"error": {
"code": "account_frozen",
"message": "This merchant account is frozen. Payments cannot be accepted right now."
}
}
| HTTP | Code | Meaning |
|---|---|---|
| 400 | invalid_json | The body is not a JSON object. |
| 401 | unauthorized, invalid_token | Missing, wrong or revoked token. |
| 403 | account_frozen, account_blocked, merchant_disabled | The account may not accept payments. |
| 404 | not_found | Unknown invoice or endpoint. |
| 409 | invoice_closed, payment_started | The invoice can no longer be changed. |
| 422 | invalid_amount, invalid_currency, fx_unavailable, no_methods, unsupported_method, invalid_url | A field is missing or invalid, or a locked fiat rate is unavailable. |
| 429 | rate_limited | Slow down and retry later. |
| 503 | price_unavailable, payments_paused | Temporary; retry shortly. |
Rate limits
- Merchant API: 120 requests per minute per token; 60 invoice creations per minute.
- Checkout status: 120 requests per minute per IP.
- Sign-in: 8 attempts per 15 minutes per email.