Transfers
Initiate mobile money transfer
Changed onInitiate a transfer to a mobile money account. Creates a transaction record in your dashboard.
post/api/v1/bila/transfers/mobile-money
Request
- Base URLhttps://api.usebila.com
- AuthAPI key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"amount": 250,
"reference": "mobile-transfer-001",
"phone": "0977433571",
"operator": "airtel",
"country": "zm",
"narration": "Mobile money payout",
"walletId": "68f11209-451f-4a15-bfcd-d916eb8b09f4",
"recipientName": "Jane Doe"
}Response
Transfer initiated successfully
Example response
{
"status": true,
"message": "Operation completed successfully",
"data": {
"id": "txn-001",
"reference": "payout-12345",
"type": "bank-account",
"status": "successful",
"amount": 1000,
"currency": "ZMW",
"narration": "Salary payment",
"recipient": {
"accountNumber": "1234567890",
"accountName": "JOHN DOE",
"bankName": "Zambia National Commercial Bank",
"phone": "0977123456",
"operator": "airtel"
},
"createdAt": "2024-01-15T10:30:00Z",
"completedAt": "2024-01-15T10:31:00Z"
}
}Changes
- info
added the new
ngenum value to the request property - info
added the new
vodacomenum value to the request property
- info
- breaking
removed the enum value
ngof the request property - breaking
removed the enum value
vodacomof the request property
- breaking