Initier une nouvelle transaction de paiement
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 |
serviceCode | string | Oui | Code du service de paiement |
amount | number | Oui | Montant en FCFA (min: 200, max: 1,000,000) |
number | string | Oui | Numéro de téléphone format: ^[0-9]$ |
callBackURL | string | Oui | URL pour les notifications webhook |
successUrl | string | Oui | URL de redirection après succès |
failureUrl | string | Oui | URL de redirection après échec |
Code HTTP | Description |
---|---|
400 | Paramètres invalides ou montant incorrect |
401 | Clé API invalide |
403 | API en maintenance |
409 | ID de transaction externe déjà utilisé |
callBackURL
:
Entrez votre clé API comme: Bearer <API_KEY>
Détails de la transaction
The body is of type object
.
Transaction initiée avec succès
The response is of type object
.