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.