Collections
Get collection by ID
Retrieve a single collection by its UUID
get/api/v1/bila/collections/{id}
Path parameters
idstring required
Example:68f11209-451f-4a15-bfcd-d916eb8b09f4
Collection UUID
Response
Collection retrieved successfully
Example response
{
"status": true,
"message": "Operation completed successfully",
"data": {
"id": "col-001",
"reference": "order-12345",
"status": "pending",
"amount": 100,
"currency": "ZMW",
"feeBearer": "merchant",
"narration": "Payment for Order #12345",
"customer": {
"phone": "0977123456",
"name": "JOHN DOE",
"operator": "airtel"
},
"createdAt": "2024-01-15T10:30:00Z",
"completedAt": "2024-01-15T10:31:00Z"
}
}