Collections
Initiate mobile money collection
Initiate a payment collection from a mobile money account. Creates a transaction record in your dashboard.
post/api/v1/bila/collections/mobile-money
Request body
Example request
{
"amount": 100.5,
"reference": "collection-001",
"phone": "0977433571",
"operator": "airtel",
"country": "zm",
"bearer": "merchant",
"narration": "Payment for subscription",
"walletId": "68f11209-451f-4a15-bfcd-d916eb8b09f4",
"customerName": "John Doe"
}Response
Collection initiated 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"
}
}