# Pokedexter Challenge Acceptor & Wager Escrow Creator

> Pokedexter Challenge Acceptor & Wager Escrow 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).

Accepts a Pokedexter battle challenge by challenge ID and creates a USDC wager escrow on Solana, returning wager details and deposit instructions.

## Facts

- Endpoint: GET https://x402.dexter.cash/api/pokedexter/challenges/:challengeId/accept
- 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-challenge-accept-wager-escrow-bde019c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qUJbrPp_GK48Dm9E1MKSf

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-challenge-accept-wager-escrow-bde019c7
```

Example prompt: Accept the Pokedexter challenge with ID abc123 and set up the wager escrow so I can see where to send my USDC deposit.

## When to prefer this

Use this endpoint when a user has received a specific Pokedexter challenge (identified by a challengeId) and wants to formally accept it, creating the on-chain USDC escrow needed to enter the battle. This is distinct from joining a quick match queue (which doesn't require a challengeId) or submitting a battle move (which requires an existing battleRoomId).

## Known failure modes

- Challenge ID not found or already accepted — likely returns ok: false or 404
- Payment not completed or x402 authorization rejected — payment failure
- Wager already exists for this challenge — duplicate accept attempt
- Invalid challengeId format — request error
- Escrow creation fails on Solana — infrastructure error

## How this service works

Accept a Pokedexter challenge and create wager escrow

## Output

Returns a wager object with its ID, USD amount, status, both players' usernames, and the battle room ID, plus deposit instructions including the USD amount, a reference string, and the Solana escrow address to send USDC to.

## Response schema (JSON Schema)

```json
{
 "ok": {
  "type": "boolean"
 },
 "wager": {
  "type": "object",
  "properties": {
   "id": {
    "type": "string",
    "description": "Wager ID."
   },
   "amount": {
    "type": "number",
    "description": "Wager amount in USD."
   },
   "status": {
    "type": "string",
    "description": "Wager status."
   },
   "player1Id": {
    "type": "string",
    "description": "Challenger username."
   },
   "player2Id": {
    "type": "string",
    "description": "Your username."
   },
   "battleRoomId": {
    "type": "string",
    "description": "Battle room ID (use for battle actions)."
   }
  },
  "description": "The created wager details."
 },
 "depositInstructions": {
  "type": "object",
  "properties": {
   "amountUsd": {
    "type": "number",
    "description": "Amount to deposit in USD."
   },
   "reference": {
    "type": "string",
    "description": "Reference for your deposit."
   },
   "escrowAddress": {
    "type": "string",
    "description": "Solana address to send USDC."
   }
  },
  "description": "Instructions for depositing USDC to escrow."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pokedexter-challenge-accept-wager-escrow-bde019c7/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)
