Create Quote
Authentication
OAuth 2.0 Bearer token authentication. This API uses OAuth 2.0 Client Credentials flow. Please refer to the Authentication section for detailed information on how to obtain and use your OAuth credentials.
Path parameters
Request
Currency to sell in ISO 4217 Currency Codes three-letter format (e.g., GBP, USD, EUR). Must be different from buy_currency.
Currency to buy in ISO 4217 Currency Codes three-letter format (e.g., GBP, USD, EUR). Must be different from buy_currency.
The monetary amount for the currency conversion, interpreted based on the fixed_side parameter.
Amount Interpretation
The meaning of this field depends on the fixed_side value:
- When
fixed_side: "BUY": Amount ofbuy_currencyyou want to receive - When
fixed_side: "SELL": Amount ofsell_currencyyou want to exchange
Practical Examples
BUY Side Fixed
Result: Quote to receive exactly 1,000 USD (you’ll pay the equivalent in GBP)
SELL Side Fixed
Result: Quote to sell exactly 1,000 GBP (you’ll receive the equivalent in USD)
Validation Rules
- Minimum: 0.01 (one cent/penny equivalent)
- Precision: Maximum 2 decimal places
- Format: Standard decimal notation (e.g., 1000.50, not 1,000.50)
Quote Response Behavior
Which side of the payment you want to fix. The default is SELL. See amount.
Options:
BUY: Fix the buy amount (you know exactly how much you want to receive)SELL: Fix the sell amount (you know exactly how much you want to pay)
Default: SELL
Response
Unique identifier for this quote.
Usage: Reference this ID when creating payments via Create Payment API
Currency you want to sell.
Format: 3-letter ISO 4217 currency code
Currency you want to buy.
Format: 3-letter ISO 4217 currency code
Amount you want to exchange. Note: If the fixed_side is ‘SELL’ (the default) this amount relates to the sell_currency. If the fixed_side is ‘BUY’ it relates to the buy_currency.