merchant-balance-query-v2
Merchant balance query V2
* Endpoint: /api/server/quota
* Method: POST
* Request note: this merchant-level summary interface does not require request parameters.
* Core response fields:
| Field | Type | Description |
|---|---|---|
| code | number | Business status code for the merchant quota query. |
| msg | string | Response message. |
| data.model | string | Wallet model flag returned by the merchant wallet setup. |
| data.<currency> | number | Available balance for the primary currency, such as CNY in the source example. |
| data.costRatio | number | Overall cost ratio returned for the wallet account. |
| data.ratios | array | Per-platform ratio list. |
| data.ratios[].platfrom | string | Platform code from the source payload. |
| data.ratios[].ratio | number | Ratio value for that platform. |
* Response example:
{ "code": 10000, "msg": "request succeeded", "data": { "model": "1", "CNY": 100.1, "costRatio": 1.0, "ratios": [ {"platfrom": "ag", "ratio": 0.09}, {"platfrom": "allbet", "ratio": 0.10}, {"platfrom": "bbin", "ratio": 0.10} ] }
} merchant-balance-query-v2.txt · Last modified: 2025/02/07 20:12 by admin