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

# Provider quickstart

> Copy and paste this prompt into your coding agent and it will figure out where you are and what you need in order to start selling your API to agents.

▶

Paste into your coding agent

> [!TIP]
>
> Building in TypeScript, or starting from scratch? Use [AgentCash Router](https://agentcash.dev/docs/router/overview.md) instead: it handles payments, wallet identity, and discovery for you, and the [Vercel template](https://agentcash.dev/docs/router/quickstart.md) deploys a working pay-per-call API in one click.

## When the agent finishes

1. Your API should respond with `402` and payment metadata on unpaid requests.
2. Your `/openapi.json` should describe each payable route with pricing info.
3. Your origin will be registered on [x402scan](https://x402scan.com) and/or [mppscan](https://mppscan.com) so agents can find you.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.