{"uid":"cap_NN5WDpdPHNtyB_FlUdltZ","slug":"payment-optimizer-044d0773","name":"Payment Optimizer","description":"Rank only tested payment routes under explicit cost and latency constraints","url":"https://phion.systems/v1/paid/trust/payment-optimizer?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["body"],"properties":{"body":{"type":"object","additionalProperties":true}}},"output":{"type":"object","required":["example"],"properties":{"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_rrKH9TiRMFkhHVPgpjS1t","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Ranks only tested payment routes based on explicit cost and latency constraints to identify the optimal path","exampleAgentPrompt":"I need to send a cross-border payment — can you rank the available tested routes for me, keeping fees under $2 and settlement latency under 30 seconds?","exampleUseCases":[{"title":"Cross-border payment route selection","prompt":"I'm sending $500 internationally and need you to rank all the tested payment routes where the fee is under $3 and settlement completes in under 60 seconds — show me the best options."},{"title":"High-frequency agent payment optimization","prompt":"My agent fleet needs to make micro-payments constantly — can you find and rank the tested routes with the absolute lowest cost per transaction, as long as latency stays under 10 seconds?"},{"title":"Latency-critical checkout routing","prompt":"For our checkout flow, rank the tested payment routes that can settle in under 5 seconds — I'm willing to pay up to $1 in fees per transaction to guarantee that speed."}],"resultDescription":"An ordered list of tested payment routes ranked by a scoring function respecting the caller's cost ceiling and latency ceiling, including per-route cost estimates, latency estimates, and a rank or score for each route. Only routes that have been empirically tested are included.","failureModes":["No tested routes satisfy both cost and latency constraints simultaneously — returns empty ranked list or constraint-violation error","Input schema omits required constraint fields, resulting in a validation error","All candidate routes are untested and therefore excluded from ranking","Network or provider unavailability causes route data to be stale or missing","Ambiguous constraint units (e.g. latency in ms vs seconds) may lead to misranking"],"whenToPreferThis":"Choose this endpoint when you need to select among multiple payment routes and must respect both a cost cap and a latency cap simultaneously, and when you want only empirically tested routes (not theoretical ones) in the result set. Prefer this over generic payment APIs when routing correctness and constraint satisfaction are critical for automated agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T00:50:07.324Z","isFirstParty":false,"canonicalSlug":"payment-optimizer-044d0773"}