Marlin is the complete billing layer for businesses accepting stablecoin payments on Solana. Create invoices, run recurring subscriptions, and embed a checkout widget — all with funds settling directly to your wallet, non-custodially, at 50 bps flat.Documentation Index
Fetch the complete documentation index at: https://yanhgming.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Get your first invoice created and paid in under 5 minutes.
Authentication
Generate an API key and authenticate your first request.
API Reference
Explore all REST endpoints with request and response examples.
TypeScript SDK
Install
@marlin/sdk and start billing with a few lines of code.Subscriptions
Learn how delegated recurring billing works on Solana.
Embed Widget
Drop a checkout widget into any React app or static site.
How it works
Create your account
Connect your Solana wallet on the Marlin dashboard. Sign a message to verify ownership — no email or password required.
Get an API key
In Settings → API Keys, generate a secret key. You’ll use this to authenticate every API call and SDK request.
Create an invoice or subscription plan
Use the REST API, TypeScript SDK, or dashboard to create your first invoice or recurring plan. Marlin returns a hosted checkout URL instantly.
Why Marlin
Non-custodial
Funds settle on-chain to your wallet. Marlin never holds your money.
50 bps flat
One simple fee per settled payment. No monthly costs, no tiers.
Multi-stablecoin
Accept USDC, PYUSD, and USDG with no extra configuration.
Stripe-like DX
Familiar API design, signed webhooks, and a TypeScript SDK your team already knows how to use.