Airtime Topup
This request consist of available bills packages. Please note the unique package code of each package, you will need it to perform subsequent transactions
Fetch Data Bundle Providers
GET
{{ BASE }}/airtime-topup
--header 'Accept: application/json'
--header 'Authorization: Bearer {{ access_token }}'
Response Body
{
"status": true,
"message": "success",
"data": [
{
"provider_name": "Airtime Bundle Provider 1",
"provider_code": "unique_provider_code",
"provider_info": "provider_info"
},
{
"provider_name": "Airtime Bundle Provider 2",
"provider_code": "unique_provider_code",
"provider_info": "provider_info"
}
]
}
Buy Airtime Topup
POST
{{ BASE }}/buy
--header 'Accept: application/json'
--header 'Authorization: Bearer {{ access_token }}'
Request Body
Below are the request body parameters 🎉
Name
Type
Description
provider_code
String
Provider Code
amount
String
Amount
recipient
Number
Recipient
account_pin
String
Your Padiwise account pin
reference
String
Unique reference for the transaction
Response Body
{
"status": true,
"message": "success",
"data": {
"status": true,
"message": "Transaction Sent For {{status}} . N{{amount}} {{provider}} Recipient : {{recipient}} ",
"transaction_data": {
"reference": "{{reference}}",
"status": "{{status}}",
"package": {{package}},
"provider" : {{provider}},
"recipient": "{{recipient}}",
"amount_paid": {{amount_paid}},
"commission" : {{commission}}
}
}
}
```
Last updated