# Pokedexter Wagered Battle Challenge Creator

> Pokedexter Wagered Battle Challenge Creator is a paid API for AI agents from x402.dexter.cash, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Creates a wagered Pokémon battle challenge with a specified USD wager amount and battle format, returning a challenge ID and expiry details.

## Facts

- Endpoint: POST https://x402.dexter.cash/api/pokedexter/challenges
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pokedexter-wagered-battle-challenge-creator-15f2abaf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HF-PsJejQ9mMeF05zEF-r

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 pokedexter-wagered-battle-challenge-creator-15f2abaf -d '<json body>'
```

Example prompt: Create a Pokémon battle challenge on Pokedexter with a $10 wager in gen9randombattle format — winner takes everything.

## When to prefer this

Use this endpoint when you want to programmatically initiate a wagered Pokémon battle challenge with a specific USD pot, especially within the Dexter/x402 ecosystem where crypto micropayments are used to gate API access.

## Known failure modes

- Wager amount out of range ($1–$25) returns validation error
- Invalid battle format string returns error
- Insufficient x402 payment (requires $0.01 USDC) results in 402 Payment Required
- Expired or invalid wallet credentials cause authentication failure
- Network timeout returns no challenge ID

## How this service works

Create a wagered Pok�mon battle challenge

## Output

Returns a JSON object with ok: true and a challenge object containing the challenge ID, wallet-derived username, wager amount in USD, battle format, ISO creation timestamp, and ISO expiry timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "amount": {
   "type": "number",
   "description": "Wager amount in USD ($1-$25). Winner takes 100% of the pot."
  },
  "format": {
   "type": "string",
   "description": "Battle format (default: gen9randombattle). Options: gen9randombattle, gen9ou, gen8randombattle, etc."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "ok": {
  "type": "boolean"
 },
 "challenge": {
  "type": "object",
  "properties": {
   "id": {
    "type": "string",
    "description": "Challenge ID."
   },
   "user": {
    "type": "string",
    "description": "Your username (derived from wallet)."
   },
   "amount": {
    "type": "number",
    "description": "Wager amount in USD."
   },
   "format": {
    "type": "string",
    "description": "Battle format."
   },
   "createdAt": {
    "type": "string",
    "description": "ISO timestamp."
   },
   "expiresAt": {
    "type": "string",
    "description": "ISO timestamp when expires."
   }
  },
  "description": "The created challenge details."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pokedexter-wagered-battle-challenge-creator-15f2abaf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.dexter.cash](https://www.zero.xyz/host/x402.dexter.cash/llms.txt)
