Retrieve quotes batch
GET/v1/quotes/:batch_id
Retrieve a quotes batch with specified id.
Request
Path Parameters
Responses
- 200
- 401
- 403
- 404
- 500
Quotes batch
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
The batch id for the rate quotes.
The currency code that you want to buy.
Possible values: >= 3 characters and <= 3 characters
The currency code that you want to sell.
Possible values: >= 3 characters and <= 3 characters
The amount you want to buy.
The amountyou want to sell.
The tenor value for the quote e.g. SPOT, CASH (T+0), NEXT DAY (T+1)
Possible values: [SPOT, TOD, TOM]
SPOTSPOTQuotes returned in the response.
Possible values: [all, best]
allRestrict quotes to specified sources.
quotes
object[]
The unique identifier for the quote.
The source's unique identifier for the quote.
The unique identifier fo the client.
The rate for the quote.
The source of the quote.
The quote expiry in milliseconds.
Quote date.
Rejection status.
Possible values: [pending, accepted, rejected]
pendingerror
object
An error may be received in response to a failed request.
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.
{
"batch_id": "string",
"buy_currency": "string",
"sell_currency": "string",
"buy_amount": 0,
"sell_amount": 0,
"tenor": "SPOT",
"type": "all",
"sources": [
"string"
],
"quotes": [
{
"id": "string",
"source_id": "string",
"client_id": "string",
"rate": 0,
"source": "string",
"expires": 0,
"quote_date": "2024-07-29T15:51:28.071Z",
"status": "pending"
}
],
"error": {
"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": {}
}
Not authorized for the requested action.
- 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": {}
}