Query Sub-Merchant Order List

Introduction

This API support merchant query sub-merchant history order.

API Description

Request Method:POST

Request Path:open/api/order/list

Parameters

Request parameters

Parameter

Mandatory

Sign

Type

Length

Remarks

appId

Y

Y

string

64

AppId is unique for merchant

sign

Y

Y

string

128

Sign
Check on About the sign

subMerchantNo

N

Y

string

64

Sub-merchant number

externalSubMerchantNo

N

Y

string

32

External sub-merchant number

pageNo

Y

Y

int

12

Page No

pageSize

Y

Y

int

12

Page Size

orderStatus

N

Y

string

32

Order status

customerPayNum

N

Y

string

64

Merchant order number

Request Example

{
    "appId": "TEST000001",
    "pageNo": 1,
    "pageSize": 20,
    "subMerchantNo": "300017425425787840220",
    "externalSubMerchantNo": "test_000001",
    "orderStatus": "COMPLETED",
    "sign": "D8499085CC2655AE19C6A68A12DF7EBB1D0822F9F7071042CD3AB7E4D433B7ACFAEF73C5DE4C58BCD5492B763E3B87531A4EE1422554D472F2B0EAAA0E4A90C8"
}

Description of Response Parameters

ParameterTypeDetails
successbooleanSuccess
errorbooleanError
codelongResponse code
msgstringResponse message
traceIdstringTrace id
modelobjectResponse details

Description of Model Parameters

ParameterMandatoryTypeDescription
pageNoNintPage number
pageSizeNintNumber of items per page
sumRowNintTotal number of items
sumPageNintTotal number of pages
lastPageNbooleanWhether it is the last page
dataNobjectData

Data Parameter

Parameter NameMandatoryTypeDescription
subMerchantNoYstringSub-merchant number
orderNumYstringOrder number
customerPayNumYstringMerchant order number
payNoYstringPayment number
currencyTypeYstringOrder currency type (FAIT/CRYPTO)
orderAmountYdoubleOrder amount
orderCurrencyYstringOrder currency
networkYstringNetwork
userIdYstringUser ID
createTimeYstringOrder creation time
payTypeYstringPayment method
cryptoCurrencyNstringCryptocurrency unit
cryptoVolumeNdoubleCryptocurrency amount
settlementAmountNdoubleSettlement amount
settlementCurrencyNstringSettlement currency
payCryptoVolumeNdoublePaid cryptocurrency amount
payCryptoCurrencyNstringPaid cryptocurrency unit
feeNdoubleTransaction fee
statusYstringOrder status
remarkNstringRemark
failReasonNstringFailure reason

Response Example

{
    "code": "0",
    "msg": "success",
    "model": {
        "pageNo": 1,
        "pageSize": 20,
        "sumRow": 2,
        "data": [
            {
                "subMerchantNo": "300017425425787840220",
                "externalSubMerchantNo": null,
                "orderNum": "300217428049183390284",
                "customerPayNum": "17428049140000",
                "payNum": "300317428049342220151",
                "currencyType": "FAIT",
                "orderAmount": 7,
                "orderCurrency": "USD",
                "network": "XLM",
                "userId": "[email protected]",
                "createTime": "2025-03-24 16:28:38",
                "payType": "WALLET",
                "cryptoCurrency": "XLM",
                "cryptoVolume": 26.67682927,
                "settlementAmount": 58.72,
                "settlementCurrency": "HKD",
                "payCryptoVolume": 26.6768293,
                "payCryptoCurrency": "XLM",
                "fee": 0.077,
                "status": "COMPLETED",
                "remark": null,
                "failReason": "Your actural payment amount exceeds the order amount"
            },
            {
                "subMerchantNo": "300017425425787840220",
                "externalSubMerchantNo": null,
                "orderNum": "300217425431084470250",
                "customerPayNum": "17425431050000",
                "payNum": "300317425431217630134",
                "currencyType": "FAIT",
                "orderAmount": 1,
                "orderCurrency": "USD",
                "network": "BSC",
                "userId": "[email protected]",
                "createTime": "2025-03-21 15:45:08",
                "payType": "WALLET",
                "cryptoCurrency": "USDT",
                "cryptoVolume": 1.1,
                "settlementAmount": 8.31,
                "settlementCurrency": "HKD",
                "payCryptoVolume": 1.1,
                "payCryptoCurrency": "USDT",
                "fee": 0.011,
                "status": "COMPLETED",
                "remark": null,
                "failReason": null
            }
        ],
        "sumPage": 1,
        "startIndex": 0,
        "lastPage": true
    },
    "traceId": "67e263c9bf6473ab7aa09ef4be4c5469",
    "success": true,
    "error": false
}