Initialize Merchant Payment
Generate a payment link for your customers. This endpoint allows merchants to create unique payment links for their products or services.Endpoint
Headers
Request Body
Parameters
Response
Successful Response (201)
Error Response (400)
Error Codes
Validations
-
Minimum Amount
-
Unique Transaction ID
Request Example
Webhook Notification
When the transaction status changes, a webhook is sent to the URL specified incallBackURL:
Notes
-
Link Generation
- Payment link is generated automatically
- Format:
https://pay.dexchange.sn/process/{transactionId} - Valid until payment or expiration
-
Transaction Statuses
PENDING- Awaiting paymentSUCCESS- Payment successfulFAILED- Payment failedEXPIRED- Link expired
-
Security
- API key verification
- External ID uniqueness validation
- Merchant status verification
-
Notifications
- Webhook for status updates
- Merchant confirmation email
- Real-time updates via WebSocket