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.

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

pageNo

Y

Y

int

12

pageNo

pageSize

Y

Y

int

12

pageSize

subMerchantNo

N

Y

string

64

Sub merchant number

externalSubMerchantNo

N

Y

string

128

External sub merchant number

type

N

Y

string

64

Type
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 Name

Mandatory

Type

Description

subMerchantNo

Y

string

Sub-merchant number

customerPayNum

Y

string

Merchant order number

settlementDate

Y

string

Settlement date

accountFundsType

Y

string

Account funds type:FIAT,CRYPTO

currency

Y

string

Unit

type

Y

string

Type
IN: deposit
WITHDRAW: withdrawal
WITHDRAW_FAIL: withdrawal failed

beforeAmount

Y

double

Amount before this change

amount

Y

string

Amount change

afterAmount

Y

string

Amount after this change

remark

Y

string

Remark

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
}