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.