Authentication
Network
The API answers only the egress IP addresses we have listed for you. A request from any other address never reaches the application, whatever key it carries. Tell us before your addresses change.
Keys
Authorization: Bearer <your key>
- One key belongs to one tenant and carries an explicit list of scopes.
- A key is shown once. We store a SHA-256 of it and cannot show it again; a lost key is replaced, not recovered.
- An unknown, revoked or expired key, a suspended tenant, and a missing or malformed header all answer
401 unauthorized. They are deliberately indistinguishable. - A scope the key does not hold answers
403 forbidden_scope, anddetail.requirednames the scope.
GET /v1/whoami needs any valid key and no scope. It answers the tenant (with sandbox), the key's prefix, label and scopes, your payout wallets, and your sweep destinations (network, address, state, live_from; retired ones left out). If you hold keys for more than one tenant, check each key here before you use it.
Sandbox tenants
A tenant of yours can be a sandbox tenant, for your test accounts against the production API. Its keys answer tenant.sandbox: true in GET /v1/whoami. Same base URL, same contract: bank accounts, beneficiaries, payouts and USD↔USDT conversions run against the provider's sandbox, and no money in it is real. Paths to a chain answer 403 sandbox_tenant before anything is held: POST /v1/withdrawals, POST /v1/chain-payouts, POST /v1/deposit-addresses (and /derive, /issue), POST /v1/deposit-xpubs, POST /v1/deposit-keys, both sweep-now calls, POST /v1/sweep-destinations, a WALLET account and a coin-to-coin conversion. A user's customer is created in one tenant and stays there.
Scopes
| Scope | Opens |
|---|---|
deposits:read | GET /v1/deposits, GET /v1/deposit-addresses, GET /v1/deposit-xpubs, GET /v1/deposit-sweeps, GET /v1/sweep-destinations, GET /v1/crypto-screenings |
deposits:write | Registering, deriving and retiring addresses and xpubs, watch-now, sweep holds, POST /v1/deposit-keys (also signed) |
deposits:issue | POST /v1/deposit-addresses/issue: addresses whose keys we hold. Granted only by name |
screenings:write | POST /v1/crypto-screenings: have us screen a transfer we do not watch. Read it with deposits:read. Granted only by name |
deposits:sweep | Sweeps paid with energy: both sweep-now calls, POST /v1/sweep-destinations (also signed), and releasing a sweep hold on a TRON address, which on this path needs it instead of deposits:write. Moves money. Granted only by name, to a key of its own |
chain_payouts:write | POST /v1/chain-payouts, always together with a signature |
chain_payouts:read | GET /v1/chain-payouts/{payout_id}, payout estimates |
custodian_funding:write / custodian_funding:read | POST /v1/custodian-fundings (also signed) and its cancel / reading fundings. Moves money. Granted only by name |
custodian_destinations:write / custodian_destinations:read | POST /v1/custodian-destinations (also signed) / GET /v1/custodian-destinations: your pinned custodian address. Granted only by name |
withdrawals:write | POST /v1/withdrawals |
withdrawals:read | Withdrawals, destinations, the withdrawal limit, withdrawal estimates, POST /v1/payments/proof |
quotes:read | GET /v1/currencies, GET /v1/pairs, GET /v1/fees, GET /v1/limits, POST /v1/quotes |
swaps:write / swaps:read | Conversions |
register:read | GET /v1/float, the statement, the register and its summary |
events:read | GET /v1/events |
customers:write / customers:read | Registering your end users and their identity checks; POST /v1/party-requests/reuse and its preview, your verified customer standing as a company's party |
identity:read | GET /v1/customers/{customer_id}/identity: the identity read from a person's documents, kept once they are approved. Granted only by name |
risk:read / risk:write | GET /v1/risk-reviews and POST /v1/customers/{customer_id}/risk-decision: your MLRO's decisions on your companies. Granted only by name |
audit:read | GET /v1/customers/{customer_id}/audit: one of your customers' audit trail, decisions and consents, for a dossier. Granted only by name, to a key of its own |
party_requests:read / party_requests:write | /v1/party-requests/current/...: a company party's own page, by the party's token, and nothing else. Granted only by name, to a key of the page's own |
transfers:*, accounts:* | Fiat transfers and accounts |
beneficiaries:read / beneficiaries:write | A customer's registered bank beneficiaries: requirements, list, register, retire. beneficiaries:write moves money: a beneficiary is where a payout may go |
payouts:read / payouts:write | Payouts to registered beneficiaries: POST /v1/payouts and reading them. payouts:write moves money |
Scopes are granted in bundles, and a job that moves money gets its own key:
| Bundle | Scopes |
|---|---|
deposits | deposits:read, deposits:write, events:read |
chain_payouts | chain_payouts:write, chain_payouts:read, events:read |
withdrawals | withdrawals:read, withdrawals:write, register:read, events:read |
swaps | quotes:read, swaps:read, swaps:write, register:read, events:read |
swaps_for_customers | swaps plus customers:read, customers:write |
banking | customers:read, accounts:read, accounts:write, beneficiaries:read, beneficiaries:write, payouts:read, payouts:write, quotes:read, swaps:read, swaps:write, events:read |
Separate keys are revoked separately: pulling a payout key stops money leaving without stopping the rest of your product.
Rate limits
Per key, on a 60-second sliding window:
| Per minute | |
|---|---|
| Reads | 600 |
Writes (POST, PUT, PATCH, DELETE) | 120 |
Your tenant may carry a lower ceiling agreed at onboarding; it can only tighten these. Over either limit you get 429 rate_limited with a Retry-After header and detail.retry_after_seconds and detail.limit_per_minute. GET /v1/limits returns the numbers applied to your key.
Limits are counted per key, not per address.
Request ids
Every response carries X-Request-Id. Send your own and it is kept, so your logs and ours join on the same value.
Who acted in your own panel
Two optional headers on any call, for an act one of your own staff caused:
X-Acting-Admin: <your admin's id>
X-Origin-Ref: <your own audit record's id>
Each is up to 120 characters: letters, digits and . _ : - +, with @ in X-Acting-Admin and # / in X-Origin-Ref, starting with a letter or digit. They are kept as you sent them in every audit row the call writes (detail.origin.acting_admin, detail.origin.ref), so one act can be followed from your records to ours; they are not checked and change nothing else. A malformed one is 422 validation_failed with the header named in detail, and nothing is done. Leave them out and nothing changes.