Pay Airtime

You can buy airtime through Payshiga’s API.

If you trigger a POST request, Payshiga will directly disburse it from your positive balance.

Endpoint

{{baseurl}}/bill-payment/airtime/pay

The API requires a number of request parameters.

FieldData TypeDescription
serviceCategoryIdString

Required. The serviceCategoryId of the selected provider.

amount

Number >=1

Required. This specifies the amount of money to be loaded unto the target number. It must be a number greater than or equal to 1.

phoneNumberString

Required. 11 digits that is the target of the payment.

referenceStringOptional information you can attach to the transaction.

Your request should look like this.

{
  "serviceCategoryId": "string",
  "amount": 200,
  "phoneNumber": "080xxxxxxxx"
}