{"uid":"cap_OKsz90aPgcBWZtK-KX5_q","slug":"x-pay-payment-receipt-046d5f0f","name":"X Pay Payment Receipt","description":"Pay-per-request utility APIs powered by x402 using USDC on Base.","url":"https://www.api-xpay.com/x402/payment","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"payment":{"asset":"USDC","payer":"0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0","amount":"0.001","network":"base","receiver":"0x589a2314a2E05F45e40C4823Da3Ba58D421dB3d8","requestId":"req_abc123","transactionHash":"0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"},"service":"X Pay","success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D5N5SohE5n-oDLsFuho9z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a payment receipt with full transaction details for an x402 USDC payment made on Base network","exampleAgentPrompt":"Can you pull up the payment receipt from X Pay for that recent USDC micropayment on Base — I want to see the transaction hash, payer address, and whether it was successful?","exampleUseCases":[{"title":"Audit micropayment transaction records","prompt":"I just made a pay-per-request call using x402 — can you fetch the payment receipt from X Pay so I can confirm the USDC came out of the right wallet and see the transaction hash on Base?"},{"title":"Verify payment before fulfilling order","prompt":"Before I release the data to the client, can you check the X Pay payment receipt to confirm their USDC payment was successful and get me the payer address and request ID?"},{"title":"Reconcile payment logs for accounting","prompt":"Pull the payment receipt from X Pay for the last API call so I can record the transaction hash, amount in USDC, and the receiver address in our accounting spreadsheet."}],"resultDescription":"Returns a JSON object with a 'payment' object containing: payer wallet address, receiver wallet address, USDC amount, network (Base), request ID, and transaction hash — plus a 'success' boolean and 'service' name confirming the payment was processed.","failureModes":["Payment not yet confirmed on-chain — returns success: false or empty transaction hash","Invalid or missing x402 payment header — returns 402 or authentication error","Network congestion causing delayed transaction confirmation","Wrong HTTP method supplied — endpoint only accepts GET, HEAD, or DELETE","Transaction hash unavailable if payment is still pending"],"whenToPreferThis":"Use this endpoint when you need to retrieve or verify the details of an x402 USDC micropayment processed through X Pay on Base network — particularly for audit trails, payment confirmation before fulfilling a service, or reconciling transaction records. Prefer this over generic blockchain explorers when you need structured payment metadata tied to a specific API request ID.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:46:57.863Z","isFirstParty":false}