Skip to main content
POST
Purchase mobile data bundle
Purchases mobile network data bundle for a customer.

Environment Notes

  • Production key -> uses the live business NGN wallet balance and runs the live purchase flow.
  • Test key -> uses the sandbox business NGN wallet balance and completes without vending real data.

Authorizations

x-api-key
string
header
required

Merchant API Key (e.g., nexa-prod-... or nexa-test-...)

Headers

x-business-env
enum<string>
default:prod

Target environment selector (live production vs. simulated sandbox).

Available options:
prod,
test

Body

application/json
serviceID
string
required

The mobile network code (mtn, airtel, glo, etisalat).

phone
string
required
dataID
string
required

The mobile data plan bundle code.

businessId
string

Response

Data bundle purchase transaction initiated/queued.