{"digits_count":16,"brand":"visa","luhn_valid":true,"length_valid_for_brand":true,"valid":true,"masked":"411111******1111","note":"Validacao por algoritmo de Luhn e bandeira pelo prefixo. Nao consulta banco emissor. Nada e armazenado."}
curl --location --request GET 'https://zylalabs.com/api/13157/credit+card+number+validator+api/26703/validate+card+number' --header 'Authorization: Bearer YOUR_API_KEY'
साइन अप करने के बाद, प्रत्येक डेवलपर को एक पर्सनल API एक्सेस की असाइन की जाती है, जो अक्षरों और अंकों का एक यूनिक संयोजन होता है, जिसका उपयोग हमारे API एंडपॉइंट तक पहुंचने के लिए किया जाता है। प्रमाणीकरण के लिए Credit Card Number Validator API के साथ बस अपने बेयरर टोकन को Authorization हेडर में शामिल करें।
| हेडर | विवरण |
|---|---|
Authorization
|
आवश्यक
होना चाहिए Bearer access_key. जब आप सब्सक्राइब हों तो ऊपर "Your API Access Key" देखें।
|
कोई लंबी अवधि की प्रतिबद्धता नहीं। कभी भी अपग्रेड, डाउनग्रेड या कैंसल करें। फ्री ट्रायल में 50 रिक्वेस्ट तक शामिल हैं।
(वार्षिक बिलिंग के साथ 2 महीने बचाएँ 🎉)
Catch invalid card numbers at the form, before a costly gateway round trip. One call verifies the checksum, detects the brand by prefix and checks the number length for that brand.
Useful for checkout form validation in online stores and subscription billing, pre-validation before tokenization, cleaning card data in customer systems, and showing the right brand logo at checkout. The verdict means the number is well formed; it does not query the issuing bank.
वैलिडेट कार्ड नंबर एन्डपॉइंट डेटा लौटाता है जिसमें कार्ड नंबर की वैधता ब्रांड की पहचान अंक गिनती ब्रांड के लिए लंबाई की वैधता और कार्ड नंबर का एक मास्क किया हुआ संस्करण शामिल है
Key fields in the response include "valid" (indicating overall validity), "brand" (the detected card brand), "digits_count" (total digits), "length_valid_for_brand" (length check result), "luhn_valid" (checksum validation), and "masked" (masked card number).
The response data is structured in JSON format, with key-value pairs for each field. For example, a typical response might look like: {"valid": true, "brand": "visa", "masked": "411111******1111"}.
The endpoint provides information on card validity, brand detection, checksum verification, and length validation specific to the card brand, ensuring comprehensive pre-validation before processing.
Users can customize their requests by providing different card numbers to the Validate Card Number endpoint. Each request will return validation results specific to the submitted card number.
शामिल सामान्य उपयोग के मामलों में ऑनलाइन चेकआउट के दौरान कार्ड नंबरों की सत्यापन करना टोकनकरण से पहले कार्डों की प्री-सत्यापन करना ग्राहक प्रणालियों में कार्ड डेटा को साफ करना और चेकआउट पर सही ब्रांड लोगो प्रदर्शित करना है
Data accuracy is maintained through the use of the Luhn algorithm for checksum verification and brand detection based on established prefix rules, ensuring reliable validation without querying issuing banks.
मानक डेटा पैटर्न में एक बूलियन "मान्य" फ़ील्ड शामिल है जो समग्र प्रामाणिकता को दर्शाता है एक "ब्रांड" फ़ील्ड जिसमें मान्यता प्राप्त कार्ड ब्रांड हैं और एक "मास्केड" फ़ील्ड जो संवेदनशील अंकों को छिपाते हुए कार्ड नंबर दिखाती है