Skip to main content
GET
Luhn Algorithm Validation

Luhn Validation Guide

Complete guide with examples, parameters, and best practices

Authorizations

X-Api-Key
string
header
required

Please enter ApiKey into field

Query Parameters

number
string
required

The full card number to be validated

metaData
boolean
default:false

An optional indicator to specify whether the card metadata should be included in the response

Response

OK

Luhn Check Results with optional IIN metadata

luhnValid
boolean

Indicates whether the card number passed the Luhn algorithm check

error
string | null

Error description if validation failed

iinData
object

IIN / BIN metadata for a card