What are the common practices to build a MiniApp?

When building a MiniApp for the GoPay ecosystem, it is important to follow industry-proven practices to ensure scalability, security, and seamless integration. The goal of a MiniApp is to provide a lightweight, fast, and reliable application that runs inside the GoPay Super App while leveraging GoPay APIs and SDKs for payments, authentication, and user services.

Below are the recommended practices for building and launching your MiniApp:


AreaBest PracticeWhy It Matters
Plan Your MiniAppDefine your MiniApp’s purpose (e.g., ordering, loyalty, booking), and what is the required APIs (login, payments, device features), and expected user traffic.Helps GoPay allocate the right permissions and ensures smooth scaling.
Submit & OnboardFill in the MiniApp submission form and join the GoPay MiniApp Portal workspace.Grants your team access to the tools and credentials needed for development.
Setup Project in PortalCreate a new MiniApp project in the GoPay MiniApp Portal and bind it with your local project.Keeps your MiniApp registered and linked to GoPay for integration and version control.
Use GoPay Container SDKIntegrate login, payments, and native device features (camera, location, biometrics) through the SDK.Delivers a native-like user experience and reduces development complexity.
Authentication FlowImplement getAuthCode on FE and getAuthToken on BE using provided credentials.Ensures secure and seamless login via GoPay account id without handling sensitive data.
Payments IntegrationUse BI-SNAP one-time checkout: redirect to GoPay for payment, then back to MiniApp.Provides a trusted, seamless payment experience while keeping security managed by GoPay.
Consistent UI/UXMerchants can design their own UI while optionally using GoPay’s design patterns for login, payments, and navigation to keep user experiences consistent.Builds user trust and makes the MiniApp feel native inside GoPay.
Test in ContainerValidate login, payments, and error flows inside the GoPay container before publishing.Prevents production issues and ensures a smooth experience.
Publish & Submit for ReleasePackage your MiniApp, upload it via the portal, and request release approval.Keeps releases fast and avoids lengthy app store reviews.
Monitor & ImproveTrack performance, payments, and user behavior via the GoPay platform analytics.Enables continuous optimization and better business insights.