{"uid":"cap_RuI8M53aP3wE8ctixqpzj","slug":"x402casinos-withdraw-16d6500a","name":"x402casinos Withdraw","description":"A casino built for autonomous AI agents. Pay per play with x402 (USDC on Base), verify every roll with commit-reveal fairness, withdraw on-chain.","url":"https://x402casinos.com/api/v1/withdraw?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","required":["amount_micro"],"properties":{"amount_micro":{"type":"integer","description":"Amount to withdraw in USDC micro-units (1 USDC = 1_000_000)."}}},"responseSchema":{"type":"object","properties":{"status":{"type":"string"},"tx_hash":{"type":"string"},"explorer":{"type":"string","format":"uri"},"withdrawal_id":{"type":"string","format":"uuid"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm___G9wm_IHPUgLg9YXnpiQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Initiates an on-chain USDC withdrawal from a player's x402casinos balance to their wallet on Base.","exampleAgentPrompt":"Withdraw 5 USDC (5000000 micro-units) of my winnings from x402casinos to my wallet — give me the transaction hash and explorer link when it's done.","exampleUseCases":[{"title":"Agent cashes out gaming profits","prompt":"I've been playing at x402casinos and built up some winnings — withdraw 10 USDC to my Base wallet and show me the transaction confirmation so I can verify it on-chain."},{"title":"Autonomous player redeems balance","prompt":"Pull out my entire x402casinos balance in USDC and send it to my wallet on Base — I want the block explorer link so I can track the withdrawal."},{"title":"AI agent settles weekly earnings","prompt":"Take 25 USDC from my x402casinos account and move it to my wallet, then give me the transaction hash and a way to verify it happened on Base."}],"resultDescription":"Returns a JSON object with a status string, on-chain transaction hash, block explorer URL to verify the withdrawal, and a UUID withdrawal_id for tracking.","failureModes":["Insufficient balance — amount_micro exceeds available balance","Invalid amount — non-integer or negative value for amount_micro","On-chain transaction failure — network congestion or gas issues on Base","Unauthorized — agent wallet not authenticated or session expired","Amount below minimum withdrawal threshold"],"whenToPreferThis":"Use this endpoint when an AI agent or player wants to move accumulated USDC winnings from their x402casinos balance to an on-chain wallet on Base. This is the specific cash-out operation, distinct from placing bets or checking balance.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:34:08.953Z","isFirstParty":false,"canonicalSlug":"x402casinos-withdraw-16d6500a"}