Initiate a new payment transaction
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 |
serviceCode | string | Yes | Payment service code |
amount | number | Yes | Amount in FCFA (min: 200, max: 1,000,000) |
number | string | Yes | Phone number format: ^[0-9]$ |
callBackURL | string | Yes | URL for webhook notifications |
successUrl | string | Yes | Redirect URL after success |
failureUrl | string | Yes | Redirect URL after failure |
HTTP Code | Description |
---|---|
400 | Invalid parameters or incorrect amount |
401 | Invalid API key |
403 | API under maintenance |
409 | External transaction ID already used |
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
.