Maestro UK Generator

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

International Validation Generation

How generation works

The Maestro UK 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

bash
dotnet add package DocumentNumber.PaymentCardNumber.MaestroUK.Generator

Generator in C#

Program.cs
using DocumentNumber.PaymentCardNumber.MaestroUK.Generator;

var generator = new MaestroUKPaymentCardGenerator();
var sample = generator.GenerateDocumentNumber();

Console.WriteLine(sample);

Live example

67592821775211362 — a real Maestro UK value accepted by the validator

Try Maestro UK generation

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

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

Frequently asked questions

What is Maestro UK?

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

How does Maestro UK generation work?

The generator builds a structurally valid Maestro UK 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 UK generator package?

dotnet add package DocumentNumber.PaymentCardNumber.MaestroUK.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.

Related document types