Démarrage
Introduction
Welcome to the Dexchange API reference documentation. Our API follows RESTful principles and uses standard HTTP methods and status codes.
Base URL
Authentication
All API requests require authentication using an API key. Include your API key in the Authorization header:
Request Format
- Content-Type:
application/json
- Method:
POST
,GET
(as specified per endpoint) - Body: JSON formatted (for POST requests)
Response Format
All responses are returned in JSON format:
Available Endpoints
Transaction Operations
POST /transaction/init
- Initialize a transactionGET /transaction/:transactionId
- Get transaction statusPOST /transaction/refund/:transactionId
- Process refund
Merchant Operations
POST /merchant/get-link
- Generate payment linkGET /merchant/:transactionId
- Get merchant transaction
Service Information
GET /api-services/balance
- Check balanceGET /api-services/services
- List available services
Provider-Specific
POST /transaction/confirm/wizall
- Confirm Wizall transaction
Rate Limits
- Standard tier: 100 requests per minute
- Enterprise tier: Custom limits available
Webhooks
We provide webhooks for real-time transaction updates. Configure your webhook URL in the dashboard.
SDKs and Libraries
Official SDKs available for:
- JavaScript/Node.js
- Python (In progress)
- PHP (In progress)
- Java (In progress)