Nom réservé par WariFlow. Le SDK officiel n'est pas encore publié — l'API s'utilise en HTTP.
Project description
wariflow
Nom réservé. Ce paquet ne contient aucune fonctionnalité.
Il existe pour que le nom wariflow appartienne à WariFlow sur PyPI, et à
personne d'autre. Le SDK officiel n'est pas encore publié.
Utiliser WariFlow aujourd'hui
L'API est en HTTP et JSON : elle s'intègre sans aucune dépendance particulière.
import os, uuid, requests
reponse = requests.post(
"https://api.wariflow.app/api/transactions",
headers={
"Authorization": f"Bearer {os.environ['WARIFLOW_SECRET_KEY']}",
# Un rejeu ne crée pas un second débit.
"Idempotency-Key": str(uuid.uuid4()),
},
json={
"amount": 5000,
"currency": "XOF",
"channel": "orange_money",
"customer": "Awa Traoré",
"description": "Commande #1234",
},
)
print(reponse.json()["reference"])
Depuis un serveur, jamais depuis un client. Une clé secrète exposée côté navigateur ou dans une application mobile permet d'encaisser au nom du marchand.
Documentation
Le SDK officiel sera annoncé sur cette page. Si vous croisez un paquet WariFlow publié sous un autre compte, il ne vient pas de nous.
Éditeur
Dynamic Solutions Holdings — Abidjan, Côte d'Ivoire
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wariflow-0.0.1.tar.gz.
File metadata
- Download URL: wariflow-0.0.1.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4efbf7dda28c68607342ad85b84ff235432e95b3670ef6e148ba83823a265e0
|
|
| MD5 |
e12241203e5c41d7c0b5de84499aea27
|
|
| BLAKE2b-256 |
ec89324e5b53e1360b0bd908d4165c6e44e71349584a73c83485cfa19f87357c
|
File details
Details for the file wariflow-0.0.1-py3-none-any.whl.
File metadata
- Download URL: wariflow-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
44d6631db877adf819d5cd935320f0ba6e33334d88b9960f548e98d5767719bb
|
|
| MD5 |
4ba05934330dcb32e1841dcdb2a3a846
|
|
| BLAKE2b-256 |
4abc50f755fdb125476a14b5f3436379108c344b7addde9f46fdd8ccb954f4a5
|