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
headerrequired

Body

application/json
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
country
enum<string>
required

Country where you want to make the quotation.

Available options:
MX,
PE,
US
userId
string

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

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.

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.

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

Response

201 - application/json
userId
string

Id of the user who created the quote.

crypto
enum<string>

Crypto currency.

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

Side of the quote.

Available options:
buy,
sell
fiat
enum<string>

Fiat currency.

Available options:
USD,
MXN,
PEN
paymentMethod
enum<string>

Payment method.

Available options:
card,
bankTransfer,
cash
expiresAt
string

Expiration date and time of the quote.

country
enum<string>

Country of the quote.

Available options:
MX,
PE,
US
amountFiat
number

Amount in fiat currency.

amountCrypto
number

Amount in crypto currency.

fees
object
price
number

Price of the cryptocurrency in fiat currency.

createdAt
string

Creation date and time of the quote.

quoteInCrypto
boolean

Whether the quote is in crypto currency.

reissueAfterExpiration
boolean

Whether to reissue the quote after expiration.

netPrice
number

The final price of the order, including taxes and fees

id
string

Id of the quote.