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
Unique identifier of the virtual wallet.
Body
Identifier of the client making the deposit.
Deposit amount (maximum 2 decimal places).
Fiat asset code (for example, USD).
Response
Checkout session identifier.
URL for the hosted checkout session.
Bootstrap token for embedding the checkout widget.
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"
}'
{
"session_id": "cs_live_a1b2c3d4e5f6",
"session_url": "https://checkout.cryptomate.me/session/cs_live_a1b2c3d4e5f6",
"bootstrap_token": "bt_9f8e7d6c5b4a"
}