Skip to main content
await RampKit.init({
  appId: "YOUR_APP_ID",
  autoShowOnboarding: false,
  onOnboardingFinished: (payload) => {},
  onShowPaywall: (payload) => {},
});

Options

OptionTypeDescription
appIdstringYour app ID from the dashboard
autoShowOnboardingbooleanAuto-show after init
onOnboardingFinishedfunctionCalled when onboarding completes
onShowPaywallfunctionCalled when paywall is triggered