Skip to main content

查询商户账户余额

查询商户账户余额

Request#

POST

/gateway/account

Parameter#

application/json

FieldTypeDescription
merchantCodestring [5..50] charactersUnique merchant code
dateTimestring <date-time>format yyyyMMddHHmmss
appIdstring NullableApplication ID. Merchants can create their own applications according to the business. This field is optional.
signstring <=512 charactersEncrypted parameters.

Request Example#

{
"merchantCode": "S2020198627344",
"dateTime": "20190824141522",
"appId": "4023123456",
"sign": "MIGfMA0GCSqGSI...w1ypbiy7VhIoFJbgSYSSHdC"
}

Response#

Success#

200 application/json

FieldTypeDescription
platRespCodestringresult code: "SUCCESS" "FAIL" "UNKNOWN" "NOTEXIST" "ERROR"
platRespMessagestringdescription of resp code
balancenumber <int64>Balance of merchant account.
freezenumber <int64>Amount in freezen.
pendMoneynumber <int64>money in process(unfreezing or freezing)
platSignstringEncrypted response data

Response Example#

{
"platRespCode": "SUCCESS",
"platRespMessage": "success",
"balance": 10000,
"freeze": 3000,
"pendMoney": 3000,
"platSign": "MIGfMA0GCSqGSI...w1ypbiy7VhIoFJbgSYSSHdC"
}