{"uid":"cap_jWyRrD4G_WfYxBR8QlqS8","slug":"pay402-xyz-5d2146ce","name":"pay402.xyz Mint PAY402 Token","description":"Mint PAY402 to the payer","url":"https://pay402.xyz/api/mint","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","properties":{"ok":{"type":"boolean"},"tx":{"type":"string"},"payer":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"1","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_voJ3nfXplR6JljexVqW0Q","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Mints a PAY402 token to the caller (payer) upon payment, serving as proof of payment on the x402 protocol","exampleAgentPrompt":"Mint a PAY402 token to my wallet address right now using the x402 protocol — I want the on-chain proof-of-payment token issued after paying 1 USDC.","exampleUseCases":[{"title":"On-chain payment receipt collection","prompt":"I just sent 1 USDC through the x402 protocol — go ahead and mint a PAY402 token to my wallet so I have an on-chain proof-of-payment receipt for my records."},{"title":"x402 agent payment verification","prompt":"I'm building an x402-compatible agent and need to trigger a PAY402 mint to the payer's wallet right after their payment clears — issue the token now so they have verifiable proof on-chain."},{"title":"Commemorative meme token after paying","prompt":"I paid my 1 USDC and I want my PAY402 meme token minted to my wallet immediately — give me that on-chain badge showing I went through the x402 pay-per-call flow."}],"resultDescription":"A confirmation that a PAY402 token has been minted to the payer's address, including any transaction details or token identifiers returned by the x402 minting contract.","failureModes":["Payment of 1 USDC not received — returns 402 Payment Required","Invalid or missing payer address — returns 400 Bad Request","Minting contract failure or chain congestion — returns 500 or timeout","Duplicate payment attempt on same authorization — returns conflict or rejection","Insufficient USDC balance — payment layer rejects before mint occurs"],"whenToPreferThis":"Choose this endpoint when you need to mint a PAY402 token to a payer as proof of payment on the x402 protocol. It is specifically designed for the x402 pay-per-call flow where a payer submits 1 USDC and receives a PAY402 token in return. Use this when building x402-compatible agents or services that need on-chain payment receipts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:37:07.955Z","isFirstParty":false}