创建 x402 会话
创建具有消费预算的新 x402 支付会话。
请求体
"100.00")。eip155:84532)。示例
授权
API key authentication. Keys are prefixed with awx_.
请求体
The agent whose wallet funds the session.
Maximum total amount the session can spend (e.g., "100.00").
CAIP-2 chain identifier for settlement (e.g., eip155:84532).
Session time-to-live in seconds. The session expires after this duration.
Optional list of URLs this session is authorized to pay. If omitted, all x402-enabled URLs are allowed.
响应
Session created successfully.
An x402 payment session with a pre-authorized spending budget.
Unique session identifier (e.g., sess_xyz789).
Agent whose wallet funds the session.
Maximum total amount the session can spend.
Total amount spent so far.
Remaining budget available.
CAIP-2 chain identifier for settlement.
Session status.
active, expired, deleted URLs this session is authorized to pay.
ISO 8601 expiration timestamp.
ISO 8601 creation timestamp.