curl --request GET \
--url "https://your-exchange/api/v3/public/orders/statuses" \
--header 'Accept: application/json'
{
"state": 0,
"message": "<string>",
"result": {
"statuses": [
{
"id": 123,
"key": "<string>",
"name": "<string>",
"is_final": true,
"is_payment_flow": true,
"is_problem": true,
"color": "<string>",
"class": "<string>",
"allows_operator_actions": true,
"sorting": 123
}
]
},
"meta": {
"request_id": "<string>",
"correlation_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"mode": "page",
"current_page": 2,
"per_page": 2,
"total": 1,
"last_page": 2,
"from": 123,
"to": 123,
"has_more": true
},
"filters": {},
"sort": [
"<string>"
],
"summary": {
"total": 123,
"bonus_sum": "<string>",
"currency": "<string>",
"confirmed_accruals": 123,
"by_currency": [
{
"currency": "<string>",
"bonus_sum": "<string>",
"confirmed_accruals": 123
}
]
}
}
}{
"state": 1,
"message": "<string>",
"code": 123,
"error": {
"code": "authentication_required",
"type": "authentication_required",
"details": {
"fields": {},
"issues": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>",
"severity": "error",
"meta": {}
}
],
"required_scopes": [
"<string>"
],
"retry_after": 1,
"period": "day",
"limit": 123,
"used": 123,
"remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"reason": "<string>",
"is_banned": true,
"ends_at": "2023-11-07T05:31:56Z",
"idempotency_key": "<string>",
"message": "<string>",
"cost": {},
"headers": [
"<string>"
],
"algorithm": "<string>",
"ip": "<string>",
"max": 123,
"locked_until": "2023-11-07T05:31:56Z",
"exceeded": true
}
},
"meta": {
"request_id": "<string>",
"correlation_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"mode": "page",
"current_page": 2,
"per_page": 2,
"total": 1,
"last_page": 2,
"from": 123,
"to": 123,
"has_more": true
},
"filters": {},
"sort": [
"<string>"
],
"summary": {
"total": 123,
"bonus_sum": "<string>",
"currency": "<string>",
"confirmed_accruals": 123,
"by_currency": [
{
"currency": "<string>",
"bonus_sum": "<string>",
"confirmed_accruals": 123
}
]
}
}
}Orders
Public order status dictionary
Get the order status codes and their display labels. Use the codes when handling API responses.
GET
/
public
/
orders
/
statuses
curl --request GET \
--url "https://your-exchange/api/v3/public/orders/statuses" \
--header 'Accept: application/json'
{
"state": 0,
"message": "<string>",
"result": {
"statuses": [
{
"id": 123,
"key": "<string>",
"name": "<string>",
"is_final": true,
"is_payment_flow": true,
"is_problem": true,
"color": "<string>",
"class": "<string>",
"allows_operator_actions": true,
"sorting": 123
}
]
},
"meta": {
"request_id": "<string>",
"correlation_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"mode": "page",
"current_page": 2,
"per_page": 2,
"total": 1,
"last_page": 2,
"from": 123,
"to": 123,
"has_more": true
},
"filters": {},
"sort": [
"<string>"
],
"summary": {
"total": 123,
"bonus_sum": "<string>",
"currency": "<string>",
"confirmed_accruals": 123,
"by_currency": [
{
"currency": "<string>",
"bonus_sum": "<string>",
"confirmed_accruals": 123
}
]
}
}
}{
"state": 1,
"message": "<string>",
"code": 123,
"error": {
"code": "authentication_required",
"type": "authentication_required",
"details": {
"fields": {},
"issues": [
{
"field": "<string>",
"code": "<string>",
"message": "<string>",
"severity": "error",
"meta": {}
}
],
"required_scopes": [
"<string>"
],
"retry_after": 1,
"period": "day",
"limit": 123,
"used": 123,
"remaining": 123,
"resets_at": "2023-11-07T05:31:56Z",
"reason": "<string>",
"is_banned": true,
"ends_at": "2023-11-07T05:31:56Z",
"idempotency_key": "<string>",
"message": "<string>",
"cost": {},
"headers": [
"<string>"
],
"algorithm": "<string>",
"ip": "<string>",
"max": 123,
"locked_until": "2023-11-07T05:31:56Z",
"exceeded": true
}
},
"meta": {
"request_id": "<string>",
"correlation_id": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"pagination": {
"mode": "page",
"current_page": 2,
"per_page": 2,
"total": 1,
"last_page": 2,
"from": 123,
"to": 123,
"has_more": true
},
"filters": {},
"sort": [
"<string>"
],
"summary": {
"total": 123,
"bonus_sum": "<string>",
"currency": "<string>",
"confirmed_accruals": 123,
"by_currency": [
{
"currency": "<string>",
"bonus_sum": "<string>",
"confirmed_accruals": 123
}
]
}
}
}Русская версия
Public request. No token or signature required.
Related methods
curl --request GET \
--url "https://your-exchange/api/v3/public/orders/statuses" \
--header 'Accept: application/json'