{"uid":"cap_C849Qb7ZsQIIDYgd-jhP0","slug":"multi-stablecoin-settlement-denomination-choice-procedure-eac820f6","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-8080.on.ascii.dev/api/services/agent-payment-settlement-denomination-and-disput?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","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":null,"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":"unknown","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_Czj1cYjppya5RA0AIRikU","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 for choosing which stablecoin (USDC, USDT, USDGO, etc.) to settle a payment intent in, given merchant acceptance, wallet balances, fee asymmetry, and policy constraints.","exampleAgentPrompt":"I need 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 to figure out which coin is cheapest and safest to pay with given current fees and my policy preferences?","exampleUseCases":[{"title":"Lowest-fee stablecoin selection for recurring payments","prompt":"My agent pays several merchants weekly and they all accept multiple stablecoins. Run the denomination choice procedure to figure out which coin minimizes rail and facilitator fees across my wallet balances for each payment intent."},{"title":"Avoid weakly-pegged assets during volatile market","prompt":"I'm about to settle a large payment and the merchant accepts USDC, USDT, and USDGO. Run the stablecoin denomination decision to make sure I'm not settling in anything with exchange-rate volatility risk right now."},{"title":"Policy-constrained denomination for enterprise wallet","prompt":"Our company policy requires we prefer USDC over other stablecoins whenever accepted, but fall back to USDT if USDC balance is insufficient. Can you run the denomination choice procedure for this payment intent to confirm which coin we should use?"}],"resultDescription":"A JSON object containing a boolean success flag, the paid status, a 'brief' field with decision procedure prose suitable for agent consumption, the recommended settlement verdict (settle-native, convert-then-pay, or reject), the topic slug, generation source (llm, reasoning, or deterministic), and an ISO-8601 timestamp.","failureModes":["Payment not included: returns 402 requiring x402 micropayment of $0.002 USDC before content is served","Missing or malformed query parameters: procedure may return a generic or default topic response","LLM generation failure: generationSource may fall back to deterministic with reduced detail","Invalid meta parameter value: only '0' or '1' accepted, other values may be rejected","Service temporarily unavailable: endpoint on ascii.dev sandbox may have uptime variability"],"whenToPreferThis":"Use this endpoint when an autonomous payment agent needs principled, policy-aware logic for selecting among multiple accepted stablecoins before executing an x402 payment. It is specifically suited for scenarios where fee asymmetry, weak pegs, or wallet balance constraints make the choice non-trivial. Prefer this over hardcoding denomination logic when merchant acceptance sets vary or when principal policies need to be factored in systematically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T12:54:46.138Z","isFirstParty":false,"canonicalSlug":"multi-stablecoin-settlement-denomination-choice-procedure-eac820f6"}