List Conversions
GET/v3/otc/conversions
Retrieve a list of currency conversions associated with the specified user. Optional filter parameters can be used to refine your search.
Request
Query Parameters
Default value: 1
Page number.
Possible values: <= 100
Default value: 20
Page size. Max size is 100.
Possible values: [created_at
]
Page sort attribute.
Possible values: [asc
, desc
]
Default value: asc
Page order.
Operation ID for conversion.
Currency Symbol for conversion.
Quotation ID for conversion.
Possible values: [buy
, sell
]
Conversion type.
Created at start for any conversion.
Created at end for any conversion.
Header Parameters
The nonce ID is a UUID (v4) used to uniquely identify the requisition. All requisitions must have an identifier.
Responses
- 200
- 400
- 401
- 422
The conversions returned successfully.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
Page number.
Page size.
Page total.
Total of elements.
data object[]required
Conversion data.
Conversion UUID.
Operation UUID. Used to track the conversion.
Quotation UUID. Used to track the quotation for this conversion.
Conversion price.
Possible values: [buy
, sell
]
Conversion side.
Conversion quote amount.
Conversion quote currency symbol.
Conversion quote currency decimal.
Conversion quote currency title.
Conversion base amount.
Conversion base currency symbol.
Conversion base currency decimal.
Conversion base currency title.
Conversion created at.
{
"page": 1,
"page_size": 20,
"page_total": 20,
"total": 100,
"data": [
{
"id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"operation_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"quotation_id": "f6e2e084-29b9-4935-a059-5473b13033aa",
"price": 0,
"side": "buy",
"quote_amount": 0,
"quote_currency_symbol": "BRL",
"quote_currency_decimal": "2",
"quote_currency_title": "Real",
"base_amount": 0,
"base_currency_symbol": "BTC",
"base_currency_decimal": "8",
"base_currency_title": "Real",
"created_at": "2024-11-22T13:43:07.727Z"
}
]
}
If any required params are missing or has invalid format or type.
User authentication failed.
If any required params are missing or has invalid format or type.