Getting Started
Ledger Balances
Transactions
Identities
Get Balance
GET
/
balances
/
{id}
Copy
curl --request GET \
--url http://localhost:5001/balances/{id}
Copy
{
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"balance": 300,
"credit_balance": 300,
"debit_balance": 0,
"currency": "NGN",
"currency_multiplier": 1,
"ledger_id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
"identity_id": "",
"ledger": {
"id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
"name": "Customer wallets Ledger",
"created_at": "2024-02-20T05:28:03.563132Z"
},
"created_at": "2024-02-20T05:33:01.3116Z",
"meta_data": null
}
Path Parameters
Example:
"bln_0be360ca-86fe-457d-be43-daa3f966d8f0"
Query Parameters
Example:
"ledger"
Response
200 - application/json; charset=utf-8
OK
The response is of type object
.
Was this page helpful?
Copy
curl --request GET \
--url http://localhost:5001/balances/{id}
Copy
{
"balance_id": "bln_0be360ca-86fe-457d-be43-daa3f966d8f0",
"balance": 300,
"credit_balance": 300,
"debit_balance": 0,
"currency": "NGN",
"currency_multiplier": 1,
"ledger_id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
"identity_id": "",
"ledger": {
"id": "ldg_073f7ffe-9dfd-42ce-aa50-d1dca1788adc",
"name": "Customer wallets Ledger",
"created_at": "2024-02-20T05:28:03.563132Z"
},
"created_at": "2024-02-20T05:33:01.3116Z",
"meta_data": null
}
Assistant
Responses are generated using AI and may contain mistakes.