Quick Start Guide
Get started with the Nexchange API in just a few minutes. This guide will walk you through the basic steps to make your first API call and create a simple exchange order.
Prerequisites
API Key is required
API Key is required to use v2 api endpoints
Websocket usage
Prefer to use websockets over polling
Order Status & Processing
Order Status Values
| Status Code | Status Name | Description |
|---|---|---|
| 0 | CANCELED | Deposit not received and order expired |
| 11 | INITIAL | Order created, awaiting deposit |
| 12 | UNCONFIRMED PAYMENT | Deposit detected but not confirmed |
| 13 | PAID | Deposit confirmed |
| 14 | PRE-RELEASE | Withdrawal transaction being created |
| 15 | RELEASED | Withdrawal transaction broadcasted |
| 16 | COMPLETED | Withdrawal transaction confirmed |
| 6 | INITIATED REFUND | Order refund process initiated |
| 8 | REFUNDED | Order refunded successfully |
| 7 | REFUND FAILED | Order refund failed |
| 9 | PENDING KYC | Waiting for additional due diligence |
Typical order flow
✅ Success Flow:
INITIAL → UNCONFIRMED PAYMENT → PAID → PRE-RELEASE → RELEASED → COMPLETED
❌ Unpaid Flow:
INITIAL → CANCELED
🔍 KYC Success Flow:
INITIAL → UNCONFIRMED PAYMENT → PENDING KYC → PAID → PRE-RELEASE → RELEASED → COMPLETED
🔍 KYC Failure Flow:
INITIAL → UNCONFIRMED PAYMENT → PENDING KYC → INITIATED REFUND → REFUNDED
🔄 Refund Retry Flow:
INITIATED REFUND → REFUND FAILED → INITIATED REFUND → REFUNDED
see more in Orders - Detailed orders endpoint documentation
Next Steps
- 📚 API Reference - Detailed endpoint documentation
Need Help?
If you encounter any issues:
- Review the documentation thoroughly
- Review the full API Reference
- Contact our support team for assistance support@n.exchange
Happy trading! 🚀