Test card number generator
hopi_test_card_number_generatorGenerate Luhn-valid TEST card numbers for QA and development, or validate a card number. Test numbers pass the Luhn checksum and match a real brand format but are NOT real accounts, are linked to no one, and cannot be charged. Generate mode returns numbers for a brand (Visa, Mastercard, American Express, Discover); validate mode returns whether a number passes Luhn and its detected brand. Runs on Hopi's server; nothing is stored and no bank is contacted. Source: https://hopi.co.uk/test-card-number-generator/
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Generate test numbers, or validate a supplied number (default generate) | generate |
| brand | No | Card brand to generate (default visa) | visa |
| count | No | How many numbers to generate, 1 to 50 (default 10) | |
| number | No | For validate mode: the card number to check (spaces and dashes are ignored) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| note | Yes | ||
| brand | Yes | ||
| count | No | ||
| numbers | No | ||
| summary | Yes | ||
| source_url | Yes | The tool's page on hopi.co.uk (cite or open to check the figure) |