Crypto top-ups
Add credits to your account with crypto, without opening the console. You create a top-up for an amount in US dollars. The response gives you an address and the exact amount of coin to send. Once the network confirms the transfer, the credits are added to the account that owns the API key.GET /v1/top-ups/methodslists the coins and networks you can pay with right now, and the minimum for each.POST /v1/top-upswithamountandmethodreturnsaddress,pay_amountandexpires_at.- Send exactly
pay_amountof that coin, on that network, toaddress, beforeexpires_at. - Poll
GET /v1/top-ups/{id}untilstatusispaid. Apaidtop-up has been credited:GET /v1/creditsalready includes it.
List methods
Method ids are stable, but which ones are listed can change. Possible ids:
usdt-tron, usdt-ethereum, usdt-bsc, usdt-polygon, usdt-solana,
usdc-ethereum, usdc-base, usdc-polygon, usdc-solana, usdc-bsc, btc,
eth, xmr, ltc, sol, trx. Read the list before creating a top-up
rather than hard-coding one.
Create a top-up
Send an optional
Idempotency-Key header (up to 200 characters) to retry
safely. A retry with the same key returns the same top-up and the same address
instead of opening a new one. Reusing the key with a different amount or
method returns 409 idempotency_conflict.
The response is 201 with a top-up object, or 200 for a
retry with an Idempotency-Key that was already used.
Check a top-up
status. A
top-up can be read with any key of the account that created it. Polling every
10 to 30 seconds is plenty: the state is refreshed from the payment network at
most every 10 seconds.
The top-up object
Statuses
Exchanges often take a withdrawal fee from the amount you send. Make sure
pay_amount is what arrives, after fees, or the top-up can end underpaid.
Notes
- Credits go to the account that owns the key. A workspace member’s key tops up the workspace owner’s account.
- First-deposit and deposit bonuses apply to API top-ups as they do in the console.
bonusshows what was added. - An account can have up to 20 unpaid top-ups opened in the last 24 hours.
- Plans and card payments are not available through this API. Use the console for those.
Errors
Errors use the standard error shape.