---
title: "Agent Payments"
description:
  "A 4-part video series on the machine economy: how to monetize an API with
  HTTP 402, and how AI agents pay for APIs and services on Solana."
hidePageNavigation: true
hideTableOfContents: true
---

Learn how AI agents pay for APIs on Solana, and how to charge for one with
HTTP 402. Read the [Agentic Payments guide](/docs/payments/agentic-payments).

<CourseFacts facts={[{ label: "Runtime", value: "~27 min · 4 videos" }]} />

<VideoChapterList
  modal
  label="Chapter"
  chapters={[
    {
      title: "x402 on Solana Explained",
      href: "https://youtu.be/_9GgqqVCK2s",
      duration: "9:54",
      subtext:
        "Explains how the x402 protocol works on Solana so agents can pay for resources directly."
    },
    {
      title: "Why Agents Can't Use Credit Cards",
      href: "https://youtu.be/Dk8qazM1i-w",
      duration: "7:57",
      subtext:
        "Why card payments don't fit autonomous agents, and the approach that does."
    },
    {
      title: "Monetize an API with HTTP 402",
      href: "https://youtu.be/GeUMZx2GOSk",
      duration: "4:12",
      subtext: "Puts an API behind HTTP 402 so callers pay per request."
    },
    {
      title: "Pay.sh: Agent Payments and Integrations",
      href: "https://youtu.be/HoTnSjbMFHk",
      duration: "4:56",
      subtext:
        "Shows an AI agent paying for services with Pay.sh, plus the integrations that support it."
    }
  ]}
/>

<NextUp
  title="Pay.sh Course"
  href="/docs/video-guides/pay-sh-video-tutorials"
/>
