Query Sub-Merchant Account Funds Record

Introduction

This API allows querying the fund transaction records of a sub-merchant’s settlement account.

API Description

Request Method:POST

Request Path:open/api/merchant/account/changeList

Parameters

Request parameters

subMerchantNo and externalSubMerchantNo must send one.

ParameterMandatorySignTypeLengthRemarks
appIdYYstring64AppId is unique for merchant
signYYstring128Sign
Check on About the sign
pageNoYYint12pageNo
pageSizeYYint12pageSize
subMerchantNoNYstring64Sub merchant number
externalSubMerchantNoNYstring128External sub merchant number
typeNYstring64Type
IN: deposit
WITHDRAW: withdrawal
WITHDRAW_FAIL: withdrawal failed

Request Example

{
    "appId": "TEST000001",
    "subMerchantNo": "test_000001",
    "pageNo": "10",
    "pageSize": "10",
    "type": "IN",
    "sign": "FD7892588AA5D16F69140BDBEE20799D6F6FD703E2332E8F9B376223ACC14B15354D6BA2CA3574FA2ED1239D8E474E155C6F99AEED25A8120E5FAFFD4181E434"
}

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
customerPayNumYstringMerchant order number
settlementDateYstringSettlement date
accountFundsTypeYstringAccount funds type:FIAT,CRYPTO
currencyYstringUnit
typeYstringType
IN: deposit
WITHDRAW: withdrawal
WITHDRAW_FAIL: withdrawal failed
beforeAmountYdoubleAmount before this change
amountYstringAmount change
afterAmountYstringAmount after this change
remarkYstringRemark

Response Example

{
    "code": "0",
    "msg": "success",
    "model": {
        "pageNo": 1,
        "pageSize": 10,
        "sumRow": 1,
        "data": [
            {
                "merchantNo": "300017424680010520173",
                "subMerchantNo": "300017424680010520173",
                "externalSubMerchantNo": null,
                "customPayNum": "17412548580000",
                "settlementDate": null,
                "accountFundsType": null,
                "currency": "HKD",
                "type": "IN",
                "beforeAmount": 0,
                "amount": null,
                "afterAmount": null,
                "remark": null
            }
        ],
        "sumPage": 1,
        "startIndex": 0,
        "lastPage": true
    },
    "traceId": "67e2663ec9d42df962cfe711ce3ddb2a",
    "success": true,
    "error": false
}

Did this page help you?