POST /api/v3/private/exchange/orders 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>
Idempotency-Key: <idempotency_key>
Content-Type: application/json
{
"route_id": 2,
"amount": "10",
"from_requisite": "SANDBOX-DEMO-SOURCE",
"to_requisite": "SANDBOX-DEMO-DESTINATION",
"snapshot": {
"version": "route-snapshot-v1",
"route_id": 2,
"hash": "626062a83e6f6a4b902a8cc5a216b7749c2e4df2f1ef42ebf71383dd4697c340",
"generated_at": "2026-11-21T18:40:40.772775Z",
"expires_at": "2026-11-21T18:50:40.772775Z",
"expiry_signature": "a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
"fingerprint": {
"route_updated_at": "2026-11-21T18:39:37.000000Z",
"from_currency_updated_at": "2026-11-21T18:39:37.000000Z",
"to_currency_updated_at": "2026-11-21T18:39:37.000000Z"
}
}
}
{
"state": 0,
"message": "Order has been created.",
"meta": {
"request_id": "a7d0a4dd-75da-4547-9644-a23e8d194821",
"correlation_id": "a7d0a4dd-75da-4547-9644-a23e8d194821",
"timestamp": "2026-11-21T18:40:41.268085Z"
},
"result": {
"order": {
"id": 5,
"public_id": "2696843857965",
"tracking_id": "01a1ff69-1d03-7c35-aa9e-784a66d64f88",
"cash_handover": null,
"status": {
"id": 2,
"key": "pending_payment",
"name": "PENDING_PAYMENT",
"reason": null,
"is_final": false,
"is_payment_flow": true,
"is_problem": false
},
"amounts": {
"give": "10",
"receive": "12.5",
"rate": "1 RFTHDDNAALAOP60 = 1.25 RFTWN6MSUG0SAFV",
"give_with_commission": "0",
"receive_with_commission": "0"
},
"currencies": {
"from": {
"id": 3,
"payment": "Rates fixture give",
"code": "RFTHDDNAALAOP60",
"designation": null,
"network": null,
"network_out": null,
"decimal": 4
},
"to": {
"id": 4,
"payment": "Rates fixture receive",
"code": "RFTWN6MSUG0SAFV",
"designation": null,
"network": null,
"network_out": null,
"decimal": 4
}
},
"direction": {
"id": 2,
"name": "rates-fixture-4b15f06d-43c4-43d4-b5fb-de0981f88c1a"
},
"customer": {
"email": "partner@example.test",
"phone": null,
"from_requisite": "SANDBOX-DEMO-SOURCE",
"to_requisite": "SANDBOX-DEMO-DESTINATION"
},
"payment": {
"merchant_provider": null,
"merchant_status": "0",
"payment_address": null,
"is_wallet_issued": false,
"timing": {
"duration_seconds": 3600,
"started_at": "2026-11-21T21:40:41+03:00",
"expires_at": "2026-11-21T22:40:41+03:00",
"remaining_seconds": 3600,
"active": true,
"overdue": false,
"action": "expire",
"changes_status_on_expiry": true,
"processed_at": null,
"source": "global",
"version": 0,
"is_snapshot": true,
"server_time": "2026-11-21T21:40:41+03:00"
},
"request_timing": null
},
"flags": {
"is_archive": false,
"is_frozen": false,
"is_new_user": false,
"is_auto_check_payment": false
},
"timestamps": {
"created_at": "2026-11-21T21:40:41+03:00",
"updated_at": "2026-11-21T21:40:41+03:00",
"started_at": null,
"completed_at": null,
"archived_at": null
}
}
}
}Exchange
Create exchange order
Create an order using the same input as preflight. Set a unique Idempotency-Key for this order. If the outcome is unknown, reuse the key and input with a fresh timestamp, nonce and signature.
POST
/
private
/
exchange
/
orders
POST /api/v3/private/exchange/orders 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>
Idempotency-Key: <idempotency_key>
Content-Type: application/json
{
"route_id": 2,
"amount": "10",
"from_requisite": "SANDBOX-DEMO-SOURCE",
"to_requisite": "SANDBOX-DEMO-DESTINATION",
"snapshot": {
"version": "route-snapshot-v1",
"route_id": 2,
"hash": "626062a83e6f6a4b902a8cc5a216b7749c2e4df2f1ef42ebf71383dd4697c340",
"generated_at": "2026-11-21T18:40:40.772775Z",
"expires_at": "2026-11-21T18:50:40.772775Z",
"expiry_signature": "a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
"fingerprint": {
"route_updated_at": "2026-11-21T18:39:37.000000Z",
"from_currency_updated_at": "2026-11-21T18:39:37.000000Z",
"to_currency_updated_at": "2026-11-21T18:39:37.000000Z"
}
}
}
{
"state": 0,
"message": "Order has been created.",
"meta": {
"request_id": "a7d0a4dd-75da-4547-9644-a23e8d194821",
"correlation_id": "a7d0a4dd-75da-4547-9644-a23e8d194821",
"timestamp": "2026-11-21T18:40:41.268085Z"
},
"result": {
"order": {
"id": 5,
"public_id": "2696843857965",
"tracking_id": "01a1ff69-1d03-7c35-aa9e-784a66d64f88",
"cash_handover": null,
"status": {
"id": 2,
"key": "pending_payment",
"name": "PENDING_PAYMENT",
"reason": null,
"is_final": false,
"is_payment_flow": true,
"is_problem": false
},
"amounts": {
"give": "10",
"receive": "12.5",
"rate": "1 RFTHDDNAALAOP60 = 1.25 RFTWN6MSUG0SAFV",
"give_with_commission": "0",
"receive_with_commission": "0"
},
"currencies": {
"from": {
"id": 3,
"payment": "Rates fixture give",
"code": "RFTHDDNAALAOP60",
"designation": null,
"network": null,
"network_out": null,
"decimal": 4
},
"to": {
"id": 4,
"payment": "Rates fixture receive",
"code": "RFTWN6MSUG0SAFV",
"designation": null,
"network": null,
"network_out": null,
"decimal": 4
}
},
"direction": {
"id": 2,
"name": "rates-fixture-4b15f06d-43c4-43d4-b5fb-de0981f88c1a"
},
"customer": {
"email": "partner@example.test",
"phone": null,
"from_requisite": "SANDBOX-DEMO-SOURCE",
"to_requisite": "SANDBOX-DEMO-DESTINATION"
},
"payment": {
"merchant_provider": null,
"merchant_status": "0",
"payment_address": null,
"is_wallet_issued": false,
"timing": {
"duration_seconds": 3600,
"started_at": "2026-11-21T21:40:41+03:00",
"expires_at": "2026-11-21T22:40:41+03:00",
"remaining_seconds": 3600,
"active": true,
"overdue": false,
"action": "expire",
"changes_status_on_expiry": true,
"processed_at": null,
"source": "global",
"version": 0,
"is_snapshot": true,
"server_time": "2026-11-21T21:40:41+03:00"
},
"request_timing": null
},
"flags": {
"is_archive": false,
"is_frozen": false,
"is_new_user": false,
"is_auto_check_payment": false
},
"timestamps": {
"created_at": "2026-11-21T21:40:41+03:00",
"updated_at": "2026-11-21T21:40:41+03:00",
"started_at": null,
"completed_at": null,
"archived_at": null
}
}
}
}Русская версия
Sign the request with HMAC v2. Requires the
public-api:exchange:orders:create scope. Accepts Idempotency-Key.
Proceed to creation after a successful preflight decision. For 409 idempotency_in_progress, wait for Retry-After when present and retry with the same input and key. For 422, correct the reported fields.
Related methods
- Simulate exchange order creation without writing tasks
- Show current client exchange order
- Validate an exchange order before creation
POST /api/v3/private/exchange/orders 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>
Idempotency-Key: <idempotency_key>
Content-Type: application/json
{
"route_id": 2,
"amount": "10",
"from_requisite": "SANDBOX-DEMO-SOURCE",
"to_requisite": "SANDBOX-DEMO-DESTINATION",
"snapshot": {
"version": "route-snapshot-v1",
"route_id": 2,
"hash": "626062a83e6f6a4b902a8cc5a216b7749c2e4df2f1ef42ebf71383dd4697c340",
"generated_at": "2026-11-21T18:40:40.772775Z",
"expires_at": "2026-11-21T18:50:40.772775Z",
"expiry_signature": "a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
"fingerprint": {
"route_updated_at": "2026-11-21T18:39:37.000000Z",
"from_currency_updated_at": "2026-11-21T18:39:37.000000Z",
"to_currency_updated_at": "2026-11-21T18:39:37.000000Z"
}
}
}
Authorizations
Headers
Body
application/json
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
- Option 16
- Option 17
- Option 18
- Option 19
- Option 20
- Option 21
- Option 22
- Option 23
- Option 24
- Option 25
- Option 26
- Option 27
- Option 28
- Option 29
- Option 30
- Option 31
- Option 32
- Option 33
- Option 34
- Option 35
- Option 36
Response
Order created or previously created order replayed. A replay returns the same result with fresh request metadata and Idempotency-Replayed set to true.