get http://api.pandascrow.io/sandbox/index/services/bills/fetch/beneficiaries
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.
Param | Required? | Description | type |
---|---|---|---|
network | Yes | Network is an integer 1 - 4, that covers MTN, Airtel, etc.) | Integer |
limit | No | Used 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'