Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

Mesub pricing and limits

A tier belongs to a project. Its limits count across all the plans of that project, not per plan.

Tiers

FreeDevBusiness
Price$020 USDC every 30 daysCustom
Plans13No limit
Subscribers30150No limit
Shortest period1 day1 dayAny
Automatic retriesNoneYes, per planYes, per plan
Access while a payment is lateOffOn, until the last retryOn, until the last retry
Retries by hand3 per missed periodYesYes
The Owner changes a project's tier in the dashboard, under Billing: see organizations.

What counts

A plan counts while it is live: pending, active, or sunset with an end date still ahead. A failed plan, or one past its end, takes no slot.
A subscriber is a wallet with a subscription that is active, unpaid, or cancelled and not yet past its end. A wallet subscribed to two of your plans counts once.
A seat is one subscriber's place in the project, counted against the tier's subscriber limit. A stopped subscription holds no seat: it takes one again only if it comes back, and only if there is room.
Billing shows both counts for each project, such as "2 of 3 plans · 84 of 150 subscribers".

At a limit

At the plan limit, a new plan cannot be published.
On Free and Dev, a plan bills at most once a day: a shorter period is refused with period_too_short. A plan already live keeps its period, whatever the tier becomes.
At the subscriber limit, a new subscription is refused with seat_cap_reached, when it is created and again when it is submitted: of several checkouts open on the last seat, one goes through. Existing subscribers are not affected.
After a downgrade, a project can hold more subscribers than its new tier allows. The seats over the limit are parked: the wallets that subscribed first keep theirs, the newest are parked. Nothing is charged on a parked seat, and its access runs to the end of the period already paid. See parked seats.

API rate limits

Limits are per API key, per route, per minute.
CallsLimit
Reads: /v1/access, /v1/plans, /v1/subscriptions, /v1/project, /v1/events1,000 a minute
Writes: create, transaction, submit, retry, cancel, resume, close, their confirms60 a minute
Requests with no key, or a wrong one, are counted by IP address: 120 a minute.
Every answer carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset, the seconds until the window starts over. Past a limit, Mesub answers 429 rate_limited with a Retry-After header. The SDK caches access answers, so one customer checked on every request costs far fewer calls than requests.

Other limits

WhatLimit
Webhook endpoints per project16
Subscriptions waiting for a signature, per project1,000
Subscriptions waiting for a signature, per customer5
Plans checked by one guard3
Retries on a plan's own policy10
Shortest wait between two retries15 minutes