# CDK Bot Purchase — Buy Digital Product Key with USDC

> CDK Bot Purchase — Buy Digital Product Key with USDC is a paid API for AI agents from api.cdk.bot, paid per call via x402, $11.38/call, status unknown (last checked 2026-10-11).

Purchases a digital product (game key, gift card, etc.) by product ID, pays with USDC on Base chain, and returns an activation key instantly

## Facts

- Endpoint: POST https://api.cdk.bot/purchase?utm_source=zero.xyz
- Price: $11.38/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/cdk-bot-purchase-buy-digital-product-key-with-usdc-1157a45a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eoeKPIAD2KZdYaR2YHHXQ

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 cdk-bot-purchase-buy-digital-product-key-with-usdc-1157a45a -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "game_id": {
   "type": "string",
   "description": "product id from GET /games"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "order-uuid",
  "status": "completed",
  "key_code": "XXXXX-XXXXX-XXXXX"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/cdk-bot-purchase-buy-digital-product-key-with-usdc-1157a45a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.cdk.bot](https://www.zero.xyz/host/api.cdk.bot/llms.txt)
