Merchant Balance Inquiry
Merchant Balance query
API EndPoint
POST baseUrl
+ /api/getBalance
Request Parameters
Parameter | Required | Type | Example | Description |
---|---|---|---|---|
nonceStr | Y | str(32) | 1863484722378907648 | Random string |
Request Example
shell
curl -L 'baseUrl/api/getBalance' \
-H 'MerchantId: 1002001' \
-H 'Sign: A6FC73F7D22EC8B4A064C8FFCC592CBF' \
-H 'Content-Type: application/json' \
-d '{"nonceStr":"4190026990"}'
Response Parameters
Parameter | Type | Description |
---|---|---|
mchId | string | MerchantId |
balance | decimal(20,2) | Available Balance |
unBalance | decimal(20,2) | Unavailable Balance |
Response Example
json
{
"msg": "SUCCESS",
"code": 200,
"data": {
"mchId": "3002002",
"balance": 133334.0,
"unBalance": 2437828.0
}
}
Payout Bank list query
Payout Bank list query
API EndPoint
POST baseUrl
+ /api/bankListQuery
Request Parameters
Parameter | Required | Type | Example | Description |
---|---|---|---|---|
nonceStr | Y | str(32) | 1863484722378907648 | Random string |
Request Example
shell
curl -L 'baseUrl/api/getBalance' \
-H 'MerchantId: 1002001' \
-H 'Sign: A6FC73F7D22EC8B4A064C8FFCC592CBF' \
-H 'Content-Type: application/json' \
-d '{"nonceStr":"4190026990"}'
Response Parameters
Parameter | Type | Description |
---|---|---|
bankId | int | bankId |
bankCode | str(32) | bankCode |
bankName | str(32) | bankName |
Response Example
json
{
"msg": "SUCCESS",
"code": 200,
"data": [
{
"bankId": 1,
"bankCode": "bankCode",
"bankName": "bankName"
},
{
"bankId": 2,
"bankCode": "bankCode",
"bankName": "bankName"
}
]
}