create_quote
Generate a currency exchange quote for converting USDC or USDT to fiat (EUR, USD, GBP, etc.) on Ethereum or Polygon, showing exchange rate, fees, and payout amount.
Instructions
Get a quote for currency exchange. Quotes show the exchange rate, fees, and amount the customer will receive. Quotes expire after 30 seconds. Currently supports crypto → fiat (off-ramp) with more types coming soon.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toCountry | Yes | Destination country code (e.g., 'GR', 'US', 'GB') | |
| customerId | No | The customer ID to associate this quote with. Required if the quote will be used to create a transfer. | |
| fromAmount | Yes | Amount to convert (e.g., '125.75') | |
| toCurrency | Yes | Destination currency code (e.g., 'EUR', 'USD', 'GBP') | |
| fromNetwork | Yes | Blockchain network for the source crypto | |
| fromCurrency | Yes | Source cryptocurrency (USDC or USDT) | |
| paymentMethodType | Yes | Payment method for fiat payouts - 'SWIFT' for international, 'LOCAL' for domestic rails |