Create SPOT Quotation
GET/v2/quotations/spot
Initiate a new SPOT quotation to enable currency conversions. After creating the quotation, retrieve its ID (quotation_id) to use for currency conversion requests.
Request
Query Parameters
Quotation currency.
Quotation currency quote.
Quotation amount in cents.
Possible values: [buy
, sell
]
Quotation side.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
Responses
- 200
- 400
Quotation returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
Quotation ID.
Quotation price buy in cents.
Quotation price sell in cents.
Possible values: [buy
, sell
]
Quotation side.
Quotation quote amount buy.
Quotation quote amount sell.
Quotation quote currency symbol.
Quotation quote currency decimal.
Quotation quote currency title.
Quotation base amount buy.
Quotation base amount sell.
Quotation base currency symbol.
Quotation base currency decimal.
Quotation base currency title.
Quotation TTL date.
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"price_buy": 0,
"price_sell": 0,
"side": "buy",
"quote_amount_buy": 0,
"quote_amount_sell": 0,
"quote_currency_symbol": "BRL",
"quote_currency_decimal": "2",
"quote_currency_title": "Real",
"base_amount_buy": 0,
"base_amount_sell": 0,
"base_currency_symbol": "BTC",
"base_currency_decimal": "8",
"base_currency_title": "Real",
"ttl": "2024-11-22T13:43:07.915Z"
}
If any required params are missing or has invalid format or type.