{"uid":"cap_EW2MfEIoGJRL6tE1olUXR","slug":"delx-commerce-x402-scheme-select-a67d3287","name":"Delx Commerce X402 Scheme Select","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/x402-scheme-select?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"schemes":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Schemes supplied to X402 Scheme Select; used only for this bounded calculation and processed in memory without retention."},"supported_schemes":{"type":"array","items":{"type":"string","maxLength":8192},"maxItems":256,"description":"Supported Schemes supplied to X402 Scheme Select; used only for this bounded calculation and processed in memory without retention."}}},"responseSchema":{"type":"json","example":{"result":{"selected":"exact","supported":["exact"]},"schema":"delx/util-x402-scheme-select/v1","status":"pass","evidence":{"retained":false,"input_sha256":"a045739927a7259d237f0c405b73130cd2fb17caabdca6ce41cffff6ac4ff2ed","external_calls":0},"operation":"delivery_contract:x402_scheme_select"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cyy6ZW2dXpL1DqizpyJov","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Selects the best matching X402 payment scheme from a list of schemes against a set of supported schemes, returning the chosen scheme with verifiable evidence.","exampleAgentPrompt":"Given my available x402 payment schemes ['exact','flexible'] and the server's supported schemes ['exact'], figure out which scheme we should use to proceed with this payment.","exampleUseCases":[{"title":"Agent payment scheme negotiation","prompt":"My agent is about to pay for an API using x402. My schemes are ['exact','streaming'] and the server says it supports ['exact']. Which scheme should we use?"},{"title":"Validate scheme compatibility before transaction","prompt":"Before I send a payment, check if any of my schemes ['flexible','exact'] are compatible with the server's supported schemes ['exact','batch'] and tell me which one to pick."},{"title":"Automated scheme selection in payment pipeline","prompt":"I'm building an agent payment pipeline — given the offered schemes ['exact'] and the server's supported list ['exact','streaming'], automatically select the right scheme so I can proceed without manual intervention."}],"resultDescription":"Returns a JSON object with the selected scheme name, a list of supported schemes, a status ('pass'), and a verifiable evidence block containing a SHA-256 hash of the input, a flag confirming no data retention, and a count of zero external calls made during processing.","failureModes":["No matching scheme found between offered and supported lists — returns error or empty selection","Malformed or empty schemes arrays — may return validation error","Exceeding maxItems (256) per array — request rejected","Non-string scheme values — schema validation failure"],"whenToPreferThis":"Use this endpoint when your agent needs to programmatically negotiate the correct X402 payment scheme before initiating a micropayment, particularly when interacting with servers that advertise multiple scheme options and you need a deterministic, verifiable selection with cryptographic evidence of the input — without retaining sensitive data server-side.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:44.314Z","isFirstParty":false,"canonicalSlug":"delx-commerce-x402-scheme-select-a67d3287"}