Payment Test Cards (CSV)
A reference list of well-known payment TEST card numbers (Visa, Mastercard, Amex, Discover, JCB, Diners) with sample CVV and expiry. These are published test values that pass the Luhn check but are not real accounts, for testing payment forms and card validators. Never use real card data.
brand,number,cvv,expiry,note
Visa,4111 1111 1111 1111,123,12/34,"TEST CARD — sample only, not a real account; passes the Luhn check"
Visa,4242 4242 4242 4242,123,12/34,"TEST CARD — sample only, not a real account; passes the Luhn check"
Mastercard,5555 5555 5555 4444,123,12/34,"TEST CARD — sample only, not a real account; passes the Luhn check"
Mastercard,2223 0031 2200 3222,123,12/34,"TEST CARD — sample only, not a real account; passes the Luhn check"
American Express,3782 822463 10005,1234,12/34,"TEST CARD — sample only, not a real account; passes the Luhn check"
Discover,6011 1111 1111 1117,123,12/34,"TEST CARD — sample only, not a real account; passes the Luhn check"
JCB,3566 0020 2036 0505,123,12/34,"TEST CARD — sample only, not a real account; passes the Luhn check"
Diners Club,3056 9309 0259 04,123,12/34,"TEST CARD — sample only, not a real account; passes the Luhn check"
Specifications
- Rows
- 8
- Note
- well-known published TEST card numbers; sample-only, never real accounts
- Validation
- all pass the Luhn check
Testing contract
Expected to pass- Scenario
- Exercise Payment Test Cards (CSV) in its banking workflow. A reference list of well-known payment TEST card numbers (Visa, Mastercard, Amex, Discover, JCB, Diners) with sample CVV and expiry.
- Expected result
- 8 data records using ',' delimiters and UTF-8; header fields are brand, number, cvv, expiry, note; data-record widths (columns:count) are {"5":8}. Declared feature checks: validation=all pass the Luhn check.
What is a .csv file?
CSV (Comma-Separated Values) is a plain-text tabular format where rows are lines and fields are separated by commas, with quoting rules for values that contain delimiters, quotes, or newlines. It has no formal type system and depends on encoding and dialect conventions. It is the most portable format for tabular data exchange.
How to use this file
Use an example CSV to test parsers against quoting and embedded-delimiter edge cases, header handling, encoding detection, and import pipelines into databases or spreadsheets.
How to use this file for testing
“Payment Test Cards (CSV)” is a deterministic Testaroo fixture for Form testing, Data import. HTML and PDF form files for testing scrapers, autofill, validators, and PDF form fillers across real-life use cases.
Documented properties for this file: 8 rows. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such, expect parsers to fail loudly rather than silently accept them.
Data fixtures document their exact quirks (delimiters, encodings, null handling, schema, and row counts) in the spec table. Point your parser or importer at the file and assert it handles the documented edge cases; clean and deliberately-messy siblings make before/after diffs straightforward.
Code examples
import pandas as pd
df = pd.read_csv("test-cards.csv")
print(df.head())
print(df.dtypes)Generated by generation/data_domains.py. Free for any use, no attribution required, license.
Related files
- csvBank Transactions (CSV, 60 rows)A bank-transaction statement: 60 debits and credits across three accounts (masked numbers) with running balances, categories, and merchants. Synthetic data for testing statement parsers, categorisation, and reconciliation.

- jsonBank Transactions (JSON, 60 records)The bank transactions as a JSON array: the format twin of the CSV, for import and reconciliation testing.

- xmlISO 20022 Credit Transfer: pain.001 (XML)A sample ISO 20022 customer credit-transfer initiation (pain.001.001.09): a single payment with debtor/creditor parties, IBANs, BICs, amount, and remittance info. IBANs are published documentation examples; a fixture for testing payment-message parsers and bank integrations.

- csv10,000-Row CSVA CSV with 10,000 data rows, for testing streaming parsers, memory handling, and import performance.

- csvAlder Books Reconciliation: Aged creditors summaryAged creditors summary for Alder Books Reconciliation. The 3 suppliers behind the 16 operating payments, grouped by expense category. The amounts due are 774.00, 617.00, 673.00 and they sum to 2064.00, which is the total of the three actual columns on the budget report.

- csvAlder Books Reconciliation: Aged debtors reportAged debtors report for Alder Books Reconciliation. 8 open receivables aged at 2026-09-08, each with 100.00 outstanding against an invoice of between 750.00 and 1275.00. The ageing buckets hold 0.00 current, 500.00 at 31 to 60 days and 300.00 at 61 to 90 days, summing to 800.00, the receivables line of the trial balance.
