Kontostandsabfrage
Schnittstellenadresse (Interface address)
POST https://api.tokenpay.me/v1/merchant/balanceSchnittstellenparameter (Interface parameters)
Name
Standort
Typ
Erforderlich
Beschreibung
mch_id
body
string
Ja
Händler-ID, Beispielwert:12345678
chain
body
string
Ja
Zugehörige öffentliche Blockchain, Beispielwert: TRON
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": "08250916-a677-4a36-a090-323807ac644c",
"data": {
"merchant_id": 167,
"mch_id": "12345678",
"network": "TRC20",
"chain": "TRON",
"balance": "54670000",
"currency": "USDT",
"decimal": 6,
"create_time": 1724237814113,
"modify_time": 1724239248394,
"cash_time": 0
}
}Code-Beispiel (Example code)
Zuletzt aktualisiert