Retrieve trade
GET/v1/trades/:id
Retrieves the trade for the given id.
Request
Path Parameters
Responses
- 200
- 400
- 401
- 404
- 500
- 503
Your request has been successfully processed.
- application/json
- Schema
- Example (from schema)
Schema
Id for the trade.
Source order id for the trade.
Source execution id for the trade.
Source for the exected trade.
The currency that you bought.
The currency that you sold.
The amount that you bought.
The anount that you sold.
The rate for the trade.
Trade date.
{
"id": "string",
"source_order_id": "string",
"source_execution_id": "string",
"source": "string",
"buy_currency": "string",
"sell_currency": "string",
"buy_amount": 0,
"sell_amount": 0,
"price": 0,
"trade_date": "2024-07-29T15:51:28.071Z"
}
One or more parameter values are invalid. Please check and retry.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}
Authentication token is required for this action that was not provided, expired or invalid.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}
The requested endpoint or entity does not exist.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}
Internal server error.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}
The server is currently unavailable due to non-working hours. Please try again later.
- application/json
- Schema
- Example (from schema)
Schema
Links error message to a specific event in the system.
The code for the error that has occurred.
The text for the error that has occurred.
An optional parameter name related to the error. Usually present for input validation errors.
An optional parameter value related to the error. Set to input value of named parameter.
{
"errorId": "string",
"code": "string",
"text": "string",
"parameter_name": "string",
"parameter_value": {}
}