{"uid":"cap_tXI1c6jpXxbSzhcRXkgkm","slug":"risk-api-retry-safety-check-0180ff9c","name":"Risk API - Retry Safety Check","description":"Check if a payment settled or is safe to retry. Prevents double-charging on timeout.","url":"https://risk-api-production-af85.up.railway.app/retry-safe?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_7BcS38xY3uqE5nEVue2UL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Determines whether a payment has already settled or is safe to retry, preventing double-charges on timed-out transactions.","exampleAgentPrompt":"Before I retry that payment, can you check if it already settled so I don't accidentally double-charge the customer?","exampleUseCases":[{"title":"E-commerce timeout retry check","prompt":"My checkout request timed out and I'm not sure if the payment went through — can you check if it settled before I try charging the customer again?"},{"title":"Agent payment loop safeguard","prompt":"My automated agent sent a payment but didn't get a confirmation back. Check if that payment already went through so the agent knows whether to retry or abort."},{"title":"Post-network-outage reconciliation","prompt":"We had a network hiccup mid-transaction and I don't know if the payment completed. Can you tell me if it's safe to resubmit without double-billing the user?"}],"resultDescription":"Returns a status indicating whether the payment has already settled and whether it is safe to retry, allowing callers to avoid double-charging on ambiguous or timed-out payment attempts.","failureModes":["Missing or invalid payment/transaction identifier returns an error","Transaction too recent to have a definitive settlement status","Network timeout reaching the Railway-hosted service","Unrecognized transaction type or method returns a validation error","Payment hash not found on-chain returns unknown status"],"whenToPreferThis":"Use this endpoint when you need to safely handle payment retries after a timeout or network failure, specifically to avoid double-charging. It is best suited for agentic payment flows on Base or x402-style micropayments where confirmation receipts may be lost. Prefer this over a raw transaction lookup when you need a clear go/no-go signal on retry safety rather than raw transaction data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:31:47.243Z","isFirstParty":false,"canonicalSlug":"risk-api-retry-safety-check-0180ff9c"}