Error codes

Every error type this API returns, with its HTTP status.

type is the stable, machine-readable field to branch on. code narrows it further per-endpoint (see each endpoint's own Errors table) — both are safe to parse; message is not.

Statustype
400invalid_request

The request body or query failed validation.

401unauthorized

Missing or invalid Bearer token.

403forbidden

Valid token, but missing the required scope.

404not_found

The resource doesn't exist or doesn't belong to this user.

409conflict

The request conflicts with the resource's current state.

422insufficient_balance

Wallet balance is too low for this operation.

429rate_limited

Too many requests — see Rate limits.

500internal_error

An unexpected server error — safe to retry.