{"uid":"cap_I74kJKTl2WAWPQ0iSqglN","slug":"x402-toolbox-card-luhn-check-c1fccaed","name":"x402-toolbox Card Luhn Check","description":"309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.","url":"https://x402-toolbox.shablony-pro.workers.dev/util/card-luhn-check?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"schema":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true}},"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_Kqg4SMDFX5nFXrEDsk-uy","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":"Validates a credit or debit card number using the Luhn algorithm to determine if it is structurally valid","exampleAgentPrompt":"Can you run a Luhn check on this card number — 4111111111111111 — and tell me if it's structurally valid?","exampleUseCases":[{"title":"Pre-payment card number sanity check","prompt":"Before I try to charge this card, can you verify the number 5500005555555559 passes a Luhn check so I know it's not obviously garbage?"},{"title":"Form validation before submission","prompt":"A user just typed in card number 1234567890123456 on our checkout form — can you do a Luhn check and tell me if it's a valid card number so we can show an inline error before they hit submit?"},{"title":"Bulk fraud screening for suspicious orders","prompt":"I have a card number 4000000000000002 from an order that looks suspicious — run a Luhn check on it and tell me if the number itself is even structurally valid."}],"resultDescription":"Returns a JSON object with an 'ok' boolean indicating whether the card number passes the Luhn algorithm check, and a 'paid' boolean confirming the micropayment was processed via x402.","failureModes":["Missing or malformed schema/card number input returns an error or unexpected result","Invalid JSON schema string causes parsing failure","Non-numeric characters in card number may cause validation to fail or return false","Network or payment failure on x402 protocol returns a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a fast, serverless, no-signup Luhn algorithm check on a card number and want to pay per-call in USDC via x402 with no API key required. Prefer it over full card validation services when you only need structural checksum verification, not bank-level card verification or BIN lookup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:49:10.649Z","isFirstParty":false,"canonicalSlug":"x402-toolbox-card-luhn-check-c1fccaed"}