Allows you to retrieve a detailed quote for a user order. This endpoint should only be called when a user requests a quote by providing the cryptocurrency, fiat, amounts and payment method. This endpoint is for dynamic quotations and not to retrieve a list of static prices that can be cached. For all partners, the rate limit is capped at 500/minute for all endpoints combined which is tied to a single IP.
- Mock serverhttps://docs.banxa.com/_mock/products/hosted-checkout/openapi/{partner}/v2/quotes/{orderType}
- https://api.banxa.comhttps://api.banxa.com/{partner}/v2/quotes/{orderType}
curl -i -X GET \
'https://docs.banxa.com/_mock/products/hosted-checkout/openapi/{partner}/v2/quotes/{orderType}?paymentMethodId=debit-credit-card&crypto=ETH&blockchain=ETH&fiat=AUD&cryptoAmount=0.05&fiatAmount=200&externalCustomerId=user_12345&ipAddress=203.0.113.10&discountCode=XMAS' \
-H 'Accept: application/json' \
-H 'x-api-key: YOUR_API_KEY'Quote for the requested amount. Returned as an array when discountCode is provided.
Response
{ "paymentMethodId": "debit-credit-card", "cryptoAmount": "0.03564700", "fiatAmount": "100.00", "processingFee": "0.92", "networkFee": "1.67" }