Sell your app on the web, keep every customer.
Sell downloads, Pro upgrades and yearly plans from a web checkout. Your app unlocks Pro from a signed webhook.


- estimated per sale, no monthly fee
- 4.7% + $0.30
- signed webhook events
- 19
- to open a checkout session
- 1 call
- for Personal, Pro and Team tiers
- Variants
See how it works in the dashboard.





import { createHmac, timingSafeEqual } from "node:crypto";
export async function POST(req: Request) {
const raw = await req.text();
const signature = req.headers.get("X-Pocketsflow-Signature") ?? "";
const expected = createHmac("sha256", process.env.POCKETSFLOW_WEBHOOK_SECRET!)
.update(raw)
.digest("hex");
if (!timingSafeEqual(Buffer.from(signature), Buffer.from(expected))) {
return new Response("invalid signature", { status: 401 });
}
const event = req.headers.get("X-Pocketsflow-Event");
const payload = JSON.parse(raw);
switch (event) {
case "order.completed":
// Your app issues the license or unlocks Pro for this buyer.
await unlockPro(payload.customer.email);
break;
case "order.refunded":
await lockPro(payload.customer.email);
break;
}
return new Response("ok");
}Unlock Pro from your own code.
Sell the unlock on a hosted or embedded checkout, then switch Pro on in your app from the signed order.completed webhook.
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 does my app know someone paid?
Add a webhook for order.completed (and order.refunded). Your server receives the order with the buyer's email, verifies the HMAC-SHA256 signature, and unlocks Pro. A callback URL can also send the buyer straight back to your app with their order id.
Does Pocketsflow generate license keys?
Yes, for one-time products. Turn on License keys in the product editor and every sale gets its own key, in the buyer's receipt and purchases, with an optional activation limit. Your app activates and validates the key against public endpoints, with no secret key inside the app, and a refunded or disputed order's key stops validating. Docs: docs.pocketsflow.com/api-reference/license-keys. You can still unlock from the order.completed webhook if you prefer your own keys.
Can I sell in-app purchases inside iOS or Android apps?
Pocketsflow sells on the web: a hosted or embedded checkout. Follow your app store's rules for in-app sales; many developers sell desktop apps, plugins, extensions and web upgrades this way.
How do I ship updates to buyers?
Replace the file on the product and new downloads get the new version, or sell a yearly subscription that covers updates.
Can I offer Personal and Team licenses?
Yes. Use variants on one product, each with its own price, or publish separate products.
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.