Skip to main content

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.

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.

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

1

Create your account

Connect your Solana wallet on the Marlin dashboard. Sign a message to verify ownership — no email or password required.
2

Get an API key

In Settings → API Keys, generate a secret key. You’ll use this to authenticate every API call and SDK request.
3

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.
4

Get paid on-chain

Share the checkout link or embed the widget. Your customers pay with any Solana wallet — USDC, PYUSD, or USDG — and funds settle directly to your wallet.

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.