Generate a merchant payment link
Name | Type | Required | Description |
---|---|---|---|
Authorization | string | Yes | Bearer YOUR_API_KEY |
Content-Type | string | Yes | application/json |
Parameter | Type | Required | Description |
---|---|---|---|
externalTransactionId | string | Yes | Your unique transaction identifier |
ItemName | string | Yes | Product or service name |
ItemPrice | number | Yes | Price in FCFA (minimum: 100) |
customData | string | No | Additional data in JSON format |
callBackURL | string | Yes | URL for webhook notifications |
successUrl | string | Yes | Redirect URL after successful payment |
failureUrl | string | Yes | Redirect URL after failure |
ClientName | string | No | Customer name |
ClientPhone | string | No | Customer phone number |
string | No | Customer email address |
HTTP Code | Description |
---|---|
400 | Invalid parameters or minimum amount not met |
401 | Invalid API key |
403 | API under maintenance |
409 | External transaction ID already used |
callBackURL
:
https://pay.dexchange.sn/process/{transactionId}
PENDING
- Awaiting paymentSUCCESS
- Payment successfulFAILED
- Payment failedEXPIRED
- Link expired