Pocketsflow
HumanAgent

Sell your app or SaaS with license keys, trials and webhooks built in.

A $49 Mac license gets its own key at checkout. A $29 a month plan starts with a free trial. Your app hears about both by signed webhook, and we collect and remit the VAT on each one as the merchant of record.

Works with
Subscription editor for Captionly Pro, a $29 plan with subscription type Integrate (manage access in your app using the API and webhooks), beside its subscription page previewSubscription editor for Captionly Pro, a $29 plan with subscription type Integrate (manage access in your app using the API and webhooks), beside its subscription page preview

Captionly Pro: the plan your app creates, reads and changes in code.

What is the best way to sell software licenses and SaaS subscriptions?

Pocketsflow sells desktop app licenses and SaaS plans from one checkout, with a license key on every sale and a free trial on any plan. Your app checks keys through public activate and validate endpoints, so no secret ships inside the binary, and hears about every order, renewal and refund by signed webhook. Pocketsflow collects and remits the VAT on each sale as the merchant of record.

Best for
Developers selling desktop apps, plugins and SaaS plans who want license keys, trials and webhooks.

What apps and SaaS sell here

Each line is one product or plan, on the same checkout and the same payout. The names and prices are examples.

The five features you will use most

Each one shown in the real dashboard, with the plan it starts on. The rest are on the features page.

A license key on every sale

Each order gets its own key, in the receipt and the buyer's library. Your app calls the public activate and validate endpoints, so no secret ships inside the binary, and a refunded order's key stops validating on its own.

See the license key docsFree on every plan

The License key card on an order: the buyer's key, its status and activations, with Disable key and Reset activationsThe License key card on an order: the buyer's key, its status and activations, with Disable key and Reset activations

Trials that convert on their own

Set a free trial on the plan. The buyer sees the trial length and the price after it on the checkout, adds a card, and is charged only when the trial ends. Your app hears about the new subscription by webhook the moment it starts.

See SaaS billingFree on every plan

Subscription checkout for Captionly Pro: 14 day free trial, then $29.00 per month, with the plan, its terms and the price beside the payment details

Prepaid credits with auto-refill

Sell a $25 credit pack, deduct 150 cents per render from your backend, and let the balance top itself up from the saved card before it hits zero.

See creditsFree on every plan

Create subscription wizard for Captionly Studio monthly credits with subscription type Credits, auto-refill enabled and a $15 credit pack each billing cycle, beside a subscription page previewCreate subscription wizard for Captionly Studio monthly credits with subscription type Credits, auto-refill enabled and a $15 credit pack each billing cycle, beside a subscription page preview

A webhook for every change

Orders, refunds, renewals, failed payments and cancellations, each signed with HMAC-SHA256. Every delivery is logged, so you can see when a grant failed and why.

See the webhook docsFree on every plan

Create webhook form with endpoint URL captionly.app/api/webhooks/pocketsflow, a description and the Order completed event, beside Node.js example code that verifies the x-pocketsflow-signature headerCreate webhook form with endpoint URL captionly.app/api/webhooks/pocketsflow, a description and the Order completed event, beside Node.js example code that verifies the x-pocketsflow-signature header

Your coding agent can wire it up

Claude Code, Cursor or Codex create the products, the checkout and the webhook over MCP. You sign in and click Allow; there is no API key to paste into a prompt.

See MCPFree on every plan

Developers, MCP: Run your business from your AI, a Copy prompt for your AI button, one-tap buttons for Claude, ChatGPT, Codex, Grok, Grok Bot, Meta AI and Cursor, and three steps: copy the prompt, sign in and click Allow access, then ask for anythingDevelopers, MCP: Run your business from your AI, a Copy prompt for your AI button, one-tap buttons for Claude, ChatGPT, Codex, Grok, Grok Bot, Meta AI and Cursor, and three steps: copy the prompt, sign in and click Allow access, then ask for anything

The code you would write

Create the plan with the typed SDK, listen for the subscription events, and open the checkout. Live and test keys are separate, so you can run all three end to end before launch.

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);

Or ask your AI to set it up

Connect Claude, ChatGPT or Gemini once: paste our URL, sign in, click Allow. It gets the same tools as the dashboard, and anything that goes live or moves money asks you first.

Help me set up license keys and SaaS billing for my software.

Every change it makes shows up in your dashboard.

Connect your AI

What you keep from a typical month

An example, not a promise: a $29 a month SaaS plan with 150 subscribers, 40% abroad. Run through the same published fees as our fee calculator, checked November 2, 2026.

You keep $4,070.10 of $4,350.00.

2% per sale plus card processing at cost, with sales tax and VAT handled (2% tax handling fee on taxed sales). No monthly fee. Sales tax and VAT are handled for you.

Price per month
$29
Paying subscribers
150
Buyers outside the US
40%
Revenue this month
$4,350

Compared with Gumroad, Lemon Squeezy and Payhip

That is $401.25 more than on Gumroad, $60.45 more than on Lemon Squeezy and $134.85 more than on Payhip.

PlatformFees / moYou keepEffective
PocketsflowDigital products$279.90$4,070.106.43%
GumroadDirect sales$681.15$3,668.8515.66%
Lemon SqueezyStandard$340.35$4,009.657.82%
PayhipFree Forever$414.75$3,935.259.53%

Comparing with a flat monthly plan like Stan or Kajabi? See the full breakdown.

Published fees for a seller in the US, with card processing added where a platform charges it separately. Gumroad, Lemon Squeezy and Payhip are trademarks of their owners, named only to compare published prices.

Selling on Lemon Squeezy or Gumroad today?

See how the fees compare, and how your products, customers and email list come with you.

Questions

How does my app check a license key?

Call POST /licenses/activate when the user enters the key and POST /licenses/validate on launch. Both are public endpoints, so no API key ships inside your app, and the key of a refunded or disputed order stops validating on its own.

Can I sell license keys on a subscription?

License keys are for one-time products. For a subscription, grant and revoke access from the subscription webhooks, or check the subscriber's status through the API.

Can I charge per seat or by usage?

Yes, on every plan. Set seats and meters on a subscription offer, and report each subscriber's usage from your app through the API.

Is there a test mode?

Yes. Live and test keys are separate, so you can run checkouts and webhooks end to end before you go live.

I sell on Lemon Squeezy or Gumroad today. Can I move?

Yes. On every plan, including Free, the import connects to Lemon Squeezy or Gumroad and brings your products, customers, purchase history and email list over after you review a dry run. Nothing is written until you confirm.

What does it cost?

No monthly fee to sell. You pay 2% a sale, plus card processing at cost, both itemized on every order. The platform fee covers checkout, sales tax and VAT handling and dispute prevention. In the worked example on this page, you keep $401.25 more a month than on Gumroad, $60.45 more a month than on Lemon Squeezy and $134.85 more a month than on Payhip. Selling $50,000 or more a month? The Volume plans lower the platform fee to 1% or 0.5%.

Selling something else?

  1. 01AI appsCredit packs, usage billing and plans, charged from inside your app.
  2. 02Agencies and servicesPackages, retainers and paid calls, paid before the work starts.
  3. 03CoachesSessions, packages and group programs, paid before the first call.
  4. 04Course creatorsA course player, a sales page and launch pricing in one account.
  5. 05DesignersTemplates, presets, fonts and asset packs, delivered the second they pay.
  6. 06Musicians and producersBeats, sample packs, presets and stems, sold to fans anywhere, in their own currency when you turn it on.
  7. 07WritersEbooks, guides and a paid newsletter on one list.

Start selling to your users today.

No monthly fee to sell. Tax, fraud checks and payouts are handled from the first order.

Start selling free