x402 Pay
Trigger an x402 payment negotiation for a target URL.
Request Body
https://paid-api.example.com/v1/data).eip155:84532). If omitted, the agent’s default chain is used.Response
Example
Related Endpoints
| Endpoint | Description |
|---|---|
POST /x402/check | Check if a URL supports x402 payment negotiation |
POST /x402/facilitator/verify | Verify a payment signature (for service providers) |
POST /x402/facilitator/settle | Settle a verified payment (for service providers) |
GET /x402/facilitator/supported | List supported chains for x402 |
GET /x402/fees/tiers | Get current fee tier schedule |
Authorizations
API key authentication. Keys are prefixed with awx_.
Body
The agent whose wallet will fund the payment.
The x402-enabled URL to pay for (e.g., https://paid-api.example.com/v1/data).
Optional session ID to deduct from an existing session budget.
CAIP-2 chain identifier for payment settlement (e.g., eip155:84532). If omitted, the agent's default chain is used.
Response
Payment completed successfully.
Result of an x402 payment negotiation.
Internal ledger entry ID for this payment.
Payment amount.
Platform fee deducted.
Fee percentage applied (based on tiered pricing).
Token used for payment (e.g., USDC).
Chain used for settlement.
Payment status.
completed, pending, failed The PAYMENT-SIGNATURE value to include in the retry request to the target URL.