x402 Pay
Kích hoạt thương lượng thanh toán x402 cho URL mục tiêu.
Nội dung Yêu cầu
https://paid-api.example.com/v1/data).eip155:84532). Nếu bỏ qua, chuỗi mặc định của tác nhân được sử dụng.Phản hồi
Ví dụ
Endpoint Liên quan
Ủy quyền
API key authentication. Keys are prefixed with awx_.
Nội dung
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.
Phản hồi
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.