Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.usebila.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Manage your payment wallets and view balances. Use the returned account ID when initiating collections or transfers.

Endpoints

EndpointMethodDescription
/bila/accountsGETList all accounts/wallets
/bila/accounts/{id}GETGet a single account by ID
/bila/accounts/{id}/balanceGETGet account balance

Account Object

{
  "id": "68f11209-451f-4a15-bfcd-d916eb8b09f4",
  "details": {
    "type": "wallet",
    "accountName": "My Business Wallet",
    "tillNumber": "123456"
  },
  "type": "primary",
  "status": "active",
  "createdAt": "2024-01-15T10:30:00Z",
  "currency": "ZMW"
}

Balance Object

{
  "availableBalance": 15000.00,
  "ledgerBalance": 15500.00,
  "currency": "ZMW"
}
Available Balance is the amount you can withdraw or transfer. Ledger Balance includes pending transactions.

Use Cases

Before initiating a transfer, check your available balance to ensure sufficient funds.
If you have multiple wallets, list them all and track balances across your organization.
API Reference
Explore the complete API reference