curl --request GET \
--url https://api.notchpay.co/beneficiaries/{id} \
--header 'Authorization: <api-key>'
{
"status": "Accepted",
"message": "Beneficiary retrieved",
"code": 202,
"beneficiary": {
"id": "ben_123456789",
"name": "John Doe",
"email": "john@example.com",
"phone": 237600000000,
"country": "CM",
"payment_method": "pm.ndzAfIh555VCPML1",
"created_at": "2023-01-01T12:00:00.000Z"
}
}
curl --request GET \
--url https://api.notchpay.co/beneficiaries/{id} \
--header 'Authorization: <api-key>'
{
"status": "Accepted",
"message": "Beneficiary retrieved",
"code": 202,
"beneficiary": {
"id": "ben_123456789",
"name": "John Doe",
"email": "john@example.com",
"phone": 237600000000,
"country": "CM",
"payment_method": "pm.ndzAfIh555VCPML1",
"created_at": "2023-01-01T12:00:00.000Z"
}
}
Unique identifier of the beneficiary
Beneficiary retrieved
The response is of type object
.
Was this page helpful?