This endpoint would allow you to purchase bill services with Pandascrow.

[POST] {{baseurl}}/sandbox/index/services/bills/utility-electricity

Bill Service Purchase

To purchase services, you'll need to pass in the following parameters below the table.

ParamRequired?Descriptiontype
userIDYesProvide userID a unique id issue to each registered userInteger
businessIDYesProvide businessID a unique id issue to each registered userInteger
customerIDYesEnter your customerID (e.g your decoderID, meter number, etc)String
variationYesProvide the variation_code from the fetched service. (e.g LHZZIwV+TsmHdbfdEDg=)String
amountYesProvide the variation_amount where necessary or manually provide amount where there's no fixed Amount providedInteger

API Object

{
    "status": 200,
    "data": {
        "convinience_fee": "0.00",
        "message": "DSTV Subcription purchased successfully!"
    }
}
curl -L -X POST '{{baseurl}}/sandbox/index/services/bills/utility-electricity' \
-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!