Maestro Generator
Maestro debit card numbers — 12 to 19 digits with Luhn check.
International Validation Generation
How generation works
The Maestro generator builds a structurally valid sample using the same rules the validator enforces — check digits included. Use it for test data and fixtures; never for production records.
Install the package
dotnet add package DocumentNumber.PaymentCardNumber.Maestro.Generator
Generator in C#
using DocumentNumber.PaymentCardNumber.Maestro.Generator;
var generator = new MaestroPaymentCardGenerator();
var sample = generator.GenerateDocumentNumber();
Console.WriteLine(sample);
Live example
50188234134031 — a real Maestro value accepted by the validator
Try Maestro generation
Runs the exact same library code your application uses. Nothing you enter is stored.
Frequently asked questions
What is Maestro?
Maestro debit card numbers — 12 to 19 digits with Luhn check.
How does Maestro generation work?
The generator builds a structurally valid Maestro sample using the same rules the validator enforces — including check digits. Generated values are intended for tests and development only.
How do I install the Maestro generator package?
dotnet add package DocumentNumber.PaymentCardNumber.Maestro.Generator
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.