Skip to main content
POST
Pay with x402 Session

パスパラメータ

string
必須
支払いに使用するセッション ID(例:sess_xyz789)。

リクエストボディ

string
必須
支払い対象の x402 対応 URL。

承認

X-API-Key
string
header
必須

API key authentication. Keys are prefixed with awx_.

パスパラメータ

id
string
必須

The session ID to pay from (e.g., sess_xyz789).

ボディ

application/json
target_url
string<uri>
必須

The x402-enabled URL to pay for.

レスポンス

Session payment completed successfully.

Result of an x402 payment negotiation.

ledger_id
string

Internal ledger entry ID for this payment.

amount
string

Payment amount.

fee_amount
string

Platform fee deducted.

fee_rate
string

Fee percentage applied (based on tiered pricing).

token
string

Token used for payment (e.g., USDC).

chain
string

Chain used for settlement.

status
enum<string>

Payment status.

利用可能なオプション:
completed,
pending,
failed
payment_signature
string

The PAYMENT-SIGNATURE value to include in the retry request to the target URL.