post http://api.pandascrow.io/sandbox/index/services/bills/utility-electricity
This endpoint would allow you to purchase bill services with Pandascrow.
[POST] {{baseurl}}/sandbox/index/services/bills/utility-electricity
Bill Service Purchase
To proceed with bill service purchase, you are required to provide the following parameters below the table.
Param | Required? | Description | type |
---|---|---|---|
customerID | Yes | Enter your customerID (e.g your decoderID, meter number, etc) | String |
variation | Yes | Provide the variation_code from the fetched service. (e.g LHZZIwV+TsmHdbfdEDg=) | String |
amount | Yes | Provide the variation_amount where necessary or manually provide amount where there's no fixed Amount provided | Integer |
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'