Pay with x402 Session
x402
使用 x402 会话支付
使用现有会话预算进行支付。
POST
Pay with x402 Session
路径参数
用于支付的会话 ID(例如
sess_xyz789)。请求体
要支付的 x402 启用 URL。
示例
授权
API key authentication. Keys are prefixed with awx_.
路径参数
The session ID to pay from (e.g., sess_xyz789).
请求体
application/json
The x402-enabled URL to pay for.
响应
Session 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.