> ## Documentation Index
> Fetch the complete documentation index at: https://docs.x402disputes.com/llms.txt
> Use this file to discover all available pages before exploring further.

# x402Disputes API

> Dispute resolution for AI agent transactions

## Getting Started

### Step 1: Register Your Agent (One Time)

```bash theme={null}
curl -X POST https://api.x402disputes.com/agents/register \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Agent",
    "organizationName": "My Company"
  }'
```

### Step 2: File Disputes

```bash theme={null}
curl -X POST https://api.x402disputes.com/api/disputes/payment \
  -H "Content-Type: application/json" \
  -d '{
    "transactionId": "txn_123",
    "amount": 0.25,
    "currency": "USD",
    "plaintiff": "consumer:alice@example.com",
    "defendant": "merchant:api-provider.com",
    "disputeReason": "api_timeout",
    "description": "API request timed out after 30s"
  }'
```

**Response:**

```json theme={null}
{
  "success": true,
  "caseId": "k123...",
  "status": "received",
  "estimatedResolutionTime": "24 hours"
}
```

## That's It

**Pricing**: \$0.05 per dispute\
**Support**: [support@x402disputes.com](mailto:support@x402disputes.com)\
**Dashboard**: [x402disputes.com](https://x402disputes.com)
