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

통화, 예시 값: TRX. 지원되는 통화 보기

인터페이스 반환 (Interface return)

이름

유형

설명

설명

code

integer

서비스 상태 코드. 0: 성공, 0이 아님: 구체적인 원인은 msg 참조

msg

string

상태 서비스 메시지

상태 서비스 메시지

request_id

string

요청 ID

요청 ID

반환 예시 (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)

마지막 업데이트