API Interface
Last updated
Last updated
Interface Description: Get a list of TOKENs supported by the system.
Interface Address:/v1/transactions/currency
Request Parameters: None
Field Description
Field | Type | Description |
---|---|---|
Sample Response
Interface Description: Get the current exchange price between TOKEN and fiat currency.
Interface Address: /v1/transactions/amount
Request Parameters
Field Description
Sample Response
Interface Description: Submit a ReelPay payment order and get an acknowledgment message through this interface.
Interface Address: /v1/transactions/pay
Request Parameters
Field Description
Sample Response
Interface Description: Check the order status through this interface.
Interface Address: /v1/transactions
Request Parameters
Field Description
Sample Response
Interface Description: Pending orders are closed through this interface. (Transactions closed by the merchant may result in unavailable payments already finished by the user.)
Interface Address: /v1/transactions/close
Request Parameters
Sample Response
Interface Description: The merchant can refund the payment to the user's address through this interface. (When refunding, the user's address must be actual; the contract address may result in the user not receiving the correct payment.)
Interface Address: /v1/transactions/refund
Request Parameters
Field Description
Sample Response
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
Field | Type | Description |
---|---|---|
currency_id
string
Currency ID
chain
string
Chain
token
string
Token
contract
string
Contract address
protocol
string
Protocol
logo
string
Logo
decimal
int
Decimal
currency_id
string
fiat_name
string
Fiat name (USD)
fiat_amount
string
Fiat amount (1.2)
amount
string
The number of tokens that need to be paid
out_trade_no
string
Merchant Order ID
currency_id
string
Currency ID
fiat_name
string
Fiat name
fiat_amount
string
Fiat amount
trade_no
string
ReelPay order ID
pay_address
string
The temporary payment address for current order,only effectivewithin the order validity period.
time_expire
string
Payment deadline
amount
string
The number of tokens that need to be paid
chain
string
Chain Name
token
string
Token symbol
decimal
int
Token decimal
contract
string
Contract address
trade_no
string
ReelPay order ID
trade_no
string
ReelPay order ID
out_trade_no
string
Merchant Order ID
chain
string
Chain Name
token
string
Token symbol
contract
string
Contract address
protocol
string
Protocol
logo
string
Logo
decimal
int
Token decimal
fiat_name
string
Fiat name (USD)
fiat_amount
string
Fiat amount (1.2)
status
string
trade_no
string
ReelPay order ID
txid
string
TXID transaction on the chain
trade_no
string
ReelPay order ID
fuel
int
GAS fee deduction method「1: merchant 2: user」
merchant_deduction
string
Merchant deduction amount
actual_receipt
string
Actual amount received by the user