POST
/
quotes

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
amount
number
required

100 represents 1.00, 1000 represents 10.00.

Required range: x > 100
token
enum<string>
required

Token to be used in the transaction.

Available options:
USDC,
USDT,
USDX
type
enum<string>
required

Type of quote to create.

Available options:
payin,
payout
bankAccountId
string

The ID of the bank account.

blockchainAccountId
string

The ID of the blockchain account.

paymentMethod
enum<string>

Payment method for the transaction.

Available options:
pix

Response

201 - application/json
commercialQuotation
number
required

1 USD = 5.95 BRL.

expiresAt
number
required

Unix timestamp when the quote expires.

flatFee
number
required

0.50 USDX

id
string
required

Quote identifier.

providerContract
object
required

The provider contract details for approval.

providerQuotation
number
required

1 USD = 5.85 BRL (commercial quotation - provider taxes).

receiverAmount
number
required

52.40 BRL.

senderAmount
number
required

10.10 USDX needs to be sent to bank account blockchain address.

type
enum<string>
required

Type of quote.

Available options:
payin,
payout