Skip to main content
POST
Create a crypto top-up

Authorizations

Authorization
string
header
default:YOUR_API_KEY
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Idempotency-Key
string

Up to 200 characters. A retry with the same key returns the same top-up.

Maximum string length: 200

Body

application/json
amount
number
required

US dollars to add, at most 2 decimals, at least the method's min_amount.

Required range: 5 <= x <= 10000
Example:

50

method
string
required

A method id from GET /v1/top-ups/methods.

Example:

"usdt-tron"

Response

Retry with an Idempotency-Key already used: the same top-up

object
enum<string>
required
Available options:
top_up
id
string
required
Example:

"tu_k3j9x0q2m8v1c7d5f4h6a2s9w0e3r8t1"

status
enum<string>
required

paid means credited.

Available options:
pending,
confirming,
paid,
underpaid,
expired,
failed,
refunded
amount
number
required

US dollars credited when paid.

Example:

50

method
string
required
Example:

"usdt-tron"

currency
string
required
Example:

"USDT"

network
string
required
Example:

"Tron"

address
string
required

Where to send the coin.

pay_amount
string
required

Exact amount of currency to send.

Example:

"50.12"

created_at
integer
required
bonus
number

Bonus credits added with this top-up, in US dollars.

Example:

0

memo
string | null

Memo or destination tag to include, when the coin needs one.

paid_amount
string | null

Coin received so far.

remaining_amount
string | null

Coin still owed when less than pay_amount arrived.

expires_at
integer | null

Unix seconds. Send before then.

paid_at
integer | null

Unix seconds when credits were added.