POST
/
api
/
quotes

Requirements to consume the endpoint.

Create and modify role

The user must have the role to create and modify.

User approved

The user must be approved in at least one country.

Authorizations

x-api-key
string
header
required

Body

application/json
country
enum<string>
required

Country where you want to make the quotation.

Available options:
MX,
PE,
US
crypto
enum<string>
required

Crypto currency.

Available options:
USDC,
USDC_POLYGON_NXTB,
SOL_USDC_PTHX,
USDT_POLYGON,
USDT_ERC20,
TRX_USDT_S2UZ
fiat
enum<string>
required

Fiat currency.

Available options:
USD,
MXN,
PEN
side
enum<string>
required

Side of the quote.

Available options:
buy,
sell
amountCrypto
number

This attribute is used to specify the amount of cryptocurrency you want to buy. You should provide it when you know the exact amount of cryptocurrency you want to buy.

amountFiat
number

This attribute is used to specify the amount of fiat currency you want to convert to cryptocurrency. You should provide it when you know the exact amount of fiat currency you want to spend.

orderId
string

This attribute is used to relate the quote to an existing order.

USBankTransferMethod
enum<string>

Required for orders in the US. For a buy order, this specifies the transfer method used to pay for the order. For a sell order, this specifies the transfer method used to receive the payment.

Available options:
ach_push,
wire
userId
string

Id of the user to which this quote will be associated.

Response

201 - application/json
amountCrypto
number

Amount in crypto currency.

amountFiat
number

Amount in fiat currency.

country
enum<string>

Country of the quote.

Available options:
MX,
PE,
US
createdAt
string

Creation date and time of the quote.

crypto
enum<string>

Crypto currency.

Available options:
USDC,
USDC_POLYGON_NXTB,
SOL_USDC_PTHX,
USDT_POLYGON,
USDT_ERC20,
TRX_USDT_S2UZ
expiresAt
string

Expiration date and time of the quote.

fees
object
fiat
enum<string>

Fiat currency.

Available options:
USD,
MXN,
PEN
id
string

Id of the quote.

netPrice
number

The final price of the order, including taxes and fees

paymentMethod
enum<string>

Payment method.

Available options:
card,
bankTransfer,
cash
price
number

Price of the cryptocurrency in fiat currency.

quoteInCrypto
boolean

Whether the quote is in crypto currency.

reissueAfterExpiration
boolean

Whether to reissue the quote after expiration.

side
enum<string>

Side of the quote.

Available options:
buy,
sell
userId
string

Id of the user who created the quote.