Skip to main content
POST
Purchase Data

Overview

Purchase a data bundle for any Nigerian phone number using a specific product code. The data will be credited instantly to the recipient’s phone.

Request Body

Send an array with one or more data purchases.

Response Fields

string
Reference to store for reconciliation and support.
object
Details of the accepted batch.

Status Codes

Purchase Flow

  1. Get Available Plans: First, call the List Data Plans endpoint to see available data plans for a specific network
  2. Select Product Code: Choose the desired data plan and note its ProductCode
  3. Purchase Data: Submit the selected plan details exactly as returned by the catalog

Notes

  • Data is credited instantly to the recipient’s phone
  • Phone numbers are accepted as 080..., 23480..., or 80... and normalized to the 11-digit local format; non-Nigerian mobile numbers are rejected before any charge
  • Product codes and voucher codes are case-sensitive
  • Transaction processing may take a few seconds
  • Ensure the phone number is on the correct network for the data plan
  • Store the requestReference returned by the API for reconciliation and support

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
Minimum array length: 1
phoneNumber
string
required

Recipient's phone number. Accepted as 08012345678, 2348012345678, or 8012345678 — normalized to the 11-digit local format.

Example:

"08107176819"

productCode
string
required

Product code returned by the Data catalog

Example:

"MTN_DATA_PRODUCT_CODE"

network
string
required

Target network returned by the Data catalog

Example:

"MTN"

voucherCode
string
required

Voucher code returned by the Data catalog

Example:

"MTN_DATA_VOUCHER_CODE"

amount
number

Amount returned by the Data catalog

Example:

1000

dataValue
number

Data value returned by the Data catalog, when provided

Example:

1024

Response

Batch accepted for processing. Data is credited within a few seconds; use each reference in data.references to track individual items.

gatewayStatus
string
Example:

"00"

gatewayMessage
string
Example:

"Successfully Processed"

requestReference
string
Example:

"KpEAFZutv3SvQ4aMjrv7"

data
object