GET /api/v3/private/exchange/routes/{route}/details HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
{
"state": 0,
"message": "<string>",
"result": {
"route": {
"id": 123,
"status": 123,
"is_enabled": true,
"name": "<string>",
"from": {
"id": 123,
"payment": "<string>",
"code": "<string>",
"designation": "<string>",
"small_code": "<string>",
"network": "<string>",
"network_out": "<string>",
"decimal": 123
},
"to": {
"id": 123,
"payment": "<string>",
"code": "<string>",
"designation": "<string>",
"small_code": "<string>",
"network": "<string>",
"network_out": "<string>",
"decimal": 123
},
"limits": {
"min_give": "<string>",
"max_give": "<string>",
"min_receive": "<string>",
"max_receive": "<string>"
},
"rate": {
"type": "fixed",
"course": "<string>",
"is_type_rate": true,
"default_type_rate": 0,
"modes": {}
},
"features": {},
"sorting": {},
"timestamps": {}
},
"operation": {
"attributes": {
"city_detail": {}
}
},
"snapshot": {
"version": "route-snapshot-v1",
"route_id": 123,
"hash": "<string>",
"expiry_signature": "<string>",
"generated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"fingerprint": {}
},
"operation_contract": {
"version": "operation-contract-v1",
"route": {
"id": 123,
"status": 123,
"is_enabled": true,
"name": "<string>",
"from": {
"id": 123,
"payment": "<string>",
"code": "<string>",
"designation": "<string>",
"small_code": "<string>",
"network": "<string>",
"network_out": "<string>",
"decimal": 123
},
"to": {
"id": 123,
"payment": "<string>",
"code": "<string>",
"designation": "<string>",
"small_code": "<string>",
"network": "<string>",
"network_out": "<string>",
"decimal": 123
},
"limits": {
"min_give": "<string>",
"max_give": "<string>",
"min_receive": "<string>",
"max_receive": "<string>"
},
"rate": {
"type": "fixed",
"course": "<string>",
"is_type_rate": true,
"default_type_rate": 0,
"modes": {}
},
"features": {},
"sorting": {},
"timestamps": {}
},
"operation": {
"attributes": {
"city_detail": {}
}
},
"snapshot": {
"version": "route-snapshot-v1",
"route_id": 123,
"hash": "<string>",
"expiry_signature": "<string>",
"generated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"fingerprint": {}
},
"contract": {
"dynamic_fields": {
"direction_fields": [
{
"key": "<string>",
"type": "<string>",
"required": true,
"show_label": true,
"label": "<string>",
"placeholder": "<string>",
"description": "<string>",
"example": "<string>",
"content_type": "<string>",
"validation": {
"min_length": 2,
"max_length": 2,
"error_message": "<string>",
"remove_spaces": true,
"has_validator_combination": true,
"show_card_brand": true,
"qr_wallet_schemes": [
"<string>"
]
},
"display_scan_qr": true,
"mask": "<string>",
"mask_placeholder": "<string>",
"wallet_validator_type": "<string>",
"options": [
{}
],
"file": {
"allowed_types": [
"<string>"
],
"allowed_extensions": [
"<string>"
],
"accept": "<string>",
"max_file_size_mb": 123,
"max_files": 123
},
"upload": {
"endpoint": "<string>",
"direction_id": 123,
"field_id": 123,
"scope": "currency",
"group": "in"
}
}
],
"fields_in": [
{
"key": "<string>",
"type": "<string>",
"required": true,
"show_label": true,
"label": "<string>",
"placeholder": "<string>",
"description": "<string>",
"example": "<string>",
"content_type": "<string>",
"validation": {
"min_length": 2,
"max_length": 2,
"error_message": "<string>",
"remove_spaces": true,
"has_validator_combination": true,
"show_card_brand": true,
"qr_wallet_schemes": [
"<string>"
]
},
"display_scan_qr": true,
"mask": "<string>",
"mask_placeholder": "<string>",
"wallet_validator_type": "<string>",
"options": [
{}
],
"file": {
"allowed_types": [
"<string>"
],
"allowed_extensions": [
"<string>"
],
"accept": "<string>",
"max_file_size_mb": 123,
"max_files": 123
},
"upload": {
"endpoint": "<string>",
"direction_id": 123,
"field_id": 123,
"scope": "currency",
"group": "in"
}
}
],
"fields_out": [
{
"key": "<string>",
"type": "<string>",
"required": true,
"show_label": true,
"label": "<string>",
"placeholder": "<string>",
"description": "<string>",
"example": "<string>",
"content_type": "<string>",
"validation": {
"min_length": 2,
"max_length": 2,
"error_message": "<string>",
"remove_spaces": true,
"has_validator_combination": true,
"show_card_brand": true,
"qr_wallet_schemes": [
"<string>"
]
},
"display_scan_qr": true,
"mask": "<string>",
"mask_placeholder": "<string>",
"wallet_validator_type": "<string>",
"options": [
{}
],
"file": {
"allowed_types": [
"<string>"
],
"allowed_extensions": [
"<string>"
],
"accept": "<string>",
"max_file_size_mb": 123,
"max_files": 123
},
"upload": {
"endpoint": "<string>",
"direction_id": 123,
"field_id": 123,
"scope": "currency",
"group": "in"
}
}
],
"user_fields": [
{
"key": "<string>",
"type": "<string>",
"required": true,
"show_label": true,
"label": "<string>",
"placeholder": "<string>",
"description": "<string>",
"example": "<string>",
"content_type": "<string>",
"validation": {
"min_length": 2,
"max_length": 2,
"error_message": "<string>",
"remove_spaces": true,
"has_validator_combination": true,
"show_card_brand": true,
"qr_wallet_schemes": [
"<string>"
]
},
"display_scan_qr": true,
"mask": "<string>",
"mask_placeholder": "<string>",
"wallet_validator_type": "<string>",
"options": [
{}
],
"file": {
"allowed_types": [
"<string>"
],
"allowed_extensions": [
"<string>"
],
"accept": "<string>",
"max_file_size_mb": 123,
"max_files": 123
},
"upload": {
"endpoint": "<string>",
"direction_id": 123,
"field_id": 123,
"scope": "currency",
"group": "in"
}
}
],
"checkbox_agreements": [
{}
]
},
"rate": {
"selector_fees": {
"mode": "single",
"options": [
{
"id": 2,
"scope": "common",
"name": "<string>",
"description": "<string>"
}
]
}
},
"files": {
"create_upload_intent_endpoint": "<string>",
"commit_upload_intent_endpoint": "<string>",
"order_field_upload_endpoint": "<string>",
"receipts_endpoint": "<string>",
"receipts_allowed": true
}
}
},
"contract": {
"quote_endpoint": "<string>",
"preflight_endpoint": "<string>",
"order_endpoint": "<string>",
"amount_side": "give",
"currency_fields": [
"<string>"
]
}
},
"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
}
]
}
}
}Exchange
Show exchange route details by id
Read the route terms and fields by its identifier before filling in an order.
GET
/
private
/
exchange
/
routes
/
{route}
/
details
GET /api/v3/private/exchange/routes/{route}/details HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>
{
"state": 0,
"message": "<string>",
"result": {
"route": {
"id": 123,
"status": 123,
"is_enabled": true,
"name": "<string>",
"from": {
"id": 123,
"payment": "<string>",
"code": "<string>",
"designation": "<string>",
"small_code": "<string>",
"network": "<string>",
"network_out": "<string>",
"decimal": 123
},
"to": {
"id": 123,
"payment": "<string>",
"code": "<string>",
"designation": "<string>",
"small_code": "<string>",
"network": "<string>",
"network_out": "<string>",
"decimal": 123
},
"limits": {
"min_give": "<string>",
"max_give": "<string>",
"min_receive": "<string>",
"max_receive": "<string>"
},
"rate": {
"type": "fixed",
"course": "<string>",
"is_type_rate": true,
"default_type_rate": 0,
"modes": {}
},
"features": {},
"sorting": {},
"timestamps": {}
},
"operation": {
"attributes": {
"city_detail": {}
}
},
"snapshot": {
"version": "route-snapshot-v1",
"route_id": 123,
"hash": "<string>",
"expiry_signature": "<string>",
"generated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"fingerprint": {}
},
"operation_contract": {
"version": "operation-contract-v1",
"route": {
"id": 123,
"status": 123,
"is_enabled": true,
"name": "<string>",
"from": {
"id": 123,
"payment": "<string>",
"code": "<string>",
"designation": "<string>",
"small_code": "<string>",
"network": "<string>",
"network_out": "<string>",
"decimal": 123
},
"to": {
"id": 123,
"payment": "<string>",
"code": "<string>",
"designation": "<string>",
"small_code": "<string>",
"network": "<string>",
"network_out": "<string>",
"decimal": 123
},
"limits": {
"min_give": "<string>",
"max_give": "<string>",
"min_receive": "<string>",
"max_receive": "<string>"
},
"rate": {
"type": "fixed",
"course": "<string>",
"is_type_rate": true,
"default_type_rate": 0,
"modes": {}
},
"features": {},
"sorting": {},
"timestamps": {}
},
"operation": {
"attributes": {
"city_detail": {}
}
},
"snapshot": {
"version": "route-snapshot-v1",
"route_id": 123,
"hash": "<string>",
"expiry_signature": "<string>",
"generated_at": "2023-11-07T05:31:56Z",
"expires_at": "2023-11-07T05:31:56Z",
"fingerprint": {}
},
"contract": {
"dynamic_fields": {
"direction_fields": [
{
"key": "<string>",
"type": "<string>",
"required": true,
"show_label": true,
"label": "<string>",
"placeholder": "<string>",
"description": "<string>",
"example": "<string>",
"content_type": "<string>",
"validation": {
"min_length": 2,
"max_length": 2,
"error_message": "<string>",
"remove_spaces": true,
"has_validator_combination": true,
"show_card_brand": true,
"qr_wallet_schemes": [
"<string>"
]
},
"display_scan_qr": true,
"mask": "<string>",
"mask_placeholder": "<string>",
"wallet_validator_type": "<string>",
"options": [
{}
],
"file": {
"allowed_types": [
"<string>"
],
"allowed_extensions": [
"<string>"
],
"accept": "<string>",
"max_file_size_mb": 123,
"max_files": 123
},
"upload": {
"endpoint": "<string>",
"direction_id": 123,
"field_id": 123,
"scope": "currency",
"group": "in"
}
}
],
"fields_in": [
{
"key": "<string>",
"type": "<string>",
"required": true,
"show_label": true,
"label": "<string>",
"placeholder": "<string>",
"description": "<string>",
"example": "<string>",
"content_type": "<string>",
"validation": {
"min_length": 2,
"max_length": 2,
"error_message": "<string>",
"remove_spaces": true,
"has_validator_combination": true,
"show_card_brand": true,
"qr_wallet_schemes": [
"<string>"
]
},
"display_scan_qr": true,
"mask": "<string>",
"mask_placeholder": "<string>",
"wallet_validator_type": "<string>",
"options": [
{}
],
"file": {
"allowed_types": [
"<string>"
],
"allowed_extensions": [
"<string>"
],
"accept": "<string>",
"max_file_size_mb": 123,
"max_files": 123
},
"upload": {
"endpoint": "<string>",
"direction_id": 123,
"field_id": 123,
"scope": "currency",
"group": "in"
}
}
],
"fields_out": [
{
"key": "<string>",
"type": "<string>",
"required": true,
"show_label": true,
"label": "<string>",
"placeholder": "<string>",
"description": "<string>",
"example": "<string>",
"content_type": "<string>",
"validation": {
"min_length": 2,
"max_length": 2,
"error_message": "<string>",
"remove_spaces": true,
"has_validator_combination": true,
"show_card_brand": true,
"qr_wallet_schemes": [
"<string>"
]
},
"display_scan_qr": true,
"mask": "<string>",
"mask_placeholder": "<string>",
"wallet_validator_type": "<string>",
"options": [
{}
],
"file": {
"allowed_types": [
"<string>"
],
"allowed_extensions": [
"<string>"
],
"accept": "<string>",
"max_file_size_mb": 123,
"max_files": 123
},
"upload": {
"endpoint": "<string>",
"direction_id": 123,
"field_id": 123,
"scope": "currency",
"group": "in"
}
}
],
"user_fields": [
{
"key": "<string>",
"type": "<string>",
"required": true,
"show_label": true,
"label": "<string>",
"placeholder": "<string>",
"description": "<string>",
"example": "<string>",
"content_type": "<string>",
"validation": {
"min_length": 2,
"max_length": 2,
"error_message": "<string>",
"remove_spaces": true,
"has_validator_combination": true,
"show_card_brand": true,
"qr_wallet_schemes": [
"<string>"
]
},
"display_scan_qr": true,
"mask": "<string>",
"mask_placeholder": "<string>",
"wallet_validator_type": "<string>",
"options": [
{}
],
"file": {
"allowed_types": [
"<string>"
],
"allowed_extensions": [
"<string>"
],
"accept": "<string>",
"max_file_size_mb": 123,
"max_files": 123
},
"upload": {
"endpoint": "<string>",
"direction_id": 123,
"field_id": 123,
"scope": "currency",
"group": "in"
}
}
],
"checkbox_agreements": [
{}
]
},
"rate": {
"selector_fees": {
"mode": "single",
"options": [
{
"id": 2,
"scope": "common",
"name": "<string>",
"description": "<string>"
}
]
}
},
"files": {
"create_upload_intent_endpoint": "<string>",
"commit_upload_intent_endpoint": "<string>",
"order_field_upload_endpoint": "<string>",
"receipts_endpoint": "<string>",
"receipts_allowed": true
}
}
},
"contract": {
"quote_endpoint": "<string>",
"preflight_endpoint": "<string>",
"order_endpoint": "<string>",
"amount_side": "give",
"currency_fields": [
"<string>"
]
}
},
"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
}
]
}
}
}Русская версия
Sign the request with HMAC v2. Requires the
public-api:exchange:routes:read scope.
Related methods
- Show active exchange route
- Show route capability matrix by id
- Upload an exchange field file
- Show verification requirements for route or order
GET /api/v3/private/exchange/routes/{route}/details HTTP/1.1
Host: your-exchange
Accept: application/json
Authorization: Bearer <token>
X-Api-Signature-Version: v2
X-Api-Timestamp: <unix_timestamp>
X-Api-Nonce: <nonce>
X-Api-Signature: sha256=<hex_digest>