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.


- 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.






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.
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.