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

# Create credit card ramp-on

> Initiate a credit card deposit to a virtual wallet.

Initiates a credit card deposit to a virtual wallet. Supported currencies are determined by the Ramps service based on the wallet's blockchain. Requires an API key with access level 2 or higher.

## Path parameters

<ParamField path="walletId" type="string" required>
  Unique identifier of the virtual wallet.
</ParamField>

## Body

<ParamField body="client_id" type="string">
  Identifier of the client making the deposit.
</ParamField>

<ParamField body="amount" type="number">
  Deposit amount (maximum 2 decimal places).
</ParamField>

<ParamField body="asset" type="string">
  Fiat asset code (for example, `USD`).
</ParamField>

## Response

<ResponseField name="session_id" type="string">
  Checkout session identifier.
</ResponseField>

<ResponseField name="session_url" type="string">
  URL for the hosted checkout session.
</ResponseField>

<ResponseField name="bootstrap_token" type="string">
  Bootstrap token for embedding the checkout widget.
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.cryptomate.me/virtual-wallets/ramps/vw_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d/credit-card/on" \
    -H "x-api-key: $CRYPTOMATE_API_KEY" \
    -H "Content-Type: application/json" \
    -d '{
      "client_id": "client_xyz789",
      "amount": 250.00,
      "asset": "USD"
    }'
  ```
</RequestExample>

<ResponseExample>
  ```json 200 OK theme={null}
  {
    "session_id": "cs_live_a1b2c3d4e5f6",
    "session_url": "https://checkout.cryptomate.me/session/cs_live_a1b2c3d4e5f6",
    "bootstrap_token": "bt_9f8e7d6c5b4a"
  }
  ```

  ```json 404 Not Found theme={null}
  {
    "code": "NOT_FOUND",
    "message": "Wallet not found"
  }
  ```
</ResponseExample>
