home.hero.badge

home.hero.title

home.hero.description

home.howItWorks.title

home.howItWorks.subtitle

01

home.howItWorks.step1.title

home.howItWorks.step1.description

02

home.howItWorks.step2.title

home.howItWorks.step2.description

03

home.howItWorks.step3.title

home.howItWorks.step3.description

home.whyKwit.title

home.whyKwit.subtitle

home.whyKwit.reason1.title

home.whyKwit.reason1.description

home.whyKwit.reason2.title

home.whyKwit.reason2.description

home.whyKwit.reason3.title

home.whyKwit.reason3.description

home.whyKwit.highlight1
home.whyKwit.highlight2
home.whyKwit.highlight3
home.whyKwit.highlight4
home.whyKwit.highlight5
home.whyKwit.highlight6

home.preview.title

home.preview.subtitle

Subscriptions

Manage your active subscriptions.

Active

84+5.2%

Trialing

12

Past Due

3

Canceled

7

Est. MRR

CHF 6,636+12%
All (103)ActiveTrialingPast DueCanceled
CustomerStatus

Jane Doe

jane@acme.com

Active

Max Müller

max@startup.ch

Active

Lena Huber

lena@design.io

Trialing

home.features.title

home.features.subtitle

home.features.productsPricing.title

home.features.productsPricing.description

home.features.customerManagement.title

home.features.customerManagement.description

home.features.subscriptions.title

home.features.subscriptions.description

home.features.invoices.title

home.features.invoices.description

home.features.payments.title

home.features.payments.description

home.features.checkoutSessions.title

home.features.checkoutSessions.description

home.features.apiKeys.title

home.features.apiKeys.description

home.features.webhooks.title

home.features.webhooks.description

home.features.dashboardAnalytics.title

home.features.dashboardAnalytics.description

home.features.dunningRecovery.title

home.features.dunningRecovery.description

home.developer.title

home.developer.description

src/billing.ts
import Kwit from "@kwit/sdk";

const kwit = new Kwit(process.env.KWIT_API_KEY!);

const customer = await kwit.customers.create({
  email: "jane@acme.com",
  name: "Jane Doe",
  currency: "CHF",
});

const { checkoutUrl } = await kwit.checkout.create({
  customerId: customer.id,
  productId: "product_pro_monthly",
  successUrl: "https://app.acme.com/welcome",
  cancelUrl: "https://app.acme.com/pricing",
});

// redirect user to checkoutUrl

home.cta.title

home.cta.description