Generate a merchant payment link
Generate a payment link for your customers. This endpoint allows merchants to create unique payment links for their products or services.
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 |
Minimum Amount
Unique Transaction ID
When the transaction status changes, a webhook is sent to the URL specified in callBackURL
:
Link Generation
https://pay.dexchange.sn/process/{transactionId}
Transaction Statuses
PENDING
- Awaiting paymentSUCCESS
- Payment successfulFAILED
- Payment failedEXPIRED
- Link expiredSecurity
Notifications
Generate a merchant payment link
Generate a payment link for your customers. This endpoint allows merchants to create unique payment links for their products or services.
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 |
Minimum Amount
Unique Transaction ID
When the transaction status changes, a webhook is sent to the URL specified in callBackURL
:
Link Generation
https://pay.dexchange.sn/process/{transactionId}
Transaction Statuses
PENDING
- Awaiting paymentSUCCESS
- Payment successfulFAILED
- Payment failedEXPIRED
- Link expiredSecurity
Notifications