{"resource":"https://merchant.payai.network/api/v1/keys/vend","method":"POST","protocol":"x402","mainnetOnly":true,"amount":{"currency":"USD","min":1,"max":9999.99,"default":1,"param":"amount","precision":2},"creditsPerUsd":1000,"accepts":[{"scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","symbol":"USDC","payTo":"H32YnqbzL62YkHMSCzfKcLry9yuipwwx1EMztiCSPhjb"},{"scheme":"exact","network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"PAYmo6moDF3Ro3X6bU2jwe2UdBnBhv8YjLgL1j4DxGu","symbol":"PAYAI","discountPercent":10,"payTo":"H32YnqbzL62YkHMSCzfKcLry9yuipwwx1EMztiCSPhjb"},{"scheme":"exact","network":"eip155:8453","asset":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913","symbol":"USDC","payTo":"0x2a835A505d4Ea32372Cc420d2663b885cE089453"},{"scheme":"exact","network":"eip155:137","asset":"0x3c499c542cef5e3811e1192ce70d8cc03d5c3359","symbol":"USDC","payTo":"0x2a835A505d4Ea32372Cc420d2663b885cE089453"},{"scheme":"exact","network":"eip155:43114","asset":"0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e","symbol":"USDC","payTo":"0x2a835A505d4Ea32372Cc420d2663b885cE089453"},{"scheme":"exact","network":"eip155:42161","asset":"0xaf88d065e77c8cc2239327c5edb3a432268e5831","symbol":"USDC","payTo":"0x2a835A505d4Ea32372Cc420d2663b885cE089453"},{"scheme":"exact","network":"eip155:196","asset":"0x74b7f16337b8972027f6196a17a631ac6de26d22","symbol":"USDC","payTo":"0x2a835A505d4Ea32372Cc420d2663b885cE089453"}],"body":{"recoveryEmail":"optional; an inbox you control, used only to recover a lost key","keyName":"optional label"},"accounts":{"agent":"A wallet without a portal account becomes an agent account and receives a key plus credits; paying again tops it up and issues a fresh key.","portal":"A wallet already linked to a portal account receives credits only; keys for portal accounts are managed in the portal."},"flow":"POST with ?amount=<usd> and an optional JSON body. You get 402 with x402 payment requirements. Pay with any x402 client. The 201 response contains credits and, for agent accounts, an API key secret exactly once. The paying wallet identifies the account.","recovery":{"wallet":{"url":"https://merchant.payai.network/api/v1/keys/recover","header":"SIGN-IN-WITH-X","flow":"POST the URL with no header to receive a CAIP-122 challenge in the PAYMENT-REQUIRED header (extensions[\"sign-in-with-x\"].info + supportedChains). Sign it with the wallet that vended (createSIWxPayload from @x402/extensions/sign-in-with-x, or any CAIP-122 signer) and POST again with the SIGN-IN-WITH-X header. Each challenge nonce is single-use."},"email":{"request":"https://merchant.payai.network/api/v1/keys/recover/email","confirm":"https://merchant.payai.network/api/v1/keys/recover/email/confirm","flow":"POST { email, wallet, addressType } to request a 6-digit code (always 202); POST { email, wallet, addressType, code } to confirm and receive a fresh key."},"payAgain":true},"account":"https://merchant.payai.network/api/v1/account","docs":{"authentication":"https://docs.payai.network/x402/facilitators/authentication","pricing":"https://docs.payai.network/x402/facilitators/pricing"}}