> ## 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 Swipelux recipient and the bank account or crypto wallet destination that receives a payout, and reuse them across future transfers.

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`](https://docs.swipelux.com/api-reference/recipients/post-v3-customers-by-customer-id-recipients). Send these headers:

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

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

`relationship` describes how the recipient relates to your customer. Choose a value from the [`POST /v3/customers/{customerId}/recipients` request schema](https://docs.swipelux.com/api-reference/recipients/post-v3-customers-by-customer-id-recipients). If you send `other`, do not add a companion free-text field. Swipelux ignores fields that the request schema does not define, so the text would not be stored.

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`](https://docs.swipelux.com/api-reference/recipients/post-v3-customers-by-customer-id-recipients-by-recipient-id-destinations). Use a new key for this intended destination:

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

> [tab] 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] Pix destination
>
> ```json theme={null}
> {
>   "type": "pix",
>   "currency": "BRL",
>   "details": {
>     "pixKey": "jason@example.com",
>     "accountHolderName": "Jason Swipelux"
>   }
> }
> ```

> [tab] Pix Safe destination
>
> ```json theme={null}
> {
>   "type": "pix_safe",
>   "currency": "BRL",
>   "details": {
>     "taxId": "52998224725",
>     "bankCode": "00000208",
>     "branchCode": "0001",
>     "accountNumber": "123456-7",
>     "accountType": "checking",
>     "accountHolderName": "Jason Swipelux"
>   }
> }
> ```

> [tab] Wallet destination
>
> ```json theme={null}
> {
>   "type": "wallet",
>   "currency": "USDC",
>   "ownership": {
>     "type": "self_custodied"
>   },
>   "details": {
>     "network": "base",
>     "address": "0x1111111111111111111111111111111111111111"
>   }
> }
> ```

Pix and Pix Safe destinations receive BRL and need the customer's ready Pix capability (`pix_pooled`). A Pix destination pays a Pix key: a CPF or CNPJ in digits only, a phone number as `+55` followed by 10 or 11 digits, an email, or a random key. A Pix Safe destination pays a Brazilian bank account identified by the holder's CPF or CNPJ in `taxId`, the bank's 8-digit ISPB code in `bankCode`, the branch, and the account number with its check digit. Responses and webhooks return `taxId` masked to its last four digits.

Swipelux validates bank identifiers such as IBANs, BICs, ABA routing numbers, and CPF or CNPJ numbers, including checksums, when you create a bank destination. Malformed values return `400 validation_error`. These checks confirm format only, not that the account exists or who owns it.

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}`](https://docs.swipelux.com/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](https://docs.swipelux.com/integration/send-funds.md).


## Related topics

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.