get
https://api.lirium-sandbox.com/v1/customers//accounts
Retrieve customer account balances
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Retrieve the customer's per-currency account balances.
Request
GET /customers/{customer_id}/accounts
Example Response
{
"accounts": [
{
"currency": "BTC",
"amount": "0.01525300",
"available_amount": "0.01525300"
}
]
}Response Fields
| Field | Type | Description |
|---|---|---|
| currency | string | Currency code |
| amount | string | Current balance for the currency |
| available_amount | string | Amount available to spend, computed as amount plus any configured overdraft for the account. Equals amount when no overdraft is configured. |
Notes
- All amounts are returned as strings to preserve decimal precision.
available_amountmay exceedamountwhen an overdraft is configured for the account, and may differ fromamounteven when the balance is negative.
