Skip to main content

What are Ramps?

Ramps are transactions that convert between fiat currency and cryptocurrency. They handle the entire process from payment to settlement.

Transaction Flow

1

Get Quotation

Request a price quote with locked rate
2

Create Ramp

Execute transaction with quote ID
3

Payment/Deposit

User completes payment
4

Conversion

KillB processes currency exchange
5

Settlement

Funds delivered to destination

Key Concepts

Every ramp needs a quotation to lock in the exchange rate
Quotations expire after 30 seconds to prevent rate arbitrage
Monitor ramp progress through status updates
Get real-time updates via webhooks

Quick Start

// 1. Get quote
const quote = await createQuotation({
  fromCurrency: 'COP',
  toCurrency: 'USDC',
  amount: 100000,
  amountIsToCurrency: false,
  cashInMethod: 'PSE',
  cashOutMethod: 'POLYGON'
});

// 2. Create ramp
const ramp = await createRamp({
  quotationId: quote.id,
  userId: 'user-id',
  accountId: 'wallet-id'
});

// 3. User pays via provided URL
window.location.href = ramp.paymentInfo[0].url;

Next Steps