For the complete documentation index, see llms.txt. This page is also available as Markdown.

残高照会

ヒント (TIP)

アカウント残高とリアルタイムのステータスを確認します。

インターフェースアドレス (Interface address)

POST https://api.tokenpay.me/v1/merchant/balance

インターフェースパラメーター (Interface parameters)

名前
場所
タイプ
必須
説明

mch_id

body

string

はい

加盟店ID、例の値:12345678

chain

body

string

はい

所属パブリックチェーン、例の値:TRON

currency

body

string

はい

インターフェースの戻り値 (Interface return)

名前

タイプ

説明

説明

code

integer

サービスステータスコード。0:成功、0以外:具体的な原因は msg を参照

msg

string

ステータスサービスメッセージ

ステータスサービスメッセージ

request_id

string

リクエストID

リクエストID

data

array

コンテンツ

戻り値の例 (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
    }
}

コード例 (Example code)

最終更新