Endpoint

GET /v1/account/order/query

Request Parameters

ParameterTypeRequiredDescription
idStringNoOrder ID returned by the platform.
businessIdStringNoMerchant-defined business ID. Either id or businessId must be provided.
timestampLongYesUNIX timestamp (in milliseconds).

Response Parameters

ParameterTypeRequiredDescription
idStringYesUnique identifier for the order, defined by the platform.
businessIdStringYesMerchant-defined business ID.
redirectUrlStringYesURL to redirect to after payment completion.
amountStringNoPayment amount defined by the merchant (empty for variable-amount orders).
tokenNameStringYesName of the cryptocurrency used for payment, e.g., USDT, BTC.
chainNameStringYesName of the blockchain network, e.g., Ethereum, Bsc.
addressStringYesAddress to receive payment, a blockchain address.
statusStringYesCurrent status of the order.
txHashStringNoBlockchain transaction hash, returned when the user completes payment.
amountActualDoubleNoActual amount paid by the user, returned when the user completes payment.
createdTimeLongYesOrder creation time (UTC).
expiryTimeLongYesOrder expiration time (UTC).

Response Example

{
    "code": 200,
    "msg": "success",
    "timestamp": "1725674596300",
    "data": {
        "id": "587096537146986496",
        "chainName": "Tron",
        "tokenName": "USDT",
        "address": "TKjLDbk7LC9NXzRBCYahKa8pzMHRfahJjn",
        "amount": "200.15",
        "status": "Success",
        "businessId": "Bjxc6666",
        "tag": "",
        "txId": "56a925bb3a90badb770f227e34a61737327e0eded81190e048c23ab6efa8ec9b",
        "blockHigh": 50025541,
        "networkFee": "2",
        "platformFee": "0.15",
        "createdTime": 1729475874520,
        "completeTime": 1729475874520
    }
}