Währungsinformationen
Schnittstellenadresse (Interface address)
GET https://api.tokenpay.me/v1/currency/indexSchnittstellenparameter (Interface parameters)
Keine.
Schnittstellenrückgabe (Interface return)
Name
Typ
Beschreibung
Beschreibung
code
integer
Dienst-Statuscode. 0: Erfolg, nicht 0: gibt die spezifische Ursache an, siehe msg
msg
string
Status-Dienstnachricht
Status-Dienstnachricht
request_id
string
Anfrage-ID
Anfrage-ID
Rückgabebeispiel (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"
}
]
}Code-Beispiel (Example code)
Zuletzt aktualisiert