Deposit errors
Resolve quote, inventory and account-access errors before retrying.
| Code | Recovery |
|---|---|
| QUOTE_EXPIRED / PRICE_CHANGED | Request a fresh quote and obtain acceptance again. Never silently change the agreed amount. |
| RISK_TOO_HIGH / LIQUIDITY_TOO_LOW | The quote item is unsellable; do not submit it. Refresh the quote later if market evidence changes. |
| ITEMS_UNAVAILABLE | Refresh inventory and let the user select eligible items again. |
| INVENTORY_PRIVATE / INVENTORY_UNAVAILABLE / QUOTE_PROCESSING_FAILED (failed quote) | Delivered as failureCode on a failed quote, not as an HTTP error. Resolve inventory visibility or wait for partner inventory recovery, then request a new quote with a new key. |
| 422 INVALID_WEBHOOK_URL | webhookUrl must be a public HTTPS endpoint without credentials. Fix it and retry with a new Idempotency-Key. |
| 409 IDEMPOTENCY_CONFLICT | The same key was sent with different data. Reconcile the original operation instead of bypassing the conflict. |
| 429 RATE_LIMITED | Honor Retry-After and use exponential backoff. |
| 403 DEPOSIT_NOT_CONFIGURED | Deposit access is not configured for this account. Contact support; do not repeatedly retry. |
| 403 USD_CLIENT_REQUIRED (wallet overview and history) | Wallet reads are available only to USD accounts. Contact support instead of retrying. |
| 403 DEPOSIT_NOT_CONFIGURED (transfer) | Deposits are not enabled for this account yet; the transfer had no ledger effect. Contact support instead of retrying. |
| 403 CLIENT_NOT_ELIGIBLE (transfer) | The account is inactive or not a USD account; the transfer had no ledger effect. Contact support instead of retrying. |
| 422 invalid_idempotency_key | Send a UUID Idempotency-Key header. Nothing was created. |
| 409 INSUFFICIENT_FUNDS / BALANCE_OVERFLOW (transfer) | The transfer had no ledger effect. Check the overview and send a corrected transfer with a new Idempotency-Key. |
When the outcome is unknown
Retry the original request with the same idempotency key and payload, or read its existing resource. Keep the same externalId. A network timeout does not prove a trade failed.