Make airtime purchases via a sub account
You can use this endpoint to make airtime purchases via a sub account
Authorizations
Nomba authenticates API calls with OAuth2 HTTP bearer tokens. There are two methods of authentication; Client-Credentials method and PKCE (Proof Key for Code Exchange) method. In each of the methods, You will get an ACCESS_TOKEN
. You need to use an "Authorization"
HTTP header to provide your ACCESS_TOKEN
. For example: Authorization: {ACCESS_TOKEN}
.
Headers
The parent accountId of the business this sub account belongs to
Path Parameters
The sub accountId via which airtime is to be purchased
Body
The airtime amount to be purchased
Recipient phone number
11 - 13
Recipient network (telco). It can also come as lowercased values e.g. glo, mtn etc.
GLO
, MTN
, 9MOBILE
, AIRTEL
Merchant Transaction Identifier reference (Unique to merchant)
A name to describe the sender of the airtime
Response
Response Code
Response description