This endpoint would allow you to retrieve saved information of bill airtime beneficiaries when purchasing Airtime with Pandascrow.

[GET] {{baseurl}}/sandbox/index/services/bills/fetch/beneficiaries

Fetch Beneficiaries

To retrieve beneficiaries' data for bill payment - airtime, you'll need to pass in the required parameters listed in the table below.

ParamRequired?Descriptiontype
networkYesNetwork is an integer 1 - 4, that covers MTN, Airtel, etc.)Integer
limitNoUsed to limit number of request to receive.Integer

API Object

{
    "status": 200,
    "data": {
        "beneficiaries": [
            {
                "billID": 2,
                "userID": 1,
                "phone": "08179000000",
                "name": "Precious Tom",
                "network": 4,
                "dateAdded": "Thu, 01 Sep 2022 01:50:03 +0000"
            },...
        ]
    }
}
curl -L -X GET '{{baseurl}}/sandbox/index/services/bills/fetch/beneficiaries' \
-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!