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.
Initiate a Collection
| Parameter | Type | Required | Description |
|---|---|---|---|
amount | number | Yes | Minimum 0.01 |
reference | string | Yes | Unique — pattern ^[a-zA-Z0-9._-]+$ |
phone | string | Yes | Customer’s mobile money number |
operator | string | Yes | mtn, airtel, or zamtel |
country | string | Yes | zm |
walletId | string | Yes | Your sandbox wallet ID (UUID) |
bearer | string | No | merchant (default) or customer |
narration | string | No | Max 100 characters |
customerName | string | No | Max 100 characters |
Check Collection Status
| Status | Meaning |
|---|---|
pending | Awaiting final outcome |
successful | Funds credited to wallet |
failed | Transaction failed |
Pre-Launch Checklist
- Successful collection returns
"status": "successful" - Reference with
failreturns"status": "failed" - Duplicate reference returns
409 - Status polling transitions correctly from
pending
