Pocketsflow

Billing for your SaaS, minus the billing team.

Create plans, put the checkout in your app, grant access from webhooks. Tax, fraud and chargebacks are handled.

You can use your current AI to set up billing for your SaaS.

Sign in, click Allow. No API key.
Subscriptions list: Pro Membership $19.99 a month, Design Drops Club $12 a month, Inner Circle (Yearly) $490 a year and Template Library Access $8 a month, each publishedSubscriptions list: Pro Membership $19.99 a month, Design Drops Club $12 a month, Inner Circle (Yearly) $490 a year and Template Library Access $8 a month, each published
Your plans, ready to sellMonthly and yearly plans with prices, trials and status.
estimated per sale, no monthly fee
4.7% + $0.30
signed webhook events
19
MCP tools your AI can use
53
API keys, each scoped to its own data
Live + test

See how it works in the dashboard.

Create subscription wizard with the name Northlight Pro Membership, a description, File type and $15 monthly price, beside a purple subscription page preview with a Subscribe buttonCreate subscription wizard with the name Northlight Pro Membership, a description, File type and $15 monthly price, beside a purple subscription page preview with a Subscribe button
A plan in one formPrice, trial, frequency, and what subscribers get: a link back into your app.
Developers, Webhooks: three enabled endpoints (captionly.app, framekit.app and hooks.northlight.studio) with the number of events and created dateDevelopers, Webhooks: three enabled endpoints (captionly.app, framekit.app and hooks.northlight.studio) with the number of events and created date
Webhooks into your appChoose the events each endpoint receives. Every delivery is signed.
Webhook delivery logs: order.completed, credit.balance_changed, customer.subscription.created, invoice.payment_succeeded, order.refunded (failed), credit.auto_refill.succeeded and more, with endpoint, webhook, time and statusWebhook delivery logs: order.completed, credit.balance_changed, customer.subscription.created, invoice.payment_succeeded, order.refunded (failed), credit.auto_refill.succeeded and more, with endpoint, webhook, time and status
Delivery logsEvery event, endpoint and status, so a failed delivery is easy to spot.
import { Pocketsflow } from "pocketsflow";

const pf = new Pocketsflow({ apiKey: process.env.POCKETSFLOW_API_KEY });

// A recurring plan with a trial. Subscribers manage cards and
// plans themselves from their portal.
const offer = await pf.subscriptionOffers.create({
  name: "Pro Membership",
  price: 29,
  frequency: "monthly",
  trialPeriod: 7,
});

// Renewals retry on failure, and MRR stays visible on the dashboard.
console.log(offer._id);

Billing your app can listen to.

Create plans, open checkouts and listen to the subscription lifecycle: created, payment failed, paused, resumed, deleted.

Every resource is an HTTPS endpoint under one base URL with Bearer API keys. Live and test keys are scoped to their own data; the OpenAPI spec is served at /docs.json.

npm install pocketsflow

Common questions.

How do I grant access in my app?

Listen to the signed webhooks: grant on customer.subscription.created, react to invoice.payment_failed, and revoke on customer.subscription.deleted. Verify the HMAC-SHA256 signature on every request. A callback URL on the plan can also send new subscribers straight back into your app.

Is there a built in license key system?

Yes, for one-time products: turn on License keys and every sale gets its own key, which your app activates and validates against public endpoints (docs.pocketsflow.com/api-reference/license-keys). For subscription plans, grant and revoke access from the subscription webhooks, and look orders and customers up with the API when you need to.

Can I charge for usage?

Yes, with prepaid credits. Buyers buy a balance, your backend deducts usage in cents, and buyers who opt in are topped off automatically when it runs out.

Can I put the checkout inside my app?

Yes. Embed it in an iframe on your pricing page. It reports resize, processing and success to your page; rely on the webhook for the final grant.

Is there a test mode?

Yes. Test mode keeps its own products, keys and orders, so you can run the whole flow before going live.

What does it cost?

No monthly fee and no setup fee. Each sale carries one itemized transaction cost, 4.7% + $0.30 estimated (about $5.00 on a $100 sale), covering the platform, payment infrastructure, tax handling and dispute prevention. Selling $50,000 or more a month? The Volume plans lower the platform fee to 1% or 0.5%.

Who handles sales tax and VAT?

Pocketsflow is the Merchant of Record. By default it calculates, collects and remits eligible sales tax and VAT on every sale, handles fraud checks and chargebacks, and sends the buyer an invoice. You can also choose to remit tax yourself in Settings, Taxes.

Can my AI do this for me?

Yes. Add the Pocketsflow MCP server to Claude, ChatGPT, Codex, Grok, Cursor or any MCP client, sign in and click Allow access. No API key. Your AI can then create products, set prices and discounts, open checkouts, read orders and send emails, and every change shows up in your dashboard.

Start selling today.

Sell your first product in minutes.