MiniApp Quickstart
This is a v1 outline for partners.
Build a MiniApp
- Build a web app (SPA) that runs on a single origin.
- Use the
window.emali2.*JS API for: - requesting payments
- requesting QR scan results
- Host your assets on HTTPS. In production, Emali 2.0 may re-host your bundle on an Emali-controlled CDN.
Register
Miniapps are registered in the Emali 2.0 Developer Portal. You will submit: - a manifest - a signed bundle - your allowed origins
Example entry URL (domain is environment-specific):
- https://miniapps.test.emali2.damplabs.com/<miniAppId>/index.html
Test
Emali 2.0 provides a sandbox environment and test users.
For platform endpoints, see MiniApps API.