Générer un lien de paiement marchand
Nom | Type | Requis | Description |
---|---|---|---|
Authorization | string | Oui | Bearer YOUR_API_KEY |
Content-Type | string | Oui | application/json |
Paramètre | Type | Requis | Description |
---|---|---|---|
externalTransactionId | string | Oui | Votre identifiant unique de transaction |
ItemName | string | Oui | Nom du produit ou service |
ItemPrice | number | Oui | Prix en FCFA (minimum: 100) |
customData | string | Non | Données additionnelles au format JSON |
callBackURL | string | Oui | URL pour les notifications webhook |
successUrl | string | Oui | URL de redirection après paiement réussi |
failureUrl | string | Oui | URL de redirection après échec |
ClientName | string | Non | Nom du client |
ClientPhone | string | Non | Numéro de téléphone du client |
string | Non | Adresse email du client |
Code HTTP | Description |
---|---|
400 | Paramètres invalides ou montant minimum non atteint |
401 | Clé API invalide |
403 | API en maintenance |
409 | ID de transaction externe déjà utilisé |
callBackURL
:
https://pay.dexchange.sn/process/{transactionId}
PENDING
- En attente de paiementSUCCESS
- Paiement réussiFAILED
- Paiement échouéEXPIRED
- Lien expiré