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 | |
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 |
Request Example
{
"appId": "TEST000001",
"subMerchantNo": "test_000001",
"pageNo": "10",
"pageSize": "10",
"type": "IN",
"sign": "FD7892588AA5D16F69140BDBEE20799D6F6FD703E2332E8F9B376223ACC14B15354D6BA2CA3574FA2ED1239D8E474E155C6F99AEED25A8120E5FAFFD4181E434"
}
Description of Response Parameters
Parameter | Type | Details |
---|---|---|
success | boolean | Success |
error | boolean | Error |
code | long | Response code |
msg | string | Response message |
traceId | string | Trace id |
model | object | Response details |
Description of Model Parameters
Parameter | Mandatory | Type | Description |
---|---|---|---|
pageNo | N | int | Page number |
pageSize | N | int | Number of items per page |
sumRow | N | int | Total number of items |
sumPage | N | int | Total number of pages |
lastPage | N | boolean | Whether it is the last page |
data | N | object | Data |
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: |
currency | Y | string | Unit |
type | Y | string | Type |
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
}
Updated 10 days ago