In sandbox/demo mode the decision is computed by the real engine over a
synthetic statement — no customer data is touched. See the
live demo.
How it works
Customer consents
They tap the card and approve sharing their income & obligations — on Swippee,
never on your page.
You receive the result
On a pre-qualified result the widget posts a short-lived
public_token back to
your page.Quick start (script tag)
React
Options
| Option | Type | Description |
|---|---|---|
app | string | Your institution/app name, shown in the sheet header. |
accent | string | Your brand colour (#rrggbb). Themes the widget; never recolours the Swippee mark. |
amount | number | Advertised maximum loan, NPR (default 500,000). |
theme | string | light or dark (default light). |
bank | string | Your own bank code → excluded from the “add your other banks” grid. |
brand | string | Entry-card attribution: text (default — “Powered by Swippee”), mark (logo + text), or none. Inside the flow, the “Powered by Swippee” footer always shows. |
scenario | string | Sandbox demo profile: salaried, high_risk, thin_file, remittance. |
onResult | function | Fired with { status, public_token, amount, emi, tenor }. |
onClose | function | Fired with { reason } when the customer dismisses the flow. |
The result
amount and emi are the headline pre-qualified offer; terms and final
approval are yours to set. Exchange the public_token for the full
underwriting result:
Security & privacy
- The customer consents on Swippee — your page never sees their statement or login.
- Cross-origin messages are accepted only from the Swippee origin.
- The widget shows a pre-qualification, not a loan offer; the copy makes the institution’s final-decision role explicit.
- Reasons are shown to the customer only on a decline (with encouraging next-steps); the full underwriting detail is server-side, for your team.