> ## 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.

# Receive funds

> Create a one-time Swipelux fiat pay-in transfer, present the exact bank or card funding instructions, and settle received funds into a customer wallet.

Use a quoted pay-in when the customer needs to fund a specific amount. The transfer settles stablecoin into an issued wallet.

```mermaid theme={null}
%%{init: {"flowchart": {"rankSpacing": 20, "nodeSpacing": 16, "wrappingWidth": 80, "padding": 8}}}%%
flowchart LR
  A["Ready pay-in capability"] --> B["Ready destination wallet"]
  B --> C["Create quote"]
  C --> D["Execute transfer"]
  D --> E["Display funding instructions"]
  E --> F["Track settlement"]
```

## Before you start

You need a ready pay-in capability and ready issued destination wallet for the same customer. Complete any open work through [Capabilities and tasks](https://docs.swipelux.com/integration/onboarding/capabilities-and-requirements.md), then refetch both resources.

Pooled SWIFT does not support pay-ins. To receive SWIFT deposits, issue a named SWIFT account. See [Issue a bank account](https://docs.swipelux.com/integration/issue-bank-account.md).

## 1. Create a quote

Create the price with [`POST /v3/quotes`](https://docs.swipelux.com/api-reference/money-movement/post-v3-quotes). Send these headers:

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

```json Request body theme={null}
{
  "customerId": "${CUSTOMER_ID}",
  "capabilityId": "${CAPABILITY_ID}",
  "externalId": "payin-order-123",
  "in": {
    "amount": "150.00",
    "currency": "USD"
  },
  "destinationId": "${SETTLEMENT_WALLET_ID}",
  "out": {
    "currency": "USDC"
  }
}
```

Store `data.id` as `QUOTE_ID`. Present the returned amounts and fees rather than rebuilding them from the rate.

### Minimum amounts

Bank pay-in quotes can enforce a minimum amount, for example 20.00 USD for pooled Wire. `POST /v3/quotes` returns `422` [`amount_not_deliverable`](https://docs.swipelux.com/integration/errors#amount-not-deliverable) when the amount is below the minimum or too small to cover transfer fees.

## 2. Execute the quote

Execute the current quote before expiry with [`POST /v3/transfers`](https://docs.swipelux.com/api-reference/money-movement/post-v3-transfers). Use a new key for this intended transfer:

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

```json Request body theme={null}
{
  "quoteId": "${QUOTE_ID}"
}
```

Store transfer `data.id` as `TRANSFER_ID` and retain its current state.

### Add a return URL for card and Apple Pay

For a card or Apple Pay quote, you can include an optional `redirectUrl` in the same request. After the customer finishes the hosted checkout, the checkout page opens this URL to bring the customer back to your app.

```json Request body with redirectUrl theme={null}
{
  "quoteId": "${QUOTE_ID}",
  "redirectUrl": "https://your-app.example/payments/complete"
}
```

`redirectUrl` must be an absolute HTTPS URL of at most 2048 characters and must not contain embedded credentials. Sending `redirectUrl` for a quote that does not support return navigation fails validation instead of being ignored.

Arrival at `redirectUrl` is browser navigation only. It does not confirm that the payment or the transfer completed. Determine completion from the transfer state in step 4 and from webhook events.

### Pre-select the checkout method for a card quote

For a card quote, you can include an optional `checkoutMethod` in the same request to choose which funding option the hosted checkout opens on. The current values are `card`, `apple_pay`, `google_pay`, `cash_app`, `sepa`, and `blik`. The list is open and can grow, so tolerate values you do not recognize on transfer reads. The checkout opens on the requested method when it is available for the customer and their device, and the customer can still choose any other method the checkout offers. Omit it to keep the default pre-selection.

```json Request body with checkoutMethod theme={null}
{
  "quoteId": "${QUOTE_ID}",
  "checkoutMethod": "apple_pay"
}
```

`checkoutMethod` is a preference, not a guarantee. Availability depends on the customer, their device, and the checkout, so requesting a method does not make it available. Here `sepa` and `blik` are funding options inside the card checkout, not Swipelux capabilities, rails, or accounts. The pre-selection does not change the quote's capability, amounts, or fees, and the checkout confirms the final fees. Transfer reads echo the requested value; they do not confirm which method the customer used. Sending `checkoutMethod` for a quote that is not a card quote fails validation instead of being ignored, and a replay with the same idempotency key must send the same `checkoutMethod`.

## 3. Retrieve funding instructions

Read [`GET /v3/transfers/{transferId}/instructions`](https://docs.swipelux.com/api-reference/money-movement/get-v3-transfers-by-transfer-id-instructions). Render the returned `data.instructions` variant without assuming its type.

These details are transfer-specific. Never reuse one transfer's bank coordinates, code, hosted URL, amount, reference, or expiry for another pay-in.

For bank instructions, when `reference.required` is true, display the exact `reference.value` next to the bank coordinates and make it copyable. Show the returned amount and currency from the same instruction set.

Bank instructions can also include optional `bankName`, `bankAddress`, `accountHolderName`, and `accountHolderAddress` fields. Render each returned field alongside the other bank coordinates. Sending banks often require the receiving bank address for `swift` and other international wires, so display `bankAddress` whenever it is returned.

```json Bank instructions theme={null}
{
  "type": "bank",
  "method": "swift",
  "amount": { "amount": "150.00", "currency": "USD" },
  "accountHolderName": "Swipelux FBO Customer",
  "accountHolderAddress": "8 The Green, Dover, DE",
  "bankName": "JPMorgan Chase",
  "bankAddress": "383 Madison Avenue, New York, NY",
  "details": {
    "swiftCode": "CHASUS33",
    "accountNumber": "123456789"
  },
  "reference": { "value": "SWIFTMEMO1", "required": true }
}
```

An issued bank account is different: it provides reusable details for later deposits. See [Issue a bank account](https://docs.swipelux.com/integration/issue-bank-account.md) when that is the intended experience.

## 4. Track settlement

Read [`GET /v3/transfers/{transferId}`](https://docs.swipelux.com/api-reference/money-movement/get-v3-transfers-by-transfer-id) after execution and after each event. Drive the customer-facing status from the latest `data.state`.

Use `data.stateDetail` and `data.openTaskIds` when the transfer needs another action. Do not mark it complete from an expected schedule.

Next, add [Webhooks](https://docs.swipelux.com/integration/webhooks.md) and keep the transfer status synchronized until it reaches an outcome your product handles.


## Related topics

- [Accounts and wallets](https://docs.swipelux.com/integration/accounts.md)
- [Common flows](https://docs.swipelux.com/integration/common-flows.md)
- [Integration overview](https://docs.swipelux.com/integration/overview.md)
- [Issue a bank account](https://docs.swipelux.com/integration/issue-bank-account.md)
- [Jurisdiction Framework](https://docs.swipelux.com/knowledge-base/compliance/jurisdictions-and-availability.md)


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