Test API PViT / KalasPay
InitPaiement, SplitPaiement et vérification du statut — PHP 5 + cURL — sans base de données
InitPaiement
Référence
Montant (FCFA)
Numéro Mobile Money
Opérateur
Compte par défaut
Airtel Money
Moov Money
VM
Secret PViT
Initier le paiement
SplitPaiement
Exemple :
montant 1 000 FCFA, bénéficiaire 1 = 60%, bénéficiaire 2 = 40%.
Le total doit être égal à
100%
pour PERCENT ou au montant total pour FIXED.
Référence
Montant (FCFA)
Numéro du payeur
Type de partage
Pourcentage
Montants fixes
Secret PViT
Bénéficiaires JSON
[ { "destination": { "kind": "MOBILE_MONEY", "msisdn": "077000001" }, "value": 60 }, { "destination": { "kind": "MOBILE_MONEY", "msisdn": "066000002" }, "value": 40 } ]
Initier SplitPaiement
Vérification du statut
Transaction ID
Référence
Compte opération
Type transaction
PAYMENT
Secret PViT
Vérifier le statut
Informations de transaction
Réponse API
En attente d'une opération...