Take payments where you already manage your users.

Use Forte's APIs for one-time purchases and subscriptions, powered by Stripe. Below, a customer pays on the right while the Forte console on the left shows the payment, the call to your service, and a refund of one line.

Charge in your app, grant access in your service

A payment takes two pieces of code. Your app starts a checkout for the signed-in user, and Forte works out the tax. When the payment completes or is refunded, Forte calls a route in your service, which decides what the customer gets.

Read the checkout guide about Charge in your app, grant access in your service
Your app charges the signed-in userapp/checkout.ts
const { stripeClientSecret, stripePublishableKey, stripeConnectedAccountId } =  await forte.users.createCheckout({    projectId,    createCheckoutRequest: {      currency: "usd",      lineItems: [        { description: "Onboarding session", unitAmountCents: 15000, quantity: 1, taxCode: "txcd_20030000" },      ],      subscriptions: [{        interval: "MONTH",        lineItems: [          { description: "Pro plan (monthly)", unitAmountCents: 2500, quantity: 1, taxCode: "txcd_10000000" },        ],      }],      customerAddress,    },  }); const stripe = await loadStripe(stripePublishableKey, { stripeAccount: stripeConnectedAccountId });const elements = stripe.elements({ clientSecret: stripeClientSecret });elements.create("payment").mount("#payment-element");
Your service grants access once it's paidpayments-worker/server.ts
app.post("/hooks/payments", async (req, res) => {  // Forte strips this header from outside traffic, so only Forte can send it.  if (req.get("X-Forte-Trusted") !== "1") return res.sendStatus(403);   const { userId, paymentId, state } = req.body;  if (state === "COMPLETED") await grantPlan(userId, paymentId);  if (state === "REFUNDED") await revokePlan(userId, paymentId);  res.sendStatus(200);});

See every payment from the console

Revenue, refunds and top products for the last 30 days, then every payment with its line items, tax, subscription and refund history. Pick a task below and do it yourself in the console.

Read the docs about See every payment from the console

Handle subscriptions, saved methods, and refunds

  • Take one-time payments with cards or ACH direct debit.
  • Save payment methods, calculate tax, and issue refunds.
  • Run subscriptions with recurring charges and a grace period for failed renewals.
  • Deliver payment triggers to your services for product access and follow-up work.
Read the docs about Handle subscriptions, saved methods, and refunds

From the Forte blog

See the full path from deployment to a test payment

Follow a practical SaaS architecture through hosting, sign-in, persistent data, payment handling, and production diagnostics.

Read the guide

Ship production-ready products faster with Forte.

Connect your repo and launch, operate, debug, scale, and monetize from one platform.