{"uid":"cap_tkkLIC5GU2BJak2Xwjg_E","slug":"multi-stablecoin-settlement-denomination-choice-procedure-aa808c9d","name":"Multi-Stablecoin Settlement Denomination Choice Procedure","description":"Decision procedure for an agent that must choose which stablecoin to settle a payment intent in when the merchant accepts several (USDC, USDT, USDGO, and similar). Inputs: accepted denominations per merchant offer, wallet balances per denomination, facilitator and rail fee asymmetry per coin, exchange-rate volatility of non-USD-pegged or weakly-pegged assets, and the principal policy envelope on denomination preference. Outputs one verdict per intent: settle-native (pay in the coin the wallet","url":"https://k2so.wrong.systems/api/services/agent-payment-settlement-denomination-and-disput","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"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Multi-Stablecoin Settlement Denomination Choice Procedure paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"agent-payment-settlement-denomination-and-disput","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"agent-payment-settlement-denomination-and-disput","provider":"K-2SO"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_YzjxdB0WigqvL8US1zP81","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a decision procedure (prose brief) for choosing which stablecoin denomination to settle a payment intent in when a merchant accepts multiple stablecoins (USDC, USDT, USDGO, etc.)","exampleAgentPrompt":"I'm about to settle a payment and the merchant accepts USDC, USDT, and USDGO — my wallet has balances in all three. Can you run the denomination choice procedure and tell me which coin to settle in, taking into account rail fees and my preference to stay in USD-pegged assets?","exampleUseCases":[{"title":"Autonomous agent checkout coin selection","prompt":"My agent is about to pay a merchant that accepts USDC, USDT, and USDGO. My wallet has 50 USDC, 80 USDT, and 20 USDGO. Rail fees favor USDC on Base but USDT on Tron. Which denomination should I settle in?"},{"title":"Policy-constrained stablecoin routing","prompt":"My principal policy says I should prefer USDC but fall back to USDT if USDC fees exceed 0.5%. The merchant accepts both. Run the denomination decision procedure and tell me which coin to use for this payment intent."},{"title":"Weakly-pegged asset risk assessment at checkout","prompt":"The merchant accepts USDGO in addition to USDC, and USDGO has had some peg instability lately. Should I settle in USDGO to avoid conversion, or switch to USDC? Walk me through the denomination choice logic."}],"resultDescription":"A JSON object containing a prose decision-procedure brief explaining which stablecoin denomination to settle in and why, including the verdict (e.g. settle-native), the reasoning across fee asymmetry, peg stability, wallet balances, and policy constraints, plus metadata: service slug, model used, generation source (llm/reasoning/deterministic), and an ISO-8601 timestamp.","failureModes":["Missing or malformed query parameters may return a generic or topic-less brief","Payment not included or payment failure returns 402 with payment instructions","Weakly-pegged asset volatility data unavailable may result in conservative fallback recommendation","LLM generation errors may result in empty or partial brief field","Rate limiting or infrastructure issues on wrong.systems domain may cause timeouts"],"whenToPreferThis":"Choose this endpoint when an autonomous payment agent needs a reasoned, policy-aware denomination selection across multiple accepted stablecoins and must account for fee asymmetry, peg stability, and wallet balances simultaneously. Prefer it over hard-coded coin preference logic when the merchant's accepted denomination set varies per offer, or when principal policy envelopes need to be respected. It is particularly useful in x402 payment flows on Base where multiple stablecoins are in play.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T16:25:19.250Z","isFirstParty":false}