Skip to main content
POST
Create a quote for currency/token conversion

Path Parameters

account-id
string<uuid>
required

Body

application/json
source-asset
enum<string>
required

The asset to convert from (e.g., 'fiat/brl', 'eth-base/brlv', 'eth-base/usdc')

Available options:
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
Example:

"fiat/brl"

target-asset
enum<string>
required

The asset to convert to (e.g., 'fiat/brl', 'eth-base/brlv', 'eth-base/usdc')

Available options:
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
Example:

"eth-base/usdc"

source-amount

Amount of source asset to convert (provide either source-amount OR target-amount, not both)

Example:

"100.50"

target-amount

Desired amount of target asset to receive (provide either source-amount OR target-amount, not both)

Example:

"500.25"

trade-reason
enum<string> | null

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. Every reason but transfer-between-same-entity-accounts must be enabled for the account first.

Available options:
transfer-between-same-entity-accounts,
international-travels,
international-card-or-electronic-payment-with-virtual-assets
Example:

"transfer-between-same-entity-accounts"

rate-lock
enum<string> | null

Quote rate lock to price the quote under, by name (e.g. '10m'). Only for FX conversions between BRL and a non-BRL-pegged asset, and only for rate locks enabled on the account. Omit for the base validity.

Available options:
15s,
10m
Example:

"10m"

payment-term
enum<string> | null

How long after accepting the quote the BR code may be paid: '10m' (ten minutes after acceptance), 'd0' (until the end of today's trading day, the default) or 'd1' (until the end of the next business day). The exact deadline comes back on the order as 'expiration'. Only for BRL to stablecoin conversions paid through a BR code. Payment terms must be enabled individually on your account; a term that is not enabled is refused.

Available options:
10m,
d0,
d1
Example:

"10m"

Response

Quote created successfully

expires-at
string<date-time>
required

ISO 8601 timestamp when the quote expires (millisecond precision)

Example:

"2024-01-15T10:30:00Z"

target-asset
enum<string>
required

The asset being converted to

Available options:
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
Example:

"eth-base/usdc"

id
string<uuid>
required

Unique identifier for the quote

Example:

"550e8400-e29b-41d4-a716-446655440000"

source-asset
enum<string>
required

The asset being converted from

Available options:
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
Example:

"fiat/brl"

source-amount
string<decimal>
required

Amount of source asset to be converted. BRL → 2 dp; USDC/USDT → 6 dp. Always FLOOR-truncated.

Example:

"1000.00"

created-at
string<date-time>
required

ISO 8601 timestamp when the quote was created (millisecond precision)

Example:

"2024-01-15T10:30:00Z"

pricing
object
required

Pricing breakdown: base rate, spread, service fee, IOF

target-amount
string<decimal>
required

Amount of target asset to be received. BRL → 2 dp; USDC/USDT → 6 dp. Always FLOOR-truncated.

Example:

"194.914826"

off-market-pricing
boolean
required

True when this quote was priced outside normal market conditions. The quoted rate may differ from standard pricing; you can wait for conditions to normalize or proceed at the quoted rate.

Example:

false

vet
object
required

Valor Efetivo Total — the all-in rate including spread, fee, and IOF

trade-reason-code
string

Regulatory code for the trade reason: 67995 for transfer-between-same-entity-accounts, 32999 for international-travels, 34203 for international-card-or-electronic-payment-with-virtual-assets

Example:

"67995"

trade-reason
enum<string>

SISBACEN classification for the FX trade

Available options:
transfer-between-same-entity-accounts,
international-travels,
international-card-or-electronic-payment-with-virtual-assets
Example:

"transfer-between-same-entity-accounts"

rate-lock
string

Quote rate lock the quote was granted. Present only when one was requested and granted; a quote without it has the base validity.

Example:

"10m"

payment-term
enum<string>

Payment term the quote was priced under: '10m' or 'd1'. Absent for a quote priced under the default term, which a BR code pays until the end of today's trading day.

Available options:
10m,
d1
Example:

"10m"