Query Sub-Merchant Account Amount
Introduction
This API is used to query the amount of the sub-merchant settlement account, including the currency and balance information of the pre-settlement account and the settled account.
API Description
Request Method:POST
Request Path:open/api/merchant/account/queryBalances
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 | |
subMerchantNo | N | Y | string | 64 | Sub merchant number |
externalSubMerchantNo | N | Y | string | 32 | External sub merchant number |
Request Example
{
"appId": "TEST000001",
"externalSubMerchantNo": "test_000001",
"sign": "D086471939DB877766D6C54D37DEB6A9B25751984FCD6E9377AD1E2C6C5E7FEC4F666FBFE56A479C1DB20E26920B85AED6753BFDDCD6229B97FAD481FE5574E0"
}
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 Name | Mandatory | Type | Description |
---|---|---|---|
accountFundsType | N | string | CRYPTO or FIAT |
accountCurrency | N | string | Currency unit |
preBalance | N | double | Pre-settlement account balance, e.g., 100.00 |
settlementBalance | N | double | Settlement account balance, e.g., 100.00 |
Response Example
{
"code": "0",
"msg": "success",
"model": {
"accountFundsType": "FAIT",
"accountCurrency": "HKD",
"preBalance": 0,
"settlementBalance": 67.03
},
"traceId": "67e264c1b3b5b161aa5ff4f8fd93583b",
"success": true,
"error": false
}
Updated 10 days ago