Proposed API contract
One integration. A clear contract.
Explore the proposed InfiniStack API. Documentation describes a design contract, not an active hosted payment API.
POST /v1/paymentsProposed API contract
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"
}
}'Use test credentials only. Access is issued after review.
One request. One payment intent.
Send an Idempotency-Key with each creation request. Reuse it for the same payload. An uncertain attempt must be checked before another payment is created.
Verify before fulfilment.
The proposed webhook contract uses HMAC-SHA256 over the timestamp and raw body. Check timestamps and deduplicate event IDs. Always verify payment status server-side.

