Recurring payments on Solana, billed from your server
Mesub charges a customer's wallet on a schedule, without holding their funds.
The customer approves a plan once, Mesub pulls the price to your wallet at
every period, and your server asks Mesub who has access.
You publish a plan in the dashboard, add
@mesub/node to your server, and gate what is paid. A React widget is there
for the wallet part if you want it.
Start here
Your first subscriber
A plan, an API key, the server routes and a button, in four steps.
Check access
Ask whether a customer has access, with hasAccess, a guard, or GET /v1/access.
Webhooks
Hear when a subscription renews, misses a payment or ends.
API reference
Every route with its parameters, its answers and its error codes. Try a request from the page.
Understand
How it works: the flow from a click to a renewal,
and the on-chain accounts behind it.
Lifecycle: every status, what a late payment does,
cancelling and resuming.