Balance
INFO
Every response arrives in the shared envelope — code, message, messages, status_code, time — with the payload in data. The tables below describe what is inside data.
GET /balance/get-by-customer
Get the current balance of a customer in a specific currency. Used by chat bots and external dashboards.
Query parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
customer_id | string | Yes | |
currency_id | string | Yes |
Request body
No request body.
Response
| Field | Type | Description |
|---|---|---|
customer_id | string | |
currency_id | string | |
balance | number |
json
{
"code": 0,
"message": "Success",
"status_code": 200,
"data": {
"customer_id": "string",
"currency_id": "string",
"balance": 125000.5
},
"time": "2025-05-01T12:00:00Z"
}This page is generated from the OpenAPI spec.