This endpoint would allow you to fetch variations of bill services. like Utilities and Electricity with Pandascrow.

[GET] {{baseurl}}/sandbox/index/services/bills/variance

Bill Variations

To fetch bill variation, you'll need to pass in userID, businessID, and serviceID as a parameter.

ParamRequired?Descriptiontype
userIDYesProvide userID a unique id issue to each registered userInteger
businessIDYesProvide businessID a unique id issue to each registered userInteger
serviceIDYesProvide the name of service id as found in "fetch bills" endpoint (e.g dstv, portharcourt-electric)String

API Object

{
    "status": 200,
    "data": {
        "ServiceName": "DSTV Subscription",
        "serviceID": "dstv",
        "convinience_fee": "N0.00",
        "variations": [
            {
                "variation_code": "OGpeIVhvRsnDdarBET0XQ/Hw",
                "name": "DStv Padi N2,150",
                "variation_amount": "2150.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "OGpeIVhmRsPNOareEjESXe/w5Q==",
                "name": "DStv Yanga N2,950",
                "variation_amount": "2950.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "OGpeIVh8SMPMOereDT0UXfHu5YQ=",
                "name": "Dstv Confam N5,300",
                "variation_amount": "5300.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "OGpeIUImCoCTaLfDDjgX",
                "name": "DStv  Compact N9,000",
                "variation_amount": "9000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "OGpeIUYyCp+baLfDDjgX",
                "name": "DStv Premium N21,000",
                "variation_amount": "21000.00",
                "fixedPrice": "Yes"
            },...
        ]
    }
}
curl -L -X GET '{{baseurl}}/sandbox/index/services/bills/variance' \
-H 'Content-Type: application/json' \
-H 'Authorization: SECRET_KEY'
-H 'Appid: appid'
Language
Click Try It! to start a request and see the response here!