{"uid":"cap_gd-vkmd4sY7pTjRmTvt-N","slug":"cross-rail-x402-settlement-selection-procedure-a8785794","name":"Cross-Rail x402 Settlement Selection Procedure","description":"Agent-facing brief specifying a deterministic procedure for selecting a cross-rail settlement layer (Base, Solana, or XRP Ledger) for x402 agent payments. Focuses on decision logic, not marketing.","url":"https://k2so.wrong.systems/api/services/cross-rail-settlement-selection-procedure-for-ag","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":"cross-rail x402 settlement selection 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":"cross-rail-settlement-selection-procedure-for-ag","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"cross-rail-settlement-selection-procedure-for-ag","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":"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_-dlIwuRVCxEHx2OG2UpCU","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 deterministic prose decision procedure for selecting the optimal x402 settlement rail (Base, Solana, or XRP Ledger) for agent payments.","exampleAgentPrompt":"I need to decide which settlement rail to use for my x402 payments — can you get me the step-by-step decision procedure for choosing between Base, Solana, and XRP Ledger?","exampleUseCases":[{"title":"New agent payment rail onboarding","prompt":"My agent is about to make its first x402 payment and I'm not sure whether to route it through Base, Solana, or XRP Ledger — can you walk me through the decision procedure so I pick the right rail from the start?"},{"title":"Multi-rail agent switching logic","prompt":"I'm building an agent that needs to dynamically choose its settlement rail depending on context — give me the deterministic procedure for selecting between cross-rail x402 options so I can wire it into my routing logic."},{"title":"Non-EVM rail evaluation for agent payments","prompt":"I want to understand when my agent should prefer XRP Ledger or Solana over Base for x402 settlements — can you fetch the cross-rail selection procedure so I can evaluate the non-EVM options properly?"}],"resultDescription":"A JSON object containing a plain-prose decision procedure (120+ words) describing how an agent should select among Base, Solana, and XRP Ledger for x402 settlement, along with metadata including the generation source (llm, reasoning, or deterministic), model used, ISO-8601 timestamp, topic, and service slug.","failureModes":["Payment not included — returns 402 with payment instructions","Invalid query parameter values (e.g. meta not '0' or '1') — schema validation error","Service temporarily unavailable — 5xx response","Topic override not recognized — may return generic procedure"],"whenToPreferThis":"Choose this endpoint when an agent needs a clear, prose-formatted decision framework for routing x402 payments across Base, Solana, and XRP Ledger rails. Prefer it over generic documentation when you need a deterministic, agent-consumable procedure rather than marketing content. Especially useful when building multi-rail payment routing logic or onboarding to x402 for the first time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:04:34.531Z","isFirstParty":false}