Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

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

Body

application/json
amount
string
required
Pattern: ^-?\d+(\.\d{1,6})?$
Example:

"125.500000"

network
enum<string>
required
Available options:
TON,
BSC,
ETH,
BTC,
TRX,
SOL

Response

Success

paymentId
string<uuid>
required
provider
enum<string>
required
Available options:
XROCKET
network
string
required
status
enum<string>
required
Available options:
CREATING,
PENDING,
COMPLETED,
FAILED,
EXPIRED
amount
string
required
Pattern: ^-?\d+(\.\d{1,6})?$
Example:

"125.500000"

currency
string
required
createdAt
string<date-time>
required
depositAddress
string | null
depositMinAmount
string | null
depositExpiresAt
string<date-time> | null
externalId
string | null
invoiceUrl
string | null
transactionId
string | null
fromAddress
string | null
serviceFee
string | null
Pattern: ^-?\d+(\.\d{1,6})?$
Example:

"125.500000"

creditsCredited
string | null
Pattern: ^-?\d+(\.\d{1,6})?$
Example:

"125.500000"

failureReason
string | null
completedAt
string<date-time> | null