{"uid":"cap_eoeKPIAD2KZdYaR2YHHXQ","slug":"cdk-bot-purchase-buy-digital-product-key-with-usdc-1157a45a","name":"CDK Bot Purchase — Buy Digital Product Key with USDC","description":"Agent-native REST API for buying digital products with USDC on Base chain. Browse 40,000+ game keys, gift cards, and more. Pay onchain, get keys instantly. OpenAPI spec, agent.json discovery, zero registration.","url":"https://api.cdk.bot/purchase?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"game_id":{"type":"string","description":"product id from GET /games"}}},"responseSchema":{"type":"json","example":{"id":"order-uuid","status":"completed","key_code":"XXXXX-XXXXX-XXXXX"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"11.38","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":"$11.38/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"11.38","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"11.38","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-8FgIP9hIo2WSYdG3DMaD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"11.38","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Purchases a digital product (game key, gift card, etc.) by product ID, pays with USDC on Base chain, and returns an activation key instantly","exampleAgentPrompt":"Buy me the digital game key for product ID 'game-12345' from CDK Bot right now — pay with USDC on Base and give me the activation code.","exampleUseCases":null,"resultDescription":"Returns a JSON object with an order UUID, a status of 'completed', and the plaintext activation/key code (e.g. XXXXX-XXXXX-XXXXX) ready to use immediately.","failureModes":["Invalid or unknown game_id returns a 404 or error response","Insufficient USDC balance causes payment failure and no key is issued","Product out of stock results in an error with no key delivered","Network/chain congestion may delay or fail the onchain payment","Malformed request body returns a 400 validation error"],"whenToPreferThis":"Use this endpoint when the user wants to purchase a specific digital product (game key, gift card) and pay with USDC on Base chain, receiving the activation code instantly without registration. Prefer this over traditional e-commerce APIs when the agent operates in a crypto-native environment and needs onchain payment settlement with immediate key delivery.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T12:32:18.212Z","isFirstParty":false,"canonicalSlug":"cdk-bot-purchase-buy-digital-product-key-with-usdc-1157a45a"}