Allways Access / Developersv1Get your API key
Reference

Errors

Every non-2xx body has {code,message} plus the fields below. code is stable; message may change. Route pages list which status carries each code.

Codes

HTTPcodeExtra fields
400validationfield
400invalid_pair, invalid_amount, tx_not_found, wrong_reservation—
401unauthorized—
401invalid_widget_key—
402insufficient_balancebalance, cost, depositAddress
403geo_blocked, sanctioned, captcha_failed—
404not_found—
409seat_takenretryAfter
409rate_below_floortoAmount, floor
409price_changedfromAmount, toAmount
409not_awaiting_deposit—
422amount_too_low, amount_too_high, no_liquidityminFromAmount, maxFromAmount
422reserve_rejectedreason
429rate_limitedretryAfter; Retry-After header
500internal_error—
503widget_unavailable—
503checkout_unavailable—
503network_paused—

invalid_widget_key and captcha_failed also protect checkout. widget_unavailable comes only from the exchange widget; checkout uses checkout_unavailable.

500 internal_error: retry after 30 seconds. If it persists for 10 minutes the service is down; stop and report it.

Example

409 seat_taken

Responsejson
{
  "code": "seat_taken",
  "message": "every rate inside your slippage band is taken — retry in 14 s",
  "retryAfter": 14
}