Currency information
Interface address
GET https://api.tokenpay.me/v1/currency/indexInterface parameters
Nothing.
Interface return
Name
Type
Description
Description
code
integer
Service status code. 0: success, non 0: indicate the specific cause reference msg
msg
string
Status service message
Status service message
request_id
string
Request ID
Request ID
Return example
{
"code": 0,
"msg": "ok",
"request_id": "a4b4460f-4e47-4492-848c-ccd25540db2d",
"data": [
{
"network": "BNB",
"chain": "BSC",
"code": "BINANCE_BNB",
"currency": "BNB",
"name": "Binance Coin",
"logo": "https://xxx/binance_busd.png",
"contract_address": "",
"decimal": 18,
"payment_qr_code": 1,
"payment_connect_wallet": 1,
"payment_tron_link": 0,
"min_payment_amount": "0",
"max_payment_amount": "0"
},
{
"network": "BEP20",
"chain": "BSC",
"code": "BINANCE_BUSD",
"currency": "BUSD",
"name": "Binance USD",
"logo": "https://xxx/binance_busd.png",
"contract_address": "0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56",
"decimal": 18,
"payment_qr_code": 1,
"payment_connect_wallet": 1,
"payment_tron_link": 0,
"min_payment_amount": "0",
"max_payment_amount": "0"
}
]
}Example code
Last updated