x402 Pay
Declenchez une negociation de paiement x402 pour une URL cible.
Corps de la requete
https://paid-api.example.com/v1/data).eip155:84532). Si omis, la chaine par defaut de l’agent est utilisee.Reponse
Exemple
Points de terminaison associes
| Point de terminaison | Description |
|---|---|
POST /x402/check | Verifier si une URL supporte la negociation de paiement x402 |
POST /x402/facilitator/verify | Verifier une signature de paiement (pour les fournisseurs de services) |
POST /x402/facilitator/settle | Regler un paiement verifie (pour les fournisseurs de services) |
GET /x402/facilitator/supported | Lister les chaines supportees pour x402 |
GET /x402/fees/tiers | Obtenir la grille tarifaire actuelle |
Autorisations
API key authentication. Keys are prefixed with awx_.
Corps
The agent whose wallet will fund the payment.
The x402-enabled URL to pay for (e.g., https://paid-api.example.com/v1/data).
Optional session ID to deduct from an existing session budget.
CAIP-2 chain identifier for payment settlement (e.g., eip155:84532). If omitted, the agent's default chain is used.
Réponse
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.