# AgentCash API Payment Endpoint

> AgentCash API Payment Endpoint is a paid API for AI agents from rsproule.agentcash.me, paid per call via x402, $10000/call, status unknown (last checked 2026-10-11).

Enables AI agents to discover APIs and execute payments from a configured wallet via the x402 payment protocol

## Facts

- Endpoint: POST https://rsproule.agentcash.me/api/pay?utm_source=zero.xyz
- Price: $10000/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentcash-api-payment-endpoint-51704c27
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5YS_5fvAilBUQm4EJ3hk7

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentcash-api-payment-endpoint-51704c27 -d '<json body>'
```

Example prompt: Use AgentCash to pay for my next API call — charge 10000 USDC from my configured wallet and complete the x402 payment so I can access the service.

## When to prefer this

Choose this endpoint when an AI agent needs to autonomously execute a USDC payment using the x402 protocol to access a paywalled API, especially when the agent is operating within the AgentCash ecosystem with a pre-configured wallet. Prefer this over generic payment rails when the target API explicitly requires x402-compliant payment authorization.

## Known failure modes

- Insufficient wallet balance — wallet does not hold enough USDC to cover the 10000 USDC fee
- Wallet misconfiguration — agent's wallet is not properly set up or authorized
- Network/blockchain errors — USDC transfer fails due to on-chain congestion or node issues
- Invalid recipient endpoint — target API endpoint is not recognized or registered
- Payment protocol mismatch — endpoint or caller does not conform to x402 specification
- Rate limiting or duplicate payment rejection

## How this service works

AgentCash lets AI agents discover APIs and pay from your configured wallet.

## Output

A payment confirmation or receipt indicating whether the USDC transaction was successfully executed from the configured wallet, along with any authorization token or proof of payment needed to access the target API.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "amount"
     ],
     "properties": {
      "memo": {
       "type": "string",
       "maxLength": 280
      },
      "amount": {
       "type": "number",
       "maximum": 10000,
       "exclusiveMinimum": 0
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentcash-api-payment-endpoint-51704c27/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from rsproule.agentcash.me](https://www.zero.xyz/host/rsproule.agentcash.me/llms.txt)
