---
title: "Recipients"
description: "Add the people and businesses you pay (beneficiaries), with the exact fields for each country."
---

A recipient is called a **beneficiary** on the new routes. Your key needs the `manage:beneficiaries` scope (or `read:beneficiaries` to list them). See [Authentication](/get-started/authentication).

## Routes

| Route | What it does |
|---|---|
| `GET /v1/banks?country=NGA` | Banks in a country with Storspay's stable `bankCode` |
| `GET /v1/payouts/requirements?country=NGA&currency=NGN&route=bank` | Exact recipient and sender fields for a country, currency and route |
| `POST /v1/beneficiaries` | Create a recipient. The same details return the existing one (deduplicated). |
| `GET /v1/beneficiaries` | List your recipients |
| `GET /v1/beneficiaries/{id}` | One recipient |
| `PATCH /v1/beneficiaries/{id}` | Update a recipient |
| `DELETE /v1/beneficiaries/{id}` | Remove a recipient |

## Add a recipient

Find the bank code with `GET /v1/banks?country=NGA`, and the exact fields with `GET /v1/payouts/requirements?country=NGA&currency=NGN&route=bank`. The account number `9900000000` ends in `00`, so the sandbox pays it.

```bash
curl -X POST https://api.sandbox.storspay.com/v1/beneficiaries \
  -H "Authorization: Bearer $TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "individual",
    "name": "Test Recipient",
    "country": "NGA",
    "currency": "NGN",
    "route": "bank",
    "bankCode": "<bankCode from GET /v1/banks>",
    "accountNumber": "9900000000"
  }'
```

The same details sent twice return the existing beneficiary (`200`, `deduplicated: true`).

## Test values

In the sandbox, the last two digits of the account number pick the result: `9900000000` is paid, `9900000001` fails with `technical_error`, `9900000002` fails with `recipient_details`. All values: [Sandbox and magic values](/get-started/sandbox).

Next: [Payouts](/get-started/first-payout).
