Discover coverage
Check the available markets, assets and routes before showing payment options to your customer.
Use indicative rates for display. Request a quote when you need a price you can confirm. The reference pages document each endpoint’s parameters and responses.
Request a quote
Create a quote for the source amount and destination asset. This example requests an off-ramp quote in Sandbox:Quote request
source_amount is in the asset’s smallest unit: 1000000 is 1 USDC, because USDC has 6 decimals. rail is the fiat rail: bank for NGN, mobile_money for GHS.
You do not have to name a network. Onstacks orchestrates the network internally; pass source_network only when you need a specific one.
The response lists eligible providers, ranked by what the recipient receives after fees. Compare the funding amount, payout, fees, rate and expiry before choosing one. The recommended_quote_reference identifies the recommended option.
Confirm a quote
Confirm the quote with the destination details and an idempotency key:Quote confirmation
funding_instructions that tell the customer where to send the funds.
For a bank payout:
- Take
bank_codefromGET /v1/ramp/institutionswith the quote’sproviderand the country. Each provider has its own codes, so a central-bank code such as058can be refused. - Send
account_nameexactly as the bank holds it. The provider verifies the account when the quote is locked. If the names differ, the response is400 recipient_name_mismatchand the message gives the verified name.
quidax quote, send customer.first_name and customer.last_name. On an off-ramp, Quidax only pays an account in that name.
For a GHS mobile-money on-ramp, send the paying account in payer, and set destination.wallet.network to the quote’s network:
GHS on-ramp confirmation
409 quote_changed and no payment is created. error.details.quote holds the locked quote; confirm its quote_reference to accept it.