Skip to Content
Nouvelle documentation Applite - JS SDK, Dart SDK & REST API
REST APIFinance

API Finance

Endpoints pour la gestion du solde et des transactions.

SDK: client.app.finance

Endpoints

Obtenir le solde

Récupère le solde actuel de l’application.

POST /app/{appId}/balance
ChampTypeRequisDescription
apiKeystringOuiClé API
curl -X POST https://api.applite.ai/app/{appId}/balance \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key" }'

Lister les transactions

Récupère l’historique des transactions.

POST /app/{appId}/transaction/list
ChampTypeRequisDescription
apiKeystringOuiClé API
curl -X POST https://api.applite.ai/app/{appId}/transaction/list \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key" }'

Obtenir une transaction

Récupère les détails d’une transaction spécifique.

POST /app/{appId}/transaction/{id}
ChampTypeRequisDescription
apiKeystringOuiClé API
curl -X POST https://api.applite.ai/app/{appId}/transaction/{txnId} \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key" }'

Effectuer un retrait

Initie un retrait de fonds vers un compte externe.

POST /app/{appId}/withdraw
ChampTypeRequisDescription
apiKeystringOuiClé API
amountnumberOuiMontant à retirer
phoneNumberstringOuiNuméro de téléphone destinataire
passwordstringOuiMot de passe de confirmation
paymentMethodstringOuiMéthode: mobile_money, bank_transfer
curl -X POST https://api.applite.ai/app/{appId}/withdraw \ -H "Content-Type: application/json" \ -d '{ "apiKey": "your_api_key", "amount": 25000, "phoneNumber": "+225070000000", "password": "your_password", "paymentMethod": "mobile_money" }'

Le retrait nécessite une authentification par mot de passe et respecte les limites journalières configurées.

Last updated on