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/{serviceCategoryId}

The API requires a request parameter.

FieldData TypeDescription
serviceCategoryIdStringThis is the id of the service category whose data plans you want information about.

The response you’d get should look like this.

{
  "success": true,
  "statusCode": 200,
  "message": "Data plans fetched",
  "data": [
    {
      "validity": "1 month",
      "bundleCode": "MTN-2GB",
      "amount": "600.00",
      "isAmountFixed": true
    },
    {
      "validity": "1 month",
      "bundleCode": "MTN-3GB",
      "amount": "900.00",
      "isAmountFixed": true
    },
    {
      "validity": "1 month",
      "bundleCode": "MTN-5GB",
      "amount": "1500.00",
      "isAmountFixed": true
    },
    {
      "validity": "1 month",
      "bundleCode": "MTN-500MB",
      "amount": "200.00",
      "isAmountFixed": true
    },
    {
      "validity": "1 month",
      "bundleCode": "MTN-10GB",
      "amount": "3000.00",
      "isAmountFixed": true
    },
    {
      "validity": "1 month",
      "bundleCode": "MTN-1GB",
      "amount": "300.00",
      "isAmountFixed": true
    }
  ]
}