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

# Make your first payment

> Ask your funded agent to find a paid resource, pay the 402, and return the response.

You have a [funded agent wallet](https://docs.myproceeds.xyz/quickstart/set-up-an-agent-wallet.md). Now get to the aha moment: the agent hits a charge URL, pays the `402`, and brings back the result.

## 1. Pay a specific charge URL

Don't send the agent hunting a public directory. Hand it a URL you already have — your own paywall, or a test endpoint you trust.

```text theme={null}
Call https://myproceeds.xyz/api/pay/{serviceId}/{slug} and pay if challenged. Return the response body.
```

**AgentCash** (x402 or MPP):

```text theme={null}
Call https://myproceeds.xyz/api/pay/{serviceId}/{slug} and pay with AgentCash if challenged. Return the JSON.
```

**Circle Agent Stack** (x402):

```text theme={null}
Call https://myproceeds.xyz/api/pay/{serviceId}/{slug}, pay with my Circle agent wallet, and show me the response.
```

**Tempo Wallet** (MPP):

```text theme={null}
Call https://myproceeds.xyz/api/pay/{serviceId}/{slug}, pay with Tempo Wallet, and return the result.
```

## 2. Pay your own Proceeds paywall

Once that works, point the same agent at **your** paywall:

```text theme={null}
https://myproceeds.xyz/api/pay/{serviceId}/{slug}
```

```text theme={null}
Call https://myproceeds.xyz/api/pay/{serviceId}/{slug} and pay if challenged. Return the response body.
```

## 3. Confirm in Proceeds

In the dashboard:

* [Transactions](https://docs.myproceeds.xyz/dashboard/transactions.md) — row shows `Completed` (nanopayments go `Pending` → `Completed` after Gateway batch settlement)
* [Events](https://docs.myproceeds.xyz/dashboard/events.md) — `REQUEST` → `SUCCESS`
* [Wallet](https://docs.myproceeds.xyz/dashboard/wallet.md) — balance updates

That's the full loop: agent finds or hits a paid URL, pays USDC, you see the revenue.

## What success looks like

| Status | Meaning |
| - | - |
| `402 Payment Required` | Paywall is live; no payment yet |
| `200 OK` | Payment validated; upstream proxied |
| `4xx`/`5xx` after payment | Payment ok; upstream failed — check Events |

## Next

> [card] [Monitor payments](https://docs.myproceeds.xyz/quickstart/monitor-payments.md)
>
> Transactions, events, and wallet balances.

> [card] [Sell to agents](https://docs.myproceeds.xyz/guides/accept-payments-from-agents.md)
>
> Wrap, share a charge URL, get paid.

> [!TIP]
>
> Need to debug a paywall on testnet without spending real USDC? See [Test paywalls](https://docs.myproceeds.xyz/quickstart/test-paywalls.md).


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