Talk to usGet started
Errors

Errors

Every error code the API returns, by status, with when it happens and what to do.

Error body
{
  "error": "insufficient_funds",
  "message": "Your wallet available is below this amount. Fund your wallet, then retry.",
  "request_id": "req_a1b2c3"
}

400 Bad request

CodeWhen
invalid_requestA required field is missing or malformed. The message names it.
invalid_amountamount is missing, not a number, or not above zero.
connection_not_foundconnection_id on a checkout names no connected connection on the account.
site_requiredThe account has no stored login for that merchant. Pass start_url, or connect the merchant once in the console.
site_ambiguousThe account has several logins for that merchant. hosts lists them; pass start_url.
agent_requiredThe account has several agents and none was named. Name one in the console.

401 Unauthorized

CodeWhen
missing_api_keyNo Authorization: Bearer header.
invalid_api_keyThe key is unknown or revoked.
expired_api_keyThe key passed its expiry. expired_at says when.

402 Payment required

CodeWhen
insufficient_fundsThe requested cap exceeds the wallet's available.
plan_limitThe plan's cards a month, or per-card cap, is reached. limit carries the figure.
wallet_limitA top-up would take the wallet above its ceiling.
funding_budget_reachedThe account's funding budget for the period is reached.
funding_unavailableTop-ups are paused for the moment. Try later.
funding_refusedA fence refused the top-up for another reason; code carries it.

404 Not found

CodeWhen
card_not_foundNo such card on the account. On DELETE /v1/cards/{id}: no such connected card (an issued card is closed, not removed). On a checkout with own_card_id: no such connected card.
spend_not_foundNo such spend on the account.
checkout_not_foundNo such checkout on the account, including a resume_of that is not yours.
connection_not_foundNo such connection on the account.
account_not_foundThe key's account could not be loaded.
not_foundNo route for the method and path.

409 Conflict

CodeWhen
agent_pausedThe person paused the agent in the console. Resume it there.
busyThe merchant session is running another checkout. Retry shortly with the same idempotency_key.
not_resumableThe resume_of run left nothing in the basket to continue from. Start again.

500 and 502 Upstream

CodeWhen
server_errorAn unexpected failure. Quote the request_id.
checkout_create_failedThe run document could not be created.
card_issue_failed, reveal_failed, close_failed, remove_failed, connect_failedA card step failed upstream; the message says which.
spend_status_failed, wallet_read_failedA read failed upstream.
checkout_start_failed, enqueue_failedThe engine could not be started. On enqueue_failed the body carries the checkout_id that was created and marked error.
connect_start_failed, disconnect_failedA connection step failed. Retry.
funding_session_failed, bank_transfer_failedThe top-up could not be opened or recorded.

503 Unavailable

CodeWhen
own_card_unavailableConnecting a person's own card is not switched on for the account.
unavailableThe engine refused the run for the moment. Try again shortly.