await RampKit.init({
appId: "YOUR_APP_ID",
autoShowOnboarding: false,
onOnboardingFinished: (payload) => {},
onShowPaywall: (payload) => {},
});
Options
| Option | Type | Description |
|---|---|---|
appId | string | Your app ID from the dashboard |
autoShowOnboarding | boolean | Auto-show after init |
onOnboardingFinished | function | Called when onboarding completes |
onShowPaywall | function | Called when paywall is triggered |