Get a fiat on-ramp quote (card -> USDC on Ethereum)
Get an indicative quote for buying USDC on Ethereum with a card.
Returns the estimated USDC the user will receive for a given fiat amount,
the exchange rate, fee breakdown (business_fees is 0), and the provider
min/max limits. The output is always USDC on Ethereum delivered to the
destination_address — this is a non-custodial on-ramp, so Compass never
holds the funds.
This quote is indicative and may expire (expires_at). To actually start a
payment, call POST /v2/onramp/create.
Body
An indicative fiat -> USDC-on-Ethereum quote request.
The output asset and chain are fixed to USDC on Ethereum and are not user-supplied — this product group delivers only USDC to the user's own wallet (non-custodial).
Amount of fiat to spend, as a decimal string (e.g. 100).
"100"
The wallet that will receive the USDC on Ethereum. Funds are delivered here directly — Compass never holds them.
"0x29F20a192328eF1aD35e1564aBFf4Be9C5ce5f7B"
ISO-4217 fiat currency code. Defaults to USD.
"USD"
Response
Successful Response
An indicative fiat -> USDC-on-Ethereum quote.
Fiat amount to spend.
"100"
ISO-4217 fiat currency code.
"USD"
Estimated USDC delivered, human-readable (6-decimal token).
"98.50"
USDC received per unit of fiat.
"0.985"
Fee breakdown.
Delivered asset. Always USDC for this on-ramp.
"USDC"Delivery chain. Always Ethereum for this on-ramp.
"ethereum"Minimum fiat amount accepted, if advertised by the provider.
"20"
Maximum fiat amount accepted, if advertised by the provider.
"10000"
ISO-8601 timestamp after which this quote is stale, if any.