> ## Documentation Index
> Fetch the complete documentation index at: https://solana.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# Pay.sh Course

> A 12-part video series that walks through Pay.sh end to end, from installing the CLI to deploying and publishing a production-ready paid API gateway.

A 12-part series on Pay.sh, from installing the CLI to publishing a paid API
gateway. Pair it with the [written Pay.sh guide](/developers/docs/payments/pay-sh).

<div className="sol-facts">
  **Runtime:** \~34 min · 12 videos
</div>

<div className="sol-video-modal">
  <Columns cols={2}>
    <Card title="Introduction" href="https://youtu.be/F_RDSUER5Jw" img="https://i.ytimg.com/vi/F_RDSUER5Jw/mqdefault.jpg">
      **Chapter 1 · 0:52**

      Course overview — what Pay.sh is and what each chapter builds toward.
    </Card>

    <Card title="Installation" href="https://youtu.be/l7tZaYMWuQ4" img="https://i.ytimg.com/vi/l7tZaYMWuQ4/mqdefault.jpg">
      **Chapter 2 · 1:33**

      Installs the Pay.sh CLI so you can follow along locally.
    </Card>

    <Card title="Wrapping curl, wget, Claude, and Codex" href="https://youtu.be/swGIUsZyP4s" img="https://i.ytimg.com/vi/swGIUsZyP4s/mqdefault.jpg">
      **Chapter 3 · 1:07**

      Wraps the tools you already use — curl, wget, Claude, and Codex — so they can pay for requests.
    </Card>

    <Card title="Discover Services (Text to Voice)" href="https://youtu.be/0wxhjBdp4L4" img="https://i.ytimg.com/vi/0wxhjBdp4L4/mqdefault.jpg">
      **Chapter 4 · 2:09**

      Finds paid services in the catalog and calls one, using text-to-voice as the example.
    </Card>

    <Card title="Pay Claude and Text to Speech" href="https://youtu.be/2xtRZQ_WvVs" img="https://i.ytimg.com/vi/2xtRZQ_WvVs/mqdefault.jpg">
      **Chapter 5 · 2:36**

      Pays for Claude and text-to-speech requests directly with Pay.sh.
    </Card>

    <Card title="Set Up Your Own Paid Gateway" href="https://youtu.be/k5KNxQ3N1tI" img="https://i.ytimg.com/vi/k5KNxQ3N1tI/mqdefault.jpg">
      **Chapter 6 · 1:38**

      Switches sides: put your own API behind a paid gateway so others can pay to call it.
    </Card>

    <Card title="Pricing Endpoints: Per Call, Tokens, and Tiers" href="https://youtu.be/o2uSRVM7ZaE" img="https://i.ytimg.com/vi/o2uSRVM7ZaE/mqdefault.jpg">
      **Chapter 7 · 2:26**

      Configures pricing for your endpoints — per call, per token, or in tiers.
    </Card>

    <Card title="Subscriptions" href="https://youtu.be/yqvnnGve3mo" img="https://i.ytimg.com/vi/yqvnnGve3mo/mqdefault.jpg">
      **Chapter 8 · 1:52**

      Adds recurring subscriptions on top of your paid gateway.
    </Card>

    <Card title="Splitting Payments" href="https://youtu.be/t6Mrf2LUKZQ" img="https://i.ytimg.com/vi/t6Mrf2LUKZQ/mqdefault.jpg">
      **Chapter 9 · 2:18**

      Splits each payment across multiple recipients automatically.
    </Card>

    <Card title="Accounts" href="https://youtu.be/3Hvhqttm4bo" img="https://i.ytimg.com/vi/3Hvhqttm4bo/mqdefault.jpg">
      **Chapter 10 · 2:42**

      Sets up and manages accounts for your gateway.
    </Card>

    <Card title="Deploy with Docker to Vercel" href="https://youtu.be/prCq9WmLd4o" img="https://i.ytimg.com/vi/prCq9WmLd4o/mqdefault.jpg">
      **Chapter 11 · 10:24**

      Packages the gateway with Docker and deploys it to Vercel.
    </Card>

    <Card title="Publish to the Public Catalog" href="https://youtu.be/nVv9NTWI5fE" img="https://i.ytimg.com/vi/nVv9NTWI5fE/mqdefault.jpg">
      **Chapter 12 · 4:39**

      Publishes your gateway to the public catalog so anyone can discover and pay for it.
    </Card>
  </Columns>
</div>

<Card title="Next up: Confidential Balances" href="/developers/docs/video-guides/confidential-balances" icon="arrow-right" horizontal />
