Accounts
Get account by ID
Retrieve a single account by its UUID
get/api/v1/bila/accounts/{id}
Path parameters
idstring required
Example:68f11209-451f-4a15-bfcd-d916eb8b09f4
Account UUID
Response
Account retrieved successfully
Example response
{
"status": true,
"message": "Operation completed successfully",
"data": {
"id": "68f11209-451f-4a15-bfcd-d916eb8b09f4",
"type": "main",
"status": "active",
"currency": "ZMW",
"createdAt": "2024-01-15T10:30:00Z",
"details": {
"type": "bank-account",
"accountName": "John Doe",
"tillNumber": "123456"
},
"availableBalance": "1500.00",
"ledgerBalance": "1500.00"
}
}