Data

Web-hooks for Data transactions

Sample request for vending data

{
  "plan_code": "1001",
  "phonenumber": "08169643167",
  "transaction_id": "80kld-E-82269942-209322"
}

Vending Data Operation

POST {{baseUrl}}/service/api/single_data_direct_vending

Path Parameters

Name
Type
Description

x-api-key*

String

The API key is a unique key that must be passed to the header before any request and can be found in the dashboard.

client-id*

String

This is a unique id for customers which can also be found in the dashboard when login

Request Body

Name
Type
Description

plan_code*

String

Each network has its plan code. The code of the network you are vending is required here

phonenumber*

String

This is the phone number of the customer

transaction_id*

String

This is the Unique Id you provided for the transaction.

Get all the data packages for different network

POST {{baseUrl}}/service/api/get-packages

The endpoint is used to get all data packages available for a network send as request. It return a json format response. If no network is not provided, a response with status code 1 will be returned.

Headers

Name
Type
Description

x-api-key*

String

client-id*

String

Request Body

Name
Type
Description

network*

String

The network you want to get

Sample request for getting packages

Last updated