查询账号余额
开发中
GET
/api/merchant/balance
请求参数
Query 参数
key
string
商户key
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/merchant/balance?key'
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
sn
string
商户编码
name
string
商户名称
status
integer
必需
balance
string
具体余额
authorized_amounts
string
授信额度
示例
{
"code": 200,
"data":{
sn: "00000011",
name: "测试公司2",
status: 1,
balance: "638.400",
authorized_amounts: "1000"
}
}