Pocketsflow
HumanAgent

Billing for your SaaS, with the tax and the paperwork handled.

Create plans, open a checkout from your pricing page and grant access from signed webhooks. We are the merchant of record, so VAT, sales tax and chargebacks are ours, not yours.

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

Selling software worldwide means registering for VAT in the EU, GST in Australia and sales tax in a growing list of US states, before you have written a line of billing code.

With Pocketsflow you write the billing code and skip the registrations. A plan is one API call, the checkout is hosted or embedded in your pricing page, and your server hears every lifecycle event as a signed webhook.

We are the legal seller on every charge: we work out the tax, collect it, file it, fight the chargebacks and pay you out. Your users see a receipt with the right tax line.

What's the easiest way to bill a SaaS and handle global sales tax?

Pocketsflow bills your SaaS as the merchant of record: it works out, collects and files VAT and sales tax and fights the chargebacks, so you skip the tax registrations. You create plans with free trials, open a hosted or embedded checkout from your pricing page and grant access from signed webhooks, for 2% a sale and no monthly fee.

Best for
SaaS founders who want plans, trials and webhooks without registering for VAT and sales tax themselves.

What your app plugs into

Plans with trials, priced in code or in the dashboard.

Captionly Pro is $29 a month with a 14-day free trial. The card is collected at checkout and the first charge runs when the trial ends.

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

Checkout on your own site.

Embed the checkout over your pricing page. It reports resize, processing and success to your page, and your user never leaves your domain.

Captionly's own website (Captions for every video you publish) with the Pocketsflow checkout open over it in a popup: Captionly AI credits ($25) with the coin-stack image, an order summary with total $25.00, a blue Pay $25.00 button and buyer protection badges

19 signed webhook events, and a log of every delivery.

customer.subscription.created, invoice.payment_failed, customer.subscription.deleted and the rest, each signed with HMAC-SHA256. The log shows every attempt and lets you resend a failed one.

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

Live and test keys for every environment.

Name a key per service (Production server, Captionly backend, Staging) and revoke one without touching the others. Test mode keeps its own products and orders.

Developers, API Keys: Production server, Captionly backend, MCP: Claude, Zapier sync and Staging keys with masked values, created date and Active statusDevelopers, API Keys: Production server, Captionly backend, MCP: Claude, Zapier sync and Staging keys with masked values, created date and Active status

How access works

  1. Your pricing page opens a checkout.

    pf.checkout.create() for the plan, or the embedded checkout. The user pays with a card, Apple Pay, Google Pay or a local method.

  2. We charge, tax and receipt it.

    The right tax is added for the user's country, the payment is screened for fraud and the receipt goes out.

  3. Your server gets customer.subscription.created.

    Verify the signature, look up the email and switch the plan on. A callback URL can also send the user straight back into your app.

  4. Renewals and cancels arrive the same way.

    invoice.payment_failed lets you warn the user; customer.subscription.deleted tells you to switch the plan off.

Ask your coding agent to wire it up

Cursor, Claude Code or Codex can call the Pocketsflow MCP server while they write your billing code: create the plans, add the webhook, then read the first orders.

Billing your app listens to

Create plans, open checkouts and react to every lifecycle event: created, payment failed, paused, resumed, deleted. Each request is signed with HMAC-SHA256.

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

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.

Can I charge for usage?

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

Is there a license key system?

Yes, for one-time products: every sale gets its own key, which your app activates and validates against public endpoints. For subscription plans, grant and revoke access from the subscription webhooks.

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?

2% a sale, plus card processing passed through at cost. No monthly fee and no setup fee. 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?

We do. Pocketsflow is the merchant of record, the legal seller on every order. We work out the tax for the buyer's country, add it at checkout, file and remit it, screen the payment for fraud, handle chargebacks and send the receipt. You get one payout.

Can my AI do this for me?

Yes. Add the Pocketsflow MCP server to Claude, ChatGPT, Gemini, Grok, Perplexity, Meta AI, Cursor or your own agent, sign in and click Allow access. There is no API key to paste. Your AI gets the same permissions you have, and every change it makes shows up in your dashboard.

Ship billing this afternoon, skip the tax registrations.

Create a plan, embed the checkout, listen for one webhook. We are the seller of record from the first charge.

Start selling free