POST /v1/bill/topup
Request body
Phone number of the user who is to receive the value
Network (e.g. MTN, AIRTEL, GLO, 9MOBILE, etc)
Merchant Transaction Reference (a unique reference to identify this
transaction on your system)
Response body
Merchant Transaction Reference
Retrieval Reference Number (RRN)
Date and Time of the transaction
The type of this transaction. This is most probably topup in this case
curl --location 'https://api.nomba.com/v1/bill/topup' \
--header 'accountId: <accountId>' \
--header 'Authorization: Bearer <token>' \
--data '{
"amount": 50,
"phoneNumber": "08012345678",
"network": "MTN",
"merchantTxRef": "test1116",
"senderName": "Testing"
}'
{
"code": "202",
"description": "Processing...",
"data": {
"amount": "50",
"meta": {
"merchantTxRef": "test1116",
"rrn": "240626232937"
},
"timeCreated": "2024-06-26T22:29:37.649Z",
"type": "topup",
"status": "Processing..."
}
}