{"uid":"cap_Rp_PSjwtIGc6HWtC6ZdPp","slug":"delx-commerce-luhn-check-ef68deba","name":"Delx Commerce Luhn Check","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/luhn-check?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":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"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_AH8wP_rv8ESBgQ3SCv3Ad","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":"Validates a card or ID number using the Luhn algorithm to detect if it is structurally valid","exampleAgentPrompt":"Can you run a Luhn check on card number 4111111111111111 to tell me if it's structurally valid before I try to process it?","exampleUseCases":[{"title":"Pre-submission card number validation","prompt":"Before I submit this payment form, can you check whether the card number 4532015112830366 passes the Luhn algorithm so I know if it's a real card number or a typo?"},{"title":"Fraud screening for entered card digits","prompt":"A user just entered the card number 1234567890123456 on our checkout page — can you run a Luhn check to see if it's structurally valid before we even attempt to charge it?"},{"title":"Batch data quality check on stored card numbers","prompt":"I have this card number 4111111111111112 from our database and I'm not sure it's correct — can you validate it with a Luhn check to see if the checksum is right?"}],"resultDescription":"Returns a JSON response indicating whether the submitted number passes the Luhn checksum algorithm, typically including a boolean validity flag and possibly the computed check digit or checksum result.","failureModes":["Missing or malformed card number input returns a 400 error","Non-numeric input may return a validation error","Payment failure via x402 (insufficient USDC balance) blocks the request","Empty body or missing required fields returns a schema validation error"],"whenToPreferThis":"Use this endpoint when you need a lightweight, no-signup, pay-per-result Luhn validation with verifiable delivery settled in USDC on Base or Solana via x402 — ideal for AI agents that need on-demand card number integrity checks without maintaining API keys or subscriptions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:48.573Z","isFirstParty":false,"canonicalSlug":"delx-commerce-luhn-check-ef68deba"}