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

# Create Off-Ramp Account

> POST /v1/ramp/recipients/{id}/offramp-accounts — Create a crypto deposit address for off-ramping

<Note>
  **Endpoint:** `POST https://api.rebelfi.io/v1/ramp/recipients/{id}/offramp-accounts`
</Note>

Create a crypto deposit address for a recipient to initiate off-ramp transactions. The recipient must have completed KYB verification and have an address on file.

### Path Parameters

| Field | Type      | Required | Description  |
| ----- | --------- | -------- | ------------ |
| `id`  | `integer` | Yes      | Recipient ID |

### Request Body

| Field                              | Type      | Required | Description                                |
| ---------------------------------- | --------- | -------- | ------------------------------------------ |
| `org_wallet_id`                    | `integer` | Yes      | ID of the organization wallet              |
| `source_asset`                     | `string`  | No       | Source crypto asset (default: `"USDC"`)    |
| `rail`                             | `string`  | No       | Payment rail (default: `"ach"`)            |
| `bank_details`                     | `object`  | Yes      | Destination bank account details           |
| `bank_details.routing_number`      | `string`  | Yes      | Bank routing number                        |
| `bank_details.account_number`      | `string`  | Yes      | Bank account number                        |
| `bank_details.account_type`        | `string`  | Yes      | Account type (`"checking"` or `"savings"`) |
| `bank_details.account_holder_name` | `string`  | Yes      | Name on the bank account                   |
| `bank_details.bank_name`           | `string`  | Yes      | Name of the bank                           |

### Example Request

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://api.rebelfi.io/v1/ramp/recipients/1/offramp-accounts" \
    -H "x-api-key: your_api_key" \
    -H "Content-Type: application/json" \
    -d '{
      "org_wallet_id": 42,
      "source_asset": "USDC",
      "rail": "ach",
      "bank_details": {
        "routing_number": "021000021",
        "account_number": "987654321",
        "account_type": "checking",
        "account_holder_name": "OnEdge Inc",
        "bank_name": "Chase Bank"
      }
    }'
  ```

  ```typescript SDK theme={null}
  const offrampAccount = await client.ramp.createRecipientOfframpAccount(1, {
    orgWalletId: 42,
    bankDetails: {
      routingNumber: '021000021',
      accountNumber: '987654321',
      accountType: 'checking',
      accountHolderName: 'OnEdge Inc',
      bankName: 'Chase Bank'
    }
  });
  ```
</CodeGroup>

### Example Response

```json theme={null}
{
  "id": 1,
  "source_crypto_address": "0xABC123...",
  "source_asset": "USDC",
  "destination_asset": "USD",
  "network_id": "solana-mainnet",
  "rail": "ach",
  "fiat_bank_name": "Chase Bank",
  "fiat_account_type": "checking",
  "fiat_account_holder_name": "OnEdge Inc",
  "status": "active"
}
```

### Response Fields

| Field                      | Type     | Description                            |
| -------------------------- | -------- | -------------------------------------- |
| `id`                       | `number` | Off-ramp account identifier            |
| `source_crypto_address`    | `string` | Crypto deposit address for off-ramping |
| `source_asset`             | `string` | Source crypto asset                    |
| `destination_asset`        | `string` | Destination fiat currency              |
| `network_id`               | `string` | Blockchain network identifier          |
| `rail`                     | `string` | Payment rail                           |
| `fiat_bank_name`           | `string` | Destination bank name                  |
| `fiat_account_type`        | `string` | Bank account type                      |
| `fiat_account_holder_name` | `string` | Name on the bank account               |
| `status`                   | `string` | Account status (`active`)              |
