Create Quote
Request a real-time quote to lock in exchange rates and fees before initiating a transaction. Quotes expire after 3 minutes.Endpoint
Request
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
type | string | Yes | Transaction type: "payin", "payout", "bridge", or "onchain_fx" |
source_currency | string | Yes | Fiat code (AED, SAR, USD, EUR, GBP) or stablecoin (USDT, USDC) |
source_network | string | Conditional | Required when source is a stablecoin. Blockchain network: ethereum, base, polygon, tron, stellar, solana, xrpl, sui, hedera |
destination_currency | string | Yes | Fiat code or stablecoin |
destination_network | string | Conditional | Required when destination is a stablecoin |
amount | integer (fiat) or string (stablecoin) | Yes | Fiat in smallest currency unit (e.g., 50000 AED fils); stablecoin in human-readable format (e.g., "500.00") |
corridor | string | Conditional | Required for fiat transactions. Corridor: "uae", "ksa" |
Response
Response Fields
| Field | Type | Description |
|---|---|---|
id | string | Unique quote identifier. Use this in pay-in, payout, and bridge requests. |
type | string | The transaction type specified in the request. |
source_currency | string | Source currency code. |
source_network | string | null | Source blockchain network (null for fiat). |
source_amount | integer | string | Amount in source currency (fiat as integer, stablecoin as string). |
destination_currency | string | Destination currency code. |
destination_network | string | null | Destination blockchain network (null for fiat). |
destination_amount | integer | string | Amount in destination currency (fiat as integer, stablecoin as string). |
exchange_rate | string | Conversion rate (destination per source unit). |
fees | object | Platform and network fees breakdown. |
total_fee | string | integer | Combined fee amount. |
expires_at | string | ISO 8601 timestamp when quote expires (3 minutes from creation). |
created_at | string | ISO 8601 timestamp of quote creation. |
Examples
Fiat to Stablecoin (AED → USDT)
Request a quote to convert 500 AED to USDT on Ethereum:Stablecoin to Fiat (USDC → AED)
Request a quote to convert 500 USDC to AED:Notes
- Quotes expire after 3 minutes. Plan to use the
quote_idimmediately. - Use the
quote_idfrom the response in subsequent pay-in, payout, and bridge requests. - Exchange rates and fees are locked for the duration of the quote.