मुख्य सामग्री पर जाएँ

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

typeHTTPMeaning
authentication_error401Missing/invalid/revoked key or session
permission_error403Valid credentials, not allowed (wrong key kind, role, suspended account)
invalid_request_error400 / 404 / 409 / 422Bad params, not found, conflicts, business rule failures
rate_limit_error429Too many requests
api_error500 / 502 / 503Our side; safe to retry with the same Idempotency-Key

Codes

codeHTTPWhen
invalid_request400Malformed JSON, unknown field, wrong type
parameter_missing400Required field missing (param set)
amount_invalid400Not a positive decimal string / too many decimals
currency_unsupported400Unknown fiat or coin
url_invalid400Not https / private address
address_invalid400Wallet address fails the chain's format/checksum
upload_invalid400File type not allowed or file unreadable
setting_invalid400Admin setting value fails validation
authentication_required401No credentials sent, or wrong email/password/2FA code
session_invalid401Panel session missing or expired — log in again
signature_invalid401Webhook signature check failed
refresh_token_invalid401App refresh token unknown, expired or revoked — log in again
session_revoked401App session signed out (logout, revoke, or refresh-token reuse)
api_key_invalid401Key not found or revoked
api_key_expired401Rolled key past overlap
key_kind_not_allowed403Publishable key used on a secret-key endpoint
account_suspended403Merchant suspended/banned
email_not_verified403Panel: verify your email before adding wallets, API apps or payment links
forbidden403Not allowed for your role, or feature switched off
csrf_failed403Panel request without our Origin + X-Requested-With header
provider_writes_disabled403Provider address changes are blocked in this environment (self-hosters: see OPS)
resource_missing404Id not found in this mode
idempotency_key_reused409Same key, different body
idempotency_key_in_progress409Same key, first request still running
payment_not_cancellable409Not pending or funds already detected
payment_not_quotable409Payment closed or transfer detected
amount_slots_exhausted409No unique amount slot free for that address/coin now; try another coin
link_inactive409Payment link disabled, expired or completed
conflict409Resource already exists (e.g. email already registered)
payload_too_large413Body or file too large
unsupported_media_type415Unsupported Content-Type
no_payment_method_available422No active wallet + enabled coin for the request
method_not_available422Chosen chain/coin not allowed for this payment
amount_out_of_range422Below coin minimum or outside link min/max
subscription_inactive402Live payments need an active plan or trial
plan_limit_reached402Monthly payment/app/link limit of plan reached
app_update_required426Android app version too old (App API)
rate_limited429See Retry-After
rates_unavailable503No fresh price for fiat conversion; retry
internal_error500Unexpected; we are alerted
service_unavailable503Maintenance mode or dependency down

New codes may be added; handle unknown codes by type.