Data structure

Currency detail

TIP

CurrencyDetail

NameTypeDescriptionExample
networkstringNetworkExample value: TRXTRC10TRC20TRC721TRC1155ERC20BEP20
chainstringOwned public chainExample value: TRONETHEREUMBSC
codestringCurrency code
currencystringCurrency
nameintegerName
logointegerLOGO
contract_addressintegerContract address
decimalinteger
Accuracy
is_fiatintegerWhether is it a fiat currencyYes 1 No 0
payment_qr_codeintegerWhether to support payment by scanning codeYes 1 No 0
payment_connect_walletintegerWhether to support payment by ConnectWalletYes 1 No 0
payment_tron_linkintegerWhether to support payment by tronlinkYes 1 No 0
min_payment_amountintegerMinimum payment amount
max_payment_amountintegerMaximum payment amount

Transaction detail

TIP

TransactionDetail

NameTypeDescriptionExample
out_trade_nostringMerchant order number
transaction_idstringPlatform order number
trade_statestringTransaction statusEnumeration values: SUCCESS : Payment success ; REFUND: Forward refund; NOTPAY: Unpaid; CLOSED: Closed
descriptionstringOrder description(utf8-mb4)
block_nointegerBlock number, you can also query the block hash through this param
create_timeintegerOrder creation time
block_timeintegerBlock time
expire_timeintegerExpiration time
expire_secondintegerExpiration time remaining ( seconds )
pay_timeintegerPayment time ( only for success )
close_timeintegerOff time
tx_idstringTransaction hash
from_addressstringPayment address
contract_addressstringContract address
to_addressstringFund transfer address
amountintegerTransaction amount
decimalsintegerTransaction amount accuracy
pay_amountintegerAmount actually paid
pay_decimalintegerAmount actually paid accuracy
pay_currencystringActual payment currency
pay_chainstringActual payment public chain: TRON、ETHEREUM、BSC
attachstringAdditional data, returned as-is in the query API and payment notifications, can be used as a custom parameter, in practice only payment completion status is returned to this field.
service_amountintegerService charge
service_amount_currencystringService charge currency
notify_urlintegerCallback address
notify_numintegerNumber of callback notifications0s/15s/30s/3m/10m/20m/30m/60m/3h/6h
notify_statusintegerStatus notification0: Without notice 1: At notice 2: Successful notification 3: Notification failed ( count reached )
statusintegerStatus1: Unpaid 2: Successful payment 3: Forward refund 4: Closed, corresponding with trade_state
currencyobjectPayment currency details
currency.networkstringNetworkExample value:TRXTRC10TRC20TRC721TRC1155ERC20BEP20
currency.chainstringOwned public chainExample value:TRONETHEREUMBSC
currency.codestringCurrency code
currency.currencystringCurrency
currency.namestringName
currency.contract_addressstringContract address
currency.decimalinteger

Notice details

TIP

transactionNotifyDetail

NameTypeDescriptionExample
out_trade_nostringMerchant order number
transaction_idstringPlatform order number
descriptionstringOrder description(utf8-mb4)
block_nointegerBlock number, you can also query the block hash through this param
create_timeintegerOrder creation time
block_timeintegerBlock time
pay_timeintegerPayment time ( only for success )
tx_idstringTransaction hash
from_addressstringPayment address
contract_addressstringContract address
to_addressstringFund transfer address
amountintegerTransaction amount
decimalsintegerTransaction amount accuracy
currencyintegerTransaction amount
pay_amountintegerAmount actually paid
pay_decimalintegerAmount actually paid accuracy
pay_currencystringActual payment currency
pay_chainstringActual payment public chain TRON、ETHEREUM、BSC
attachstringAdditional data, returned as-is in the query API and payment notifications, can be used as a custom parameter, in practice only payment completion status is returned to this field.
handle_statusintegerTreatment Status1: Pending; 2: In progress; 3:Processed; 4:Wait for verificatio
statusintegerStatus1:Unpaid; 2:Successful payment; 3:Forward refund; 4:Closed;
signstringSignature

PayAnother detial

TIP

PayAnotherTransactionDetail

NameTypeDescriptionDescription
out_trade_nostringMerchant order numberExample value: fb72xxxx-xxxx-xxxx-xxxx-xxxx8a7b52cb
transaction_idstringPlatform order numberExample value: e98b30294xxxxxxxxxxxx97a9d9e09ce
trade_statestringTransaction statusExample value: SUCCESSREFUNDNOTPAYCLOSED
descriptionstringOrder descriptionExample value: recharge
block_nointegerBlock numberExample value: 33215220
create_timeintegerOrder creation timeExample value: 1673407302044
block_timeintegerBlock timeExample value: 1673407329000
expire_secondintegerExpiration date ( seconds )Example value: 3600
pay_timeintegerPayment timeExample value: 1673407329000
close_timeintegerOff timeExample value: 1673407329000
tx_idstringTransaction hashExample value: 9fdf0ab5823e23225f93bcc644af30a6ab83b6583a8e29e359ee80219802a33a
from_addressstringPayment addressExample value: TULRFYoFuEmUbxxxxxxxx8nQYFHJ88888
contract_addressstringContract addressExample value: TR7NHqjeKQxGTxxxxxxxxpL8otSzgjLj6t
to_addressstringCollection addressExample value: TQjxEW2Z3p9wjoxxxxxxxxgJUrWXBun91w
amountnumberTransaction amountExample value: 15000000
chainintegerOwned public chainExample value: TRONETHEREUMBSC. View support public chain
decimalsintegerToken accuracyExample value: 6
attachstringSelf-defined parameterReturns as-is in the query API and payment notifications, can be used as a custom parameter, in practice only payment completion status will return this field.
service_amountnumberService chargeExample value: 45000
service_amount_currencystringService chargeExample value: USDT
notify_urlstringCallback addressExample value: https://xxx/xxx
notify_numintegerCallback timesExample value: 1
notify_statusintegerStatus notificationExample value: 0: Without notice 1: At notice 2: Successful notification 3: Notification failed ( count reached )
statusintegerStatusExample value: 1: Unpaid; 2: Successful payment; 3:Forward refund; 4: Closed;
currencyobjectPayment token details
currency.networkstringNetworkExample value:TRXTRC10TRC20TRC721TRC1155ERC20BEP20
currency.chainstringOwned public chainExample value:TRONETHEREUMBSC
currency.codestringCurrency code
currency.currencystringCurrency
currency.namestringName
currency.contract_addressstringContract address
currency.decimalinteger

Wallet detial

TIP

WalletDetail

NameTypeDescriptionDescription
app_idstringApplication IDExample value: 8e4b8c2e7cxxxxxxxx1a1cbd3d59e0bd
mch_idstringMerchant IDExample value: 1234567890
namestringName remarkWallet remark, in monitor wallet mode, it can be used to identify one user one wallet unique information, such as user ID
wallet_addressstringWallet addresExample value: TQjxEW2Z3pxxxxxxxxxxxxgJUrWXVAC92T
create_timeintegerCreation timeExample value: 1673333676
last_timeintegerLast collection timeExample value: 1673333676
Last updated: