Skip to main content
This quickstart walks you through your first fiat-to-crypto conversion. For detailed implementation, see the full Ramps documentation.

Overview

Grid’s Ramps API enables seamless conversion between fiat and cryptocurrency. In this quickstart, you’ll:
  1. Set up your platform
  2. Complete user KYC
  3. Link a funding source
  4. Execute a conversion

Prerequisites

Step 1: Platform Configuration

Configure your platform for ramp operations.

Step 2: User Onboarding & KYC

Create a customer and complete KYC verification.
curl -X POST https://api.lightspark.com/grid/2025-10-13/customers \
  -H "Authorization: Basic YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "Jane Smith",
    "email": "jane@example.com",
    "kyc_level": "basic"
  }'
Connect a bank account or other funding source.

Step 4: Execute Conversion

Convert fiat to crypto.
# Get a conversion quote
curl -X POST https://api.lightspark.com/grid/2025-10-13/quotes \
  -H "Authorization: Basic YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "source_currency": "USD",
    "destination_currency": "BTC",
    "amount": "100.00"
  }'

# Execute the conversion
curl -X POST https://api.lightspark.com/grid/2025-10-13/conversions \
  -H "Authorization: Basic YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "quote_id": "QUOTE_ID",
    "destination_wallet": "bc1q..."
  }'

Next Steps