{"uid":"cap_qUJbrPp_GK48Dm9E1MKSf","slug":"pokedexter-challenge-accept-wager-escrow-bde019c7","name":"Pokedexter Challenge Acceptor & Wager Escrow Creator","description":"Accept a Pokedexter challenge and create wager escrow","url":"https://x402.dexter.cash/api/pokedexter/challenges/:challengeId/accept","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"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."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_iZI2fV45HVMo-dCx-iomd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Accepts a Pokedexter battle challenge by challenge ID and creates a USDC wager escrow on Solana, returning wager details and deposit instructions.","exampleAgentPrompt":"Accept the Pokedexter challenge with ID abc123 and set up the wager escrow so I can see where to send my USDC deposit.","exampleUseCases":[{"title":"Respond to friend's Pokemon battle invite","prompt":"My buddy just sent me a Pokedexter challenge - can you accept it and show me how much USDC I need to lock in and where to send it?"},{"title":"Join competitive Pokedexter tournament match","prompt":"I found a tournament battle I want to enter - the challenge ID is xyz789. Please accept it for me and get the escrow details so I can fund my side of the wager."},{"title":"Lock funds for high-stakes Pokemon duel","prompt":"I'm ready to battle this opponent for real money. Accept the challenge they sent me and create the escrow so I can deposit my USDC and start the match."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:49:31.863Z","isFirstParty":false}