# Clash of Coins Shop – Agentic Checkout

> Clash of Coins Shop – Agentic Checkout is a paid API for AI agents from x402.clashofcoins.com, paid per call via x402, $2.691/call, status unknown (last checked 2026-09-15).

Processes an agentic purchase transaction in the Clash of Coins in-game shop via x402 micropayment protocol

## Facts

- Endpoint: POST https://x402.clashofcoins.com/shop/x402/buy
- Price: $2.691/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-clashofcoins-com-1c240497
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LbUHbKi-vvL8tppXA3iln

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 x402-clashofcoins-com-1c240497 -d '<json body>'
```

Example prompt: I want to buy an item from the Clash of Coins shop — process a POST purchase for the standard item type and complete the checkout using my wallet.

## When to prefer this

Use this endpoint when an AI agent needs to make an automated in-game purchase in Clash of Coins using the x402 micropayment protocol with USDC. It is the dedicated agentic checkout path, distinct from the wallet funding route or the health probe endpoint on the same domain.

## Known failure modes

- Payment not authorized or insufficient USDC balance – 402 Payment Required
- Invalid or missing 'type' or 'method' fields in input – 400 Bad Request
- Item unavailable or out of stock – 404 or 422 response
- x402 settlement failure or facilitator timeout – 5xx error
- Malformed request body – 400 validation error

## How this service works

Agentic checkout for Clash of Coins

## Output

Returns a purchase confirmation or transaction result from the Clash of Coins shop, indicating whether the $4.50 USDC x402 payment settled and the item or resource was granted.

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-clashofcoins-com-1c240497/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.clashofcoins.com](https://www.zero.xyz/host/x402.clashofcoins.com/llms.txt)
