Pay with x402 Session
x402
Payer avec une session x402
Effectuez un paiement en utilisant le budget d’une session existante.
POST
Pay with x402 Session
Paramètres de chemin
ID de la session pour le paiement (par exemple,
sess_xyz789).Corps de la requête
L’URL compatible x402 à payer.
Exemple
Autorisations
API key authentication. Keys are prefixed with awx_.
Paramètres de chemin
The session ID to pay from (e.g., sess_xyz789).
Corps
application/json
The x402-enabled URL to pay for.
Réponse
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.
Options disponibles:
completed, pending, failed The PAYMENT-SIGNATURE value to include in the retry request to the target URL.