Maestro Validator

Maestro debit card numbers — 12 to 19 digits with Luhn check.

International Validation Generation

How validation works

The validator checks the Maestro issuer ranges and length, then applies the Luhn checksum.

Install the package

bash
dotnet add package DocumentNumber.PaymentCardNumber.Maestro.Validator

Validator in C#

Program.cs
using DocumentNumber.PaymentCardNumber.Maestro.Validator;

var validator = new MaestroPaymentCardValidator();
var isValid = validator.Validate("50188234134031");

Console.WriteLine(isValid ? "Valid" : "Invalid");

Live example

50188234134031 — a real Maestro value accepted by the validator

Try Maestro validation

Runs the exact same library code your application uses. Nothing you enter is stored.

Document type Maestro International
Example: 50188234134031 — demo input is never stored.

Frequently asked questions

What is Maestro?

Maestro debit card numbers — 12 to 19 digits with Luhn check.

How does Maestro validation work?

The validator checks the Maestro issuer ranges and length, then applies the Luhn checksum.

How do I install the Maestro validator package?

dotnet add package DocumentNumber.PaymentCardNumber.Maestro.Validator

Is the value I enter in the demo stored?

No. Demo inputs are processed in memory for the current request only and are never persisted or shared.

Related document types