Retrieve a paginated list of beneficiaries associated with your account.
GET /beneficiaries
Show Beneficiary Properties
curl -X GET "https://api.spendjuice.com/beneficiaries?limit=2" \ -H "Authorization: YOUR_API_KEY"
{ "data": [ { "account_name": "MICHAEL ENITAN ASAJU", "account_number": "0821081314", "account_type": "savings", "address": null, "bank_address": null, "bank_code": "000014", "bank_id": null, "bank_name": "ACCESS BANK", "bic": null, "currency": "NGN", "id": "d8c0226b-048c-4c44-9606-a93333f56283", "lifetime": "permanent", "routing_number": null, "sort_code": null, "type": "bank_account", "user_id": "c545cbc5-9915-4bfb-98ee-3759894feac2", "virtual": false }, { "account_name": "Michael Asaju", "account_number": "8036120312", "account_type": "savings", "address": null, "bank_address": null, "bank_code": "100004", "bank_id": null, "bank_name": "OPAY", "bic": null, "currency": "NGN", "id": "d71efb6e-b7f5-4acd-a729-3da08e36eaed", "lifetime": "permanent", "routing_number": null, "sort_code": null, "type": "bank_account", "user_id": "c545cbc5-9915-4bfb-98ee-3759894feac2", "virtual": false } ], "pagination": { "after": "d71efb6e-b7f5-4acd-a729-3da08e36eaed", "before": null, "limit": 2 } }
after
400 Bad Request
{ "error": { "code": "invalid_request", "message": "Invalid query parameters", "details": { "limit": ["Must be between 1 and 100"] } } }
401 Unauthorized
{ "error": { "code": "unauthorized", "message": "Invalid or missing API key" } }