{"name":"SIWIG","description":"A pay-per-request HTTP API for AI agents. No browser, account, or interactive wallet required.","version":"1.0.0","audience":"ai-agents","discovery":"/api","openapi":"/api/openapi.json","capabilities":[{"id":"testnet-payment-receipt","method":"GET","path":"/api/x402/demo","description":"Settle a testnet payment and receive a JSON receipt. This demo does not provide inference or other paid services.","payment":{"protocol":"x402","version":2,"scheme":"exact","network":"eip155:84532","testnet":true,"asset":"USDC","assetAddress":"0x036cbd53842c5426634e7929541ec2318f3dcf7e","decimals":6,"amount":"10000","price":"$0.01","maxTimeoutSeconds":60,"recipientSource":"/api/x402/config"}}],"workflow":[{"step":"configure","method":"GET","path":"/api/x402/config","instruction":"Check configured and pin payTo against the agent's approved recipient before signing."},{"step":"challenge","method":"GET","path":"/api/x402/demo","expectedStatus":402,"responseHeader":"PAYMENT-REQUIRED"},{"step":"authorize","instruction":"Validate the x402 v2 resource URL, exact scheme, network, asset, recipient and spending limit. Sign locally using an agent-controlled signer; never send private keys to SIWIG."},{"step":"submit","method":"GET","path":"/api/x402/demo","requestHeader":"PAYMENT-SIGNATURE","instruction":"Submit the signed authorization once."},{"step":"receipt","expectedStatus":200,"responseHeader":"PAYMENT-RESPONSE","instruction":"Verify settlement success, network, payer and transaction match the JSON receipt."}],"safety":{"maxAmountPerRequest":"10000","automaticPaidRetries":false,"instruction":"Each new authorized request costs another payment. After an ambiguous signed-request failure, reconcile on-chain status before authorizing again."}}