{"uid":"cap_LbUHbKi-vvL8tppXA3iln","slug":"x402-clashofcoins-com-1c240497","name":"Clash of Coins Shop – Agentic Checkout","description":"Agentic checkout for Clash of Coins","url":"https://x402.clashofcoins.com/shop/x402/buy","method":"POST","headers":{},"bodySchema":{"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"}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"2.691","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$2.691/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"2.691","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"2.691","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MbKxI7RD5XLOPnxdDapM8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"2.691","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Processes an agentic purchase transaction in the Clash of Coins in-game shop via x402 micropayment protocol","exampleAgentPrompt":"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.","exampleUseCases":null,"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:14.247Z","isFirstParty":false}