Create Quote
Creates a quote for converting between different assets (fiat currencies and tokens). Either source-amount OR target-amount must be provided, but not both.
Path Parameters
Body
The asset to convert from (e.g., 'fiat/brl', 'eth-base/brlv', 'eth-base/usdc')
tempo/brlv, eth-base/brlv, eth-mainnet/brlv, fiat/brl, eth-base/usdt, fiat/usd, eth-mainnet/usdt, eth-mainnet/usdc, eth-base/wbrly, eth-base/usdc, eth-base/brly "fiat/brl"
The asset to convert to (e.g., 'fiat/brl', 'eth-base/brlv', 'eth-base/usdc')
tempo/brlv, eth-base/brlv, eth-mainnet/brlv, fiat/brl, eth-base/usdt, fiat/usd, eth-mainnet/usdt, eth-mainnet/usdc, eth-base/wbrly, eth-base/usdc, eth-base/brly "eth-base/usdc"
Amount of source asset to convert (provide either source-amount OR target-amount, not both)
"100.50"
Desired amount of target asset to receive (provide either source-amount OR target-amount, not both)
"500.25"
SISBACEN classification for the FX trade. Required when converting between BRL and a non-BRL-pegged asset (e.g., BRL <-> USDC). Ignored for same-currency conversions such as BRL <-> BRLV.
purchase-or-sale-of-merchandise, purchase-or-sale-of-other-services, transfer-between-same-entity-accounts, offshore-loans-principal, offshore-loans-interest, other-transactions, donation-without-counter-payment, purchase-or-sale-of-business-services, purchase-or-sale-of-computing-services, international-travels "international-travels"
Response
Quote created successfully
ISO 8601 timestamp when the quote expires (millisecond precision)
"2024-01-15T10:30:00Z"
The asset being converted to
tempo/brlv, eth-base/brlv, eth-mainnet/brlv, fiat/brl, eth-base/usdt, fiat/usd, eth-mainnet/usdt, eth-mainnet/usdc, eth-base/wbrly, eth-base/usdc, eth-base/brly "eth-base/usdc"
Unique identifier for the quote
"550e8400-e29b-41d4-a716-446655440000"
The asset being converted from
tempo/brlv, eth-base/brlv, eth-mainnet/brlv, fiat/brl, eth-base/usdt, fiat/usd, eth-mainnet/usdt, eth-mainnet/usdc, eth-base/wbrly, eth-base/usdc, eth-base/brly "fiat/brl"
Amount of source asset to be converted. BRL → 2 dp; USDC/USDT → 6 dp. Always FLOOR-truncated.
"1000.00"
ISO 8601 timestamp when the quote was created (millisecond precision)
"2024-01-15T10:30:00Z"
Pricing breakdown: base rate, spread, service fee, IOF
Amount of target asset to be received. BRL → 2 dp; USDC/USDT → 6 dp. Always FLOOR-truncated.
"194.914826"
Valor Efetivo Total — the all-in rate including spread, fee, and IOF
Regulatory code for the trade reason
"46992"
SISBACEN classification for the FX trade
purchase-or-sale-of-merchandise, purchase-or-sale-of-other-services, transfer-between-same-entity-accounts, offshore-loans-principal, offshore-loans-interest, other-transactions, donation-without-counter-payment, purchase-or-sale-of-business-services, purchase-or-sale-of-computing-services, international-travels "purchase-or-sale-of-other-services"