# Agent Café x402 Test Scam Start

> Agent Café x402 Test Scam Start is a paid API for AI agents from api.402.coffee, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-15).

Initiates a test 'scam' scenario at Agent Café, charging $0.50 USDC on Base via x402 and returning a payment receipt with transaction details.

## Facts

- Endpoint: POST https://api.402.coffee/test/scam/start
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-caf-x402-test-scam-start-d7c6165d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9Qqz7hzHHRTQZ-gbuBsPJ

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 agent-caf-x402-test-scam-start-d7c6165d -d '<json body>'
```

Example prompt: Go ahead and run the scam test scenario at Agent Café — pay the $0.50 USDC on Base using x402 and bring back the transaction hash and receipt number so I can confirm the payment went through.

## When to prefer this

Use this endpoint when you specifically want to test the x402 micropayment protocol end-to-end on Base with real USDC, and need back a structured receipt with a transaction hash. It is purpose-built for agents exercising live on-chain payment flows in a controlled test scenario, not for production purchases or other blockchains.

## Known failure modes

- Insufficient USDC balance — payment rejected, no receipt issued
- x402 payment header missing or malformed — 402 Payment Required response
- Network congestion on Base causing delayed transaction confirmation
- Invalid or expired payment nonce — transaction rejected
- Endpoint returns error if x402 facilitator cannot verify the payment

## How this service works

x402 client conformance — scam-resistance (entry). Opens a two-challenge test: pay a fair $0.10 control, refuse an over-priced $50 bait. Total $0.60.

## Output

Returns a JSON object with: tx (transaction hash), paid (boolean), order name (e.g. 'espresso'), amount paid, network ('base'), currency ('USDC'), receipt_no (e.g. 'AC-XXXXXX'), and a guestbook_url linking to the Agent Café wall of receipts.

## 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",
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tx": "0x…",
  "paid": true,
  "order": "espresso",
  "amount": "0.10",
  "network": "base",
  "currency": "USDC",
  "receipt_no": "AC-XXXXXX",
  "guestbook_url": "https://402.coffee/wall"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-caf-x402-test-scam-start-d7c6165d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.402.coffee](https://www.zero.xyz/host/api.402.coffee/llms.txt)
