商户余额查询
请求地址
http POST https://DOMAIN/octopus/api/ledger/get_merchant_ledger
基本参数
参数名称 | 类型 | 是否必须 | 描述 | 格式/示例 |
---|---|---|---|---|
merchant_uid | string | 是 | 商户UID | 联系管理员获得 |
签名参数增加header
参数名称 | 类型 | 是否必须 | 描述 | 格式/示例 |
---|---|---|---|---|
Content-Type | string | 是 | application/json | |
OC-Key | string | 是 | 请客服提供 | |
OC-Signature | string | 是 | 通过计算获取 |
响应数据示例
{"result":"success","data":{
"merchant_name":"我是一个商户",
"cny":"3000.000000",
"usd":"0.000000",
"thb":"0.000000",
"vnd":"0.000000",
"php":"327757.283800",
"sgd":"0.000000",
"idr":"0.000000",
"bdt":"1243.799289",
"twd":"995.200000",
"brl":"0.000000",
"mxn":"0.000000"}}