Data Purchase

You can make a data bill payment purchase in one easy step:

Initiate the data bill payment:

Verb
URL

POST

{{baseUlr}}/api/bills/data

Attribute
Description

phoneNumber

This is the phone number that will receive the data bundle.

amount

This is the fixed amount of the data bundle (specified in the currencies lowest denomination).

provider

The network provider of the phone number bing purchased for (MTN, AIRTEL, GLO, 9MOBILE)

reference

The unique identifier of the transaction on your system.

curl --location 'http://localhost:6008/api/bills/data' \
--header 'Content-Type: application/json' \
--header 'x-api-key: <API KEY>' \
--data '{
    "phoneNumber": "23490XXXXXXX",
    "amount": 10000,
    "provider": "MTN",
    "reference": 3456789
}'

Last updated