Functionality Overview
The API calculates the price based on:- The fiat currency (from_currency).
- The crypto token to be purchased (to_currency).
- The blockchain network (network).
- Either the fiat amount to be converted (from_amount) or the crypto amount required (to_amount).
Sample Request
Here’s an example API request. Sample request:Note: For payment methods that incur a banking/partner fee, thefee_breakupobject may also include an additionalbanking_feekey (a number). It is omitted from the response when zero.
Required Parameters
Additional Notes
- Preferred Network: While all major networks are supported, Matic is recommended due to lower costs.
- Mandatory Parameters: Ensure all required parameters are included to avoid errors.