Purchase Spectranet Data Bundle

Purchase Data

POST {{BASE_URL}}/api/biller/spectranet/purchase

Headers

Name
Type
Description

authorization*

String

x-api-key: 3434-4243-ffef-2323

Request Body

Name
Type
Description

amount*

number

This is the amount you want to recharge ton your phone.

phone*

String

The phone number that you want to recharge. e.g 1212121212

agentReference*

String

This is a unique key generated by the integrator (you) to identify the transaction. This has to be unique per transaction.

dataCode*

String

This is the variation code

{
  "isSuccessful": true,
  "message": "string",
  "code": "string",
  "data": {
    "amount": 0,
    "statusCode": "string",
    "transactionStatus": "string",
    "transactionMessage": "string",
    "transactionReference": "string",
    "isSuccessful": true
  }
}

Last updated