Skip to content

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

ParameterTypeRequiredDescription
customer_idstringYes
currency_idstringYes

Request body

No request body.

Response

FieldTypeDescription
customer_idstring
currency_idstring
balancenumber
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.

Bito 2.0 Integration API