> ## Documentation Index
> Fetch the complete documentation index at: https://docs.swipelux.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Recipients and destinations

> Create a third-party recipient and the bank or wallet endpoint that receives a payout.

Use a customer account when the customer owns the endpoint. Use a recipient and destination when another person or business receives the funds.

The recipient records who receives funds. The destination records where they receive them.

## 1. Create the recipient

Create an individual or business with [`POST /v3/customers/{customerId}/recipients`](/api-reference/recipients/post-v3-customers-by-customer-id-recipients). Send these headers:

```http theme={null}
X-API-Key: ${SWIPELUX_API_KEY}
Idempotency-Key: recipient-create-001
Content-Type: application/json
```

```json theme={null}
{
  "type": "individual",
  "relationship": "contractor",
  "firstName": "Jason",
  "lastName": "Swipelux",
  "email": "jason@swipelux.com",
  "phone": "+14155551234",
  "address": {
    "streetLine1": "1 Market Street",
    "city": "San Francisco",
    "state": "CA",
    "postalCode": "94105",
    "country": "US"
  },
  "label": "Jason contractor"
}
```

Include the address before creating a fiat destination. Store the returned recipient `data.id` as `RECIPIENT_ID` and retain its current status.

## 2. Add a destination

Create the endpoint with [`POST /v3/customers/{customerId}/recipients/{recipientId}/destinations`](/api-reference/recipients/post-v3-customers-by-customer-id-recipients-by-recipient-id-destinations). Use a new key for this intended destination:

```http theme={null}
X-API-Key: ${SWIPELUX_API_KEY}
Idempotency-Key: recipient-destination-create-001
Content-Type: application/json
```

<Tabs>
  <Tab title="Bank destination">
    ```json theme={null}
    {
      "type": "ach",
      "currency": "USD",
      "details": {
        "routingNumber": "021000021",
        "accountNumber": "123456789",
        "accountType": "checking",
        "bankName": "Example Bank",
        "accountHolderName": "Jason Swipelux",
        "country": "US"
      }
    }
    ```
  </Tab>

  <Tab title="Wallet destination">
    ```json theme={null}
    {
      "type": "wallet",
      "currency": "USDC",
      "ownership": {
        "type": "self_custodied"
      },
      "details": {
        "network": "base",
        "address": "0x1111111111111111111111111111111111111111"
      }
    }
    ```
  </Tab>
</Tabs>

Use `self_custodied` only when the recipient controls the wallet. Follow the current API Reference variant when the wallet is held by another custodian.

Store the returned destination `data.id` as `DESTINATION_ID` and retain its current status.

## 3. Wait for destination readiness

Read [`GET /v3/customers/{customerId}/recipients/{recipientId}/destinations/{destinationId}`](/api-reference/recipients/get-v3-customers-by-customer-id-recipients-by-recipient-id-destinations-by-destination-id) before creating a quote.

Continue only when the current destination status permits the payout and its currency, method, and network match the intended movement. Recipient and destination statuses are independent.

Use the `dst_` destination ID in the payout quote. The `rcp_` recipient ID identifies the owner record and is not a quote destination.

Next, take the ready destination to [Send funds](/integration/send-funds).


## Related topics

- [Add recipient destination](/api-reference/recipients/post-v3-customers-by-customer-id-recipients-by-recipient-id-destinations.md)
- [Archive recipient destination](/api-reference/recipients/delete-v3-customers-by-customer-id-recipients-by-recipient-id-destinations-by-destination-id.md)
- [Get recipient destination](/api-reference/recipients/get-v3-customers-by-customer-id-recipients-by-recipient-id-destinations-by-destination-id.md)
- [List recipient destinations](/api-reference/recipients/get-v3-customers-by-customer-id-recipients-by-recipient-id-destinations.md)
- [Get recipient](/api-reference/recipients/get-v3-customers-by-customer-id-recipients-by-recipient-id.md)
