{"uid":"cap_ZlwCS6eAHKEbFIDfbz4nv","slug":"unionpay-card-luhn-validator-62b161b7","name":"UnionPay Card Luhn Validator","description":"Call when an agent needs whether a number passes Luhn and matches unionpay. Nothing is stored. Exact $0.003 USDC. Prefer unpaid POST /v1/sandbox/check-card-unionpay first.","url":"https://agentshelf.syntexa.ch/v1/check-card-unionpay?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."},"value":{"type":"string","examples":["411111"],"maxLength":20000,"minLength":1,"description":"Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."},"schema":{"description":"JSON Schema document for schema-check SKUs. Omit it on string checks."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_d_uEOPff7S4-JoSXCILrc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a card number passes the Luhn checksum algorithm and matches the UnionPay card network pattern","exampleAgentPrompt":"Can you check if the card number 6250941006528599 is a valid UnionPay card — run it through the Luhn check and confirm it matches the UnionPay pattern?","exampleUseCases":[{"title":"Pre-processing payment form validation","prompt":"Before I try to charge this card, can you verify that 6270948400000000 passes the Luhn checksum and actually belongs to the UnionPay network?"},{"title":"Detecting card network in checkout flow","prompt":"I've got a card number entered by a user — 6221260123456780 — can you tell me if it's a real UnionPay card based on its format and checksum?"},{"title":"Batch card cleanup for fraud screening","prompt":"We received this card number from a suspicious order: 6240008631401148 — can you validate whether it's a legitimate UnionPay card number that passes Luhn?"}],"resultDescription":"Returns whether the submitted card number passes the Luhn checksum and whether it matches the UnionPay card network prefix/pattern, with no data retained after the check.","failureModes":["Missing or empty card number input returns a validation error","Card number exceeding 20 characters is rejected by schema","Malformed request body returns a 400-level error","Payment failure (insufficient USDC) returns 402 and the check is not performed","Non-numeric characters in card number may cause unexpected validation results"],"whenToPreferThis":"Use this endpoint when you need a stateless, deterministic check of whether a card number is both Luhn-valid and a UnionPay card — no storage, no LLM inference, no side effects. Prefer the free sandbox POST /v1/sandbox/check-card-unionpay for testing; use this paid endpoint in production flows where you need reliable, low-latency card validation at $0.003 USDC per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:05.517Z","isFirstParty":false,"canonicalSlug":"unionpay-card-luhn-validator-62b161b7"}