Pay with x402 Session
x402
Thanh toán bằng phiên x402
Thực hiện thanh toán bằng ngân sách phiên hiện có.
POST
Pay with x402 Session
Tham số đường dẫn
ID phiên để thanh toán (ví dụ:
sess_xyz789).Nội dung yêu cầu
URL hỗ trợ x402 cần thanh toán.
Ví dụ
Ủy quyền
API key authentication. Keys are prefixed with awx_.
Tham số đường dẫn
The session ID to pay from (e.g., sess_xyz789).
Nội dung
application/json
The x402-enabled URL to pay for.
Phản hồi
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.
Tùy chọn có sẵn:
completed, pending, failed The PAYMENT-SIGNATURE value to include in the retry request to the target URL.