---
title: "Create on-ramp quote"
method: POST
path: "/v1/payments/ramps/onramp/quote"
tags: ["Payments"]
---

# Create on-ramp quote

`POST /v1/payments/ramps/onramp/quote`

Creates a provider-specific on-ramp quote. Hosted providers return a hosted URL; instruction-based providers return manual funding instructions.

## Request body

- object — Create an on-ramp quote. The response uses `deliveryMode` to indicate whether the client should display manual instructions, open a hosted provider flow, or mount a provider session widget.
  - `provider` 'moonpay' | 'lightspark' | 'bvnk' | 'moneygram' | 'coinbase' | 'mural' | 'stripe', required — Ramp provider identifier. Hosted providers return a URL, manual providers return funding instructions, and Stripe returns a session widget secret.
  - `counterpartyId` string, required — SDP counterparty ID. Provider-native customer records may be resolved or created from this counterparty.
  - `destinationWallet` string, required — Destination wallet (`walletId` from GET /v1/wallets) or Solana address for purchased crypto.
  - `cryptoToken` string, required — Crypto token symbol or provider currency code.
  - `fiatCurrency` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SOS' | 'SRD' | 'SSP' | 'STN' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW', required — Fiat currency for on-ramp.
  - `fiatAmount` string, required — Fiat amount to on-ramp.
  - `redirectUrl` string, uri — Optional return URL after hosted provider flow completes.
  - `rampsMemo` object — Optional key-value memo stored on the resulting transfer.
  - `domain` string

## Response `200`

On-ramp quote created

- object — Standard success response envelope.
  - `data` object, required — On-ramp quote response payload.
    - `quote` object, required — On-ramp quote details.
      - `id` string, required — Quote identifier.
      - `provider` 'moonpay' | 'lightspark' | 'bvnk' | 'moneygram' | 'coinbase' | 'mural' | 'stripe', required — Provider that created the quote.
      - `status` 'pending' | 'processing' | 'completed' | 'failed', required — Quote status.
      - `deliveryMode` 'manual_instructions' | 'hosted' | 'session_widget', required — `hosted` means open `hostedUrl`; `manual_instructions` means display `paymentInstructions`; `session_widget` means mount the provider SDK session.
      - `hostedUrl` string, uri — Provider-hosted URL for hosted quote delivery.
      - `paymentInstructions` union[] — Funding instructions for `manual_instructions` delivery (e.g. BVNK on-ramp).
        - union
          - object
            - `provider` 'lightspark', required — Provider that produced this instruction.
            - `kind` 'crypto_deposit' — Present when the instruction contains normalized crypto-deposit fields.
            - `destinationAddress` string — Normalized Solana address to fund for crypto-deposit manual instructions.
            - `cryptoCurrency` 'SOL' | 'USDC' | 'USDT' | 'USDG' | 'PYUSD' — Normalized crypto asset to send for crypto-deposit manual instructions.
            - `network` 'SOLANA' — Normalized crypto network for crypto-deposit manual instructions.
            - `reference` string — Provider-side reference or memo required to match the deposit, when applicable.
            - `accountOrWalletInfo` object, required — Lightspark bank account or crypto wallet details for funding the ramp.
              - …
            - `instructionsNotes` string — Additional human-readable funding instructions.
            - `isPlatformAccount` boolean — Whether the payment instruction belongs to a platform account.
          - object
            - `provider` 'bvnk', required — Provider that produced this instruction.
            - `kind` 'fiat_funding', required — Fund BVNK's fiat virtual account to receive crypto.
            - `onboardingStatus` 'verification_required' | 'verifying' | 'verification_failed' | 'provisioning' | 'ready', required — Where the buyer is in BVNK onboarding; 'ready' means the funding rule is live.
            - `verificationUrl` string — Identity-verification (KYC) URL the buyer must complete before funding.
            - `ruleId` string — BVNK on-ramp payment rule id.
            - `ruleStatus` string — Current status of the payment rule.
            - `fundingWalletId` string — BVNK fiat wallet the buyer funds; BVNK auto-converts arriving fiat to crypto.
            - `fiatCurrency` string, required — Fiat currency to fund the rule with.
            - `beneficiaryAddress` string, required — Destination crypto address the converted funds are sent to.
            - `network` string, required — Destination blockchain network.
            - `bankAccount` object — Bank funding details for the buyer's BVNK virtual account.
              - …
            - `instructionsNotes` string, required — Additional human-readable funding instructions.
          - object
            - `provider` 'bvnk', required — Provider that produced this instruction.
            - `kind` 'crypto_deposit', required — Send crypto to BVNK's deposit address; BVNK converts and pays out fiat.
            - `fiatCurrency` 'AED' | 'AFN' | 'ALL' | 'AMD' | 'AOA' | 'ARS' | 'AUD' | 'AWG' | 'AZN' | 'BAM' | 'BBD' | 'BDT' | 'BHD' | 'BIF' | 'BMD' | 'BND' | 'BOB' | 'BRL' | 'BSD' | 'BTN' | 'BWP' | 'BZD' | 'CAD' | 'CDF' | 'CHF' | 'CLP' | 'CNY' | 'COP' | 'CRC' | 'CUP' | 'CVE' | 'CZK' | 'DJF' | 'DKK' | 'DOP' | 'DZD' | 'EGP' | 'ERN' | 'ETB' | 'EUR' | 'FJD' | 'FKP' | 'GBP' | 'GEL' | 'GHS' | 'GIP' | 'GMD' | 'GNF' | 'GTQ' | 'GYD' | 'HKD' | 'HNL' | 'HTG' | 'HUF' | 'IDR' | 'ILS' | 'INR' | 'IQD' | 'IRR' | 'ISK' | 'JMD' | 'JOD' | 'JPY' | 'KES' | 'KGS' | 'KHR' | 'KMF' | 'KPW' | 'KRW' | 'KWD' | 'KYD' | 'KZT' | 'LAK' | 'LBP' | 'LKR' | 'LRD' | 'LSL' | 'LYD' | 'MAD' | 'MDL' | 'MGA' | 'MKD' | 'MMK' | 'MNT' | 'MOP' | 'MRU' | 'MUR' | 'MVR' | 'MWK' | 'MXN' | 'MYR' | 'MZN' | 'NAD' | 'NGN' | 'NIO' | 'NOK' | 'NPR' | 'NZD' | 'OMR' | 'PAB' | 'PEN' | 'PGK' | 'PHP' | 'PKR' | 'PLN' | 'PYG' | 'QAR' | 'RON' | 'RSD' | 'RUB' | 'RWF' | 'SAR' | 'SBD' | 'SCR' | 'SDG' | 'SEK' | 'SGD' | 'SHP' | 'SLE' | 'SOS' | 'SRD' | 'SSP' | 'STN' | 'SYP' | 'SZL' | 'THB' | 'TJS' | 'TMT' | 'TND' | 'TOP' | 'TRY' | 'TTD' | 'TWD' | 'TZS' | 'UAH' | 'UGX' | 'USD' | 'UYU' | 'UZS' | 'VND' | 'VUV' | 'WST' | 'XAF' | 'XCD' | 'XOF' | 'XPF' | 'YER' | 'ZAR' | 'ZMW', required — Fiat currency BVNK pays out after conversion.
            - `destinationAddress` string, required — Solana address to send the crypto deposit to.
            - `cryptoCurrency` 'SOL' | 'USDC' | 'USDT' | 'USDG' | 'PYUSD', required — Crypto asset to send.
            - `network` 'SOLANA', required — Blockchain network for the destination address.
            - `reference` string, required — BVNK channel reference tied to SDP's transfer id.
            - `instructionsNotes` string, required — Additional human-readable funding instructions.
      - `exchangeRate` number — Units of destination crypto per unit of source fiat.
      - `totalSendingAmount` number — Total sending amount in fiat smallest units, including provider fees.
      - `sendingCurrency` object — Currency metadata for `totalSendingAmount`.
        - `code` string, required — Provider currency code.
        - `decimals` integer, required — Provider decimal places for minor-unit amounts.
        - `name` string — Provider currency display name.
        - `symbol` string — Provider currency symbol.
      - `totalReceivingAmount` number — Final crypto amount received in smallest units.
      - `receivingCurrency` object — Currency metadata for `totalReceivingAmount`.
        - `code` string, required — Provider currency code.
        - `decimals` integer, required — Provider decimal places for minor-unit amounts.
        - `name` string — Provider currency display name.
        - `symbol` string — Provider currency symbol.
      - `feesIncluded` number — Fees included in the sending amount, in fiat smallest units.
      - `feeCurrency` object — Currency metadata for `feesIncluded`.
        - `code` string, required — Provider currency code.
        - `decimals` integer, required — Provider decimal places for minor-unit amounts.
        - `name` string — Provider currency display name.
        - `symbol` string — Provider currency symbol.
      - `expiresAt` string, date-time — Timestamp when the quote expires.
      - `clientSecret` string — Stripe on-ramp session client secret for session widgets.
      - `sessionId` string — Provider session identifier for session widgets.
      - `publishableKey` string — Stripe publishable key used to initialize the on-ramp widget.
      - `redirectUrl` string, uri — Provider redirect URL associated with the widget session.
  - `meta` object, required — Response metadata.
    - `requestId` string, required — Request identifier for tracing.
    - `timestamp` string, date-time, required — ISO 8601 timestamp.

## Other responses

- `400` — Error
- `401` — Error
- `403` — Error
- `404` — Error
- `500` — Error

---

[API](https://skmtc.net/solana/apis/solana-developer-platform-api.md) · [All operations](https://skmtc.net/solana/apis/solana-developer-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solana/solana-developer-platform-api/revisions/672b1916ba61/schema)
