Référence API
La version 1 est un contrat proposé. Aucun endpoint de cette page ne traite de fonds réels.
Authentification
Proposition : clés Bearer de test par marchand et environnement. Ne placez jamais de secret dans le navigateur ou une application mobile.
Erreurs et limites
Réponses proposées : 400 saisie invalide, 401 clé invalide, 409 conflit d’idempotence, 429 limite, 503 prestataire indisponible. Limites finales à définir.
Statuts de paiement
CREATED, PROCESSING, PENDING, SUCCEEDED, FAILED, EXPIRED, UNKNOWN. L’expiration n’est finale qu’après confirmation de l’absence de débit.
curl https://sandbox.infinistack.example/v1/payments \
-H "Authorization: Bearer sk_test_example" \
-H "Idempotency-Key: order_sample_01" \
-H "Content-Type: application/json" \
-d '{
"amount": 10000,
"currency": "XAF",
"country": "TD",
"reference": "order_sample_01",
"payment_method": "airtel",
"customer": {
"phone": "+23566000000"
}
}'Identifiants test uniquement. Accès délivré après examen.
POST /v1/paymentsPrévu
GET /v1/payments/{id}Prévu
POST /v1/payment-linksPrévu
GET /v1/payment-methodsPrévu
POST /v1/refundsPrévu
GET /v1/settlementsPrévu
POST /v1/webhook-endpointsPrévu

