API reference
Errors
JSON
{ "error": { "type": "…", "code": "…", "message": "…", "param": "…", "request_id": "req_…", "doc_url": "…" } }type— broad class (below).code— stable, machine-readable; switch on this.message— human-readable English; may change.param— the field at fault, if any.- Never contains stack traces or internal details.
Types
| type | HTTP | Meaning |
|---|---|---|
authentication_error | 401 | Missing/invalid/revoked key or session |
permission_error | 403 | Valid credentials, not allowed (wrong key kind, role, suspended account) |
invalid_request_error | 400 / 404 / 409 / 422 | Bad params, not found, conflicts, business rule failures |
rate_limit_error | 429 | Too many requests |
api_error | 500 / 502 / 503 | Our side; safe to retry with the same Idempotency-Key |
Codes
| code | HTTP | When |
|---|---|---|
invalid_request | 400 | Malformed JSON, unknown field, wrong type |
parameter_missing | 400 | Required field missing (param set) |
amount_invalid | 400 | Not a positive decimal string / too many decimals |
currency_unsupported | 400 | Unknown fiat or coin |
url_invalid | 400 | Not https / private address |
address_invalid | 400 | Wallet address fails the chain's format/checksum |
upload_invalid | 400 | File type not allowed or file unreadable |
setting_invalid | 400 | Admin setting value fails validation |
authentication_required | 401 | No credentials sent, or wrong email/password/2FA code |
session_invalid | 401 | Panel session missing or expired — log in again |
signature_invalid | 401 | Webhook signature check failed |
refresh_token_invalid | 401 | App refresh token unknown, expired or revoked — log in again |
session_revoked | 401 | App session signed out (logout, revoke, or refresh-token reuse) |
api_key_invalid | 401 | Key not found or revoked |
api_key_expired | 401 | Rolled key past overlap |
key_kind_not_allowed | 403 | Publishable key used on a secret-key endpoint |
account_suspended | 403 | Merchant suspended/banned |
email_not_verified | 403 | Panel: verify your email before adding wallets, API apps or payment links |
forbidden | 403 | Not allowed for your role, or feature switched off |
csrf_failed | 403 | Panel request without our Origin + X-Requested-With header |
provider_writes_disabled | 403 | Provider address changes are blocked in this environment (self-hosters: see OPS) |
resource_missing | 404 | Id not found in this mode |
idempotency_key_reused | 409 | Same key, different body |
idempotency_key_in_progress | 409 | Same key, first request still running |
payment_not_cancellable | 409 | Not pending or funds already detected |
payment_not_quotable | 409 | Payment closed or transfer detected |
amount_slots_exhausted | 409 | No unique amount slot free for that address/coin now; try another coin |
link_inactive | 409 | Payment link disabled, expired or completed |
conflict | 409 | Resource already exists (e.g. email already registered) |
payload_too_large | 413 | Body or file too large |
unsupported_media_type | 415 | Unsupported Content-Type |
no_payment_method_available | 422 | No active wallet + enabled coin for the request |
method_not_available | 422 | Chosen chain/coin not allowed for this payment |
amount_out_of_range | 422 | Below coin minimum or outside link min/max |
subscription_inactive | 402 | Live payments need an active plan or trial |
plan_limit_reached | 402 | Monthly payment/app/link limit of plan reached |
app_update_required | 426 | Android app version too old (App API) |
rate_limited | 429 | See Retry-After |
rates_unavailable | 503 | No fresh price for fiat conversion; retry |
internal_error | 500 | Unexpected; we are alerted |
service_unavailable | 503 | Maintenance mode or dependency down |
New codes may be added; handle unknown codes by type.