Overview
The internet buy endpoint lets you purchase internet bundles for a customer’s account ID (router/device). Unlike mobile data, internet plans are tied to a fixed account rather than a phone number.Authentication
Requires your merchant API key and thechannel: API header.
Get internet plans
Before purchasing, fetch available plans from the catalog.Buy internet bundle
Request body
| Field | Type | Required | Description |
|---|---|---|---|
plan | string | ✓ | Plan _id from GET /plans/internet |
accountid | string | ✓ | Customer’s account/device ID |
phone | string | ✓ | Contact phone number |
pin | string | ✓ | 5-digit Dancity transaction PIN |
customerRef | string | Your internal reference ID | |
saveAsBeneficiary | boolean | Save account as beneficiary | |
beneficiaryName | string | Label for saved beneficiary | |
promocode | string | Discount promo code |
The
pin for internet purchases is 5 digits, unlike the 4-digit PIN used for airtime and data.