Developers

A WebView, three JS methods, two webhooks. That's the whole integration.

Designed to be the smallest mobile-app integration your platform team has ever shipped. No SDK to update, no native module, no app-store re-review when our catalog changes.

01

1. Embed the WebView

Add a WebView to your services route. Pass a signed JWT identity in the Authorization header.

SWIFT · ANDROID · FLUTTER
// iOS · Swift
let url = "https://app.alpha-store.online/v1/embed"
let req = URLRequest(url: URL(string: url)!)
req.setValue("Bearer "+jwt, forHTTPHeaderField: "Authorization")
webView.load(req)
02

2. Expose the bridge

Three methods on the bridge: customerToken to fetch a session, balance for live balance, payAuthorize for payment.

JS BRIDGE
window.AlphaBridge = {
  customerToken: () => await bank.issueToken(),
  balance:       () => bank.balance("IQD"),
  payAuthorize:  (req) => bank.authorize(req),
};
03

3. Listen for settlement

Two webhooks: settlement.captured on successful payment, settlement.refunded on refunds.

WEBHOOK PAYLOAD
{
  "event": "settlement.captured",
  "id":    "stl_01HX8K…",
  "gross": 10000, "cost": 9700, "margin": 300,
  "customer": "cust_a31f…",
  "sig": "v1=4f81…"
}

Sandbox keys delivered in 24 hours. Production keys after a 30-minute joint pen-test session.