Base URLs
Use the sandbox URL for development and testing. Switch to production only when you are ready to transact with real funds.
Authentication
All API requests must include one of the following authentication headers:| Method | Header | Example |
|---|---|---|
| API Key | X-API-Key | X-API-Key: awx_your_api_key |
| JWT Bearer | Authorization | Authorization: Bearer eyJhbGciOi... |
Pagination
All list endpoints support pagination with the following query parameters:| Parameter | Default | Max | Description |
|---|---|---|---|
page_num | 1 | — | Page number (1-indexed) |
page_size | 20 | 100 | Number of items per page |
Error Contract
All errors follow a consistent format:Error Types
| Type | HTTP Status | Description |
|---|---|---|
invalid_request_error | 400 | Invalid request body or parameters |
authentication_error | 401 | Missing or invalid credentials |
authorization_error | 403 | Insufficient permissions |
not_found_error | 404 | Resource does not exist |
rate_limit_error | 429 | Rate limit exceeded |
internal_error | 500 | Server-side error |
API Sections
Agents
Create and manage AI agent wallets.
Transactions
Send payments and query transaction history.
Policies
Configure spending limits and access controls.
Webhooks
Register and manage webhook endpoints.
x402 Pay
Trigger x402 micropayment negotiation.
x402 Sessions
Manage x402 session budgets.