Get Buy Quotes
Changed onGenerates price quotes from all available providers based on the provided input parameters.
🛠️ Please Use https://api-stg.onramper.com/ For Test Environments
Request
- Base URLhttps://api.onramper.com
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
Source currency
Destination currency
Query parameters
Transaction amount in selected fiat currency
Payment method for the transaction
Unique user id
Client Name if applicable for client preferred recommendation
Transaction type (buy/sell). Default buy
Wallet Address (If applicable)
Is the qupte for recurring payment ? Default false
Country override. If not specified, the country will be automatically determined based on the IP address from which the request originates.
if offrampCallbackUrl is being provided for transaction initiation of offramping then the value should be true else false
Where your integration runs. Providers that require platform whitelisting are omitted from the results when this is absent. Send the same value in the checkout request body.
Headers
Response
OK
Changes
- info
added the new optional
queryrequest parameterplatform
- info