# AgentCash API Payment Endpoint

> AgentCash API Payment Endpoint is a paid API for AI agents from mason.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 protocol

## Facts

- Endpoint: POST https://mason.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-5df50356
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DQp2V22Ru4CyA2HCYr7c0

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-5df50356 -d '<json body>'
```

Example prompt: Use AgentCash to pay for this API call — execute the payment from my configured wallet now.

## When to prefer this

Choose this endpoint when your AI agent needs to programmatically execute USDC payments via the x402 protocol from a pre-configured wallet, especially when integrating with AgentCash's API discovery and payment stack. Best suited for automated agent workflows where API calls require real-time payment authorization.

## Known failure modes

- Insufficient wallet balance — not enough USDC to cover the payment
- Wallet not configured or missing credentials
- Payment rejected by the x402 protocol or facilitator
- Network or blockchain transaction failure
- Invalid or expired payment request
- Rate limiting or service unavailability

## How this service works

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

## Output

A payment confirmation or transaction receipt indicating the USDC payment was successfully submitted, including transaction status and any confirmation details returned by the x402 payment protocol.

## 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-5df50356/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from mason.agentcash.me](https://www.zero.xyz/host/mason.agentcash.me/llms.txt)
