Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs-api.dexchange.sn/llms.txt

Use this file to discover all available pages before exploring further.

Welcome to the Dexchange API reference documentation. Our API follows RESTful principles and uses standard HTTP methods and status codes.

Base URL

https://api-m.dexchange.sn/v1

Authentication

All API requests require authentication using an API key. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY

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:
{
  "message": "Operation status message",
  "success": true,
  "data": {
    // Response data specific to the endpoint
  }
}

Available Endpoints

Transaction Operations

  • POST /transaction/init - Initialize a transaction
  • GET /transaction/:transactionId - Get transaction status
  • POST /transaction/refund/:transactionId - Process refund

Merchant Operations

  • POST /merchant/get-link - Generate payment link
  • GET /merchant/:transactionId - Get merchant transaction

Service Information

  • GET /api-services/balance - Check balance
  • GET /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:

Additional Resources