Get Quotation by Conversion ID
GET/otc/conversions/:id/quotations
Retrieve the quotation related to a conversion by specifying its ID.
Request
Path Parameters
id stringrequired
Conversion UUID.
Header Parameters
nonce stringrequired
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
id stringrequired
Quotation ID.
price_buy numberrequired
Quotation price buy.
price_sell numberrequired
Quotation price sell.
side stringrequired
Possible values: [buy
, sell
]
Quotation side.
quote_amount_buy numberrequired
Quotation quote amount buy.
quote_amount_sell numberrequired
Quotation quote amount sell.
quote_currency_symbol stringrequired
Quotation quote currency symbol.
quote_currency_decimal numberrequired
Quotation quote currency decimal.
quote_currency_title stringrequired
Quotation quote currency title.
base_amount_buy numberrequired
Quotation base amount buy.
base_amount_sell numberrequired
Quotation base amount sell.
base_currency_symbol stringrequired
Quotation base currency symbol.
base_currency_decimal numberrequired
Quotation base currency decimal.
base_currency_title stringrequired
Quotation base currency title.
created_at date-time
Quotation created at.
{
"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",
"created_at": "2024-11-22T13:43:07.725Z"
}
If any required params are missing or has invalid format or type.
Loading...