# x402casinos Withdraw

> x402casinos Withdraw is a paid API for AI agents from x402casinos.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-27).

Initiates an on-chain USDC withdrawal from a player's x402casinos balance to their wallet on Base.

## Facts

- Endpoint: POST https://x402casinos.com/api/v1/withdraw?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-27
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402casinos-withdraw-16d6500a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RuI8M53aP3wE8ctixqpzj

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 x402casinos-withdraw-16d6500a -d '<json body>'
```

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

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "amount_micro"
 ],
 "properties": {
  "amount_micro": {
   "type": "integer",
   "description": "Amount to withdraw in USDC micro-units (1 USDC = 1_000_000)."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "status": {
   "type": "string"
  },
  "tx_hash": {
   "type": "string"
  },
  "explorer": {
   "type": "string",
   "format": "uri"
  },
  "withdrawal_id": {
   "type": "string",
   "format": "uuid"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402casinos-withdraw-16d6500a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402casinos.com](https://www.zero.xyz/host/x402casinos.com/llms.txt)
