Proposed API contract

SDKs & integrations

JavaScript and PHP SDKs are planned first. No official package has been published.

Use the HTTP contract

Examples show ordinary HTTP clients, not a fictional InfiniStack SDK. Python, TypeScript and cURL examples are also provided.

WooCommerce

A WooCommerce plugin is planned after the API and payment routes are validated. Do not install packages claiming official support without verification.

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.