Skip to main content
POST
Purchase data
Pick planId from List billers (category=data) — use plans[].planId (slug, e.g. mtn_1gb_7d), not plans[].id.

Authorizations

X-Api-Key
string
header
required

API key id (sp_test_… / sp_live_…)

Headers

X-Timestamp
string
required

Unix time in seconds

X-Signature
string
required

HMAC-SHA256 signature

Idempotency-Key
string<uuid>
required

UUID. Required on money-moving writes.

Body

application/json
planId
string
required

Slug from List billers → data.data.plans[].planId (category=data), e.g. mtn_1gb_7d. Not the UUID id.

phoneNumber
string
required

Response

OK

The response is of type object.