List Data Plans

Payshiga supports the purchasing of internet data plans. Before a purchase is made, it’s great to know the plans available. To fetch this, send a GET request to this endpoint:

{{baseurl}}/bill-payment/internet-services/{provider}

The API requires a request parameter.

FieldData TypeDescription
providerStringThis is the name of the internet provider whose data plans who want information about.

The response you’d get should look like this.

{
  "success": true,
  "statusCode": 200,
  "message": "Data plans fetched",
  "data": [
    {
      "id": 182,
      "name": "9mobile 200MB - 100 Naira - 1 day",
      "amount": "100.00"
    },
    {
      "id": 185,
      "name": "9mobile 4.2GB (2GB+2.2GB Night) - 1,000 Naira - 30 Days",
      "amount": "1000.00"
    },
    {
      "id": 186,
      "name": "9mobile 18.5GB (15GB+3.5GB Night) - 4,000 Naira - 30 days",
      "amount": "4000.00"
    },
    {
      "id": 187,
      "name": "9mobile 9.5GB (5.5GB+4GB Night) - 2000 Naira - 30 Days",
      "amount": "2000.00"
    },
    {
      "id": 188,
      "name": "9mobile 24GB - 5,000 Naira - 30 Days",
      "amount": "5000.00"
    }
  ]
}