Creates and executes a bank ramp-off transaction to withdraw cryptocurrency to a bank account. Requires an API key with access level 2 or higher.
Body
Virtual wallet identifier.
Amount in cryptocurrency to convert and withdraw.
Bank account identifier for withdrawal.
Response
Unique ramp-off operation identifier.
Current state of the operation.
Source payment rail. One of PIX, WIRE, ACH, SEPA, SPEI.
Source currency. One of BRL, USD, EUR, ARS, MXN.
Destination payment rail. One of PIX, WIRE, ACH, SEPA, SPEI.
Destination currency. One of BRL, USD, EUR, ARS, MXN.
Blockchain transaction memo or reference.
curl -X POST "https://api.cryptomate.me/virtual-wallets/bank-ramps/ramp-off" \
-H "X-API-KEY: $CRYPTOMATE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"wallet_id": "vw_a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"amount": 0.5,
"bank_account_id": "ba_xyz789"
}'
{
"id": "rampoff_abc123",
"state": "pending",
"source_payment_rail": "WIRE",
"source_currency": "USD",
"destination_payment_rail": "ACH",
"destination_currency": "USD",
"amount": 950.00,
"blockchain_memo": "WITHDRAWAL-REF-123"
}