Créer un payout
Payouts
Créer un payout
Envoyer de l’argent vers Mobile Money
POST
Créer un payout
Documentation Index
Fetch the complete documentation index at: https://docs.sahelpay.ml/llms.txt
Use this file to discover all available pages before exploring further.
Créer un payout
Crée un nouveau payout (envoi d’argent) vers un compte Mobile Money.Endpoint
Headers
| Header | Requis | Description |
|---|---|---|
Authorization | ✅ | Bearer sk_xxx |
Content-Type | ✅ | application/json |
X-Idempotency-Key | Recommandé | Clé unique pour éviter les doublons |
Body
| Paramètre | Type | Requis | Description |
|---|---|---|---|
amount | integer | ✅ | Montant en FCFA (min: 100, max: 5,000,000) |
provider | string | ✅ | ORANGE_MONEY, WAVE, ou MOOV |
recipient_phone | string | ✅ | Numéro de téléphone du destinataire (+223…) |
recipient_name | string | Nom du destinataire | |
description | string | Description du payout | |
type | string | Type: MERCHANT_WITHDRAWAL, SUPPLIER_PAYMENT, SALARY, COMMISSION, REFUND, OTHER | |
metadata | object | Données personnalisées | |
idempotency_key | string | Clé d’idempotence |
Exemple
Réponse
Erreurs
| Code | Description |
|---|---|
INVALID_AMOUNT | Montant invalide (< 100 ou > 5,000,000) |
INSUFFICIENT_FUNDS | Solde insuffisant |
INVALID_PROVIDER | Provider non supporté |
DUPLICATE_PAYOUT | Payout déjà créé (idempotence) |