Skip to main content
POST
/
virtual-wallets
/
bank-ramps
/
ramp-off
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"
}
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

wallet_id
string
required
Virtual wallet identifier.
amount
number
required
Amount in cryptocurrency to convert and withdraw.
bank_account_id
string
required
Bank account identifier for withdrawal.

Response

id
string
Unique ramp-off operation identifier.
state
string
Current state of the operation.
source_payment_rail
string
Source payment rail. One of PIX, WIRE, ACH, SEPA, SPEI.
source_currency
string
Source currency. One of BRL, USD, EUR, ARS, MXN.
destination_payment_rail
string
Destination payment rail. One of PIX, WIRE, ACH, SEPA, SPEI.
destination_currency
string
Destination currency. One of BRL, USD, EUR, ARS, MXN.
amount
number
Amount to be withdrawn.
blockchain_memo
string
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"
}