Developer Docs

Integrate AlixFast hosted checkout in minutes. Your customers pay with JazzCash, Easypaisa, NayaPay, OneQR, bank transfer, USDT via Binance or PayPal — you get a signed webhook the moment a payment is verified.

1. Authentication

Every API call carries your merchant keys (find them in your panel under Integration after approval). Live and test keys are separate; test keys create sandbox payments that never touch real money.

X-AlixFast-Key: YOUR_PUBLIC_KEY
Authorization: Bearer YOUR_SECRET_KEY

2. Create a payment

POST https://alixfast.com/api/create.php
Content-Type: application/json

{ "amount": "2500.00", "order_ref": "ORDER-1001",
  "success_url": "https://yourshop.pk/thanks",
  "cancel_url": "https://yourshop.pk/cart" }

Response:

{ "ok": true, "id": 123, "checkout_url": "https://alixfast.com/checkout.php?t=TOKEN" }

Redirect your customer to checkout_url. They pick a method, pay, enter the transaction ID (TID), and we verify it — Binance by API, wallets by payment-email matching.

3. Check payment status

GET https://alixfast.com/api/status.php?id=123
{ "ok": true, "id": 123, "status": "verified", "method": "jazzcash",
  "amount": "2500.00", "fee": "87.50", "net": "2412.50", "tid": "884120..." }

4. Webhooks

When a payment is verified we POST the same JSON to your webhook URL with a signature header. Verify it before trusting it:

X-AlixFast-Signature: hash_hmac('sha256', $rawBody, YOUR_SECRET_KEY)

Failed deliveries retry automatically up to 5 times. The full delivery log is in your panel.

5. Ready-made integrations

Approved merchants can download complete, working modules — no coding needed:

  • PerfectPanel (SMM script) — drop-in add-funds gateway module with auto-credit callback.
    Download PerfectPanel module (.zip)
  • SmartPanel (SMM script) — drop-in payment module with auto-credit callback.
    Download SmartPanel module (.zip)
  • WooCommerce (WordPress e-commerce) — full payment gateway plugin; orders complete automatically on verified payment.
    Download WooCommerce plugin (.zip)
  • Custom website / other scripts — use the REST API above, or simply create a Payment Link in your panel and share it anywhere (WhatsApp, Instagram, your site).

Each download includes a step-by-step install guide (English + Roman Urdu notes). Your API keys are in your panel under Integration.