Skip to content
Louvre Ops DB

Table

card_payment

Card and wallet details: first and last four digits, expiry month and year, issuing branch.

Replaces in 2020: EFTPOS

Rows 2,251–2,275 of 4,762

card_payment, page 91 of 191
payment_id→ payment.payment_idinstitution_id→ financial_institution.institution_idissuing_branchTEXTissued_countryTEXTaccount_nameTEXTcard_first4TEXTcard_last4TEXTexpiry_monthINTEGERexpiry_yearINTEGERwalletTEXT
266618Frankfurt TaunusanlageGermanyBen Weber4170585122022NULL
266719München MarienplatzGermanyEmma Becker4136240192022NULL
266814Milano DuomoItalyAlessandro Esposito4089105592018NULL
266923Yokohama MinatomiraiJapanSota Nakamura40847643102018NULL
26704Paris LouvreFranceLucas Dubois4815090272021NULL
26711Lyon BellecourFranceChloé Petit5286707582021NULL
267215Firenze Santa Maria NovellaItalyGinevra Russo4439299622018NULL
26733Rennes RépubliqueFranceZoé Robert4464321082019NULL
26743Toulouse CapitoleFranceHugo Bernard48654750112020NULL
26753Bordeaux ChartronsFranceInès Moreau5160974712018Apple Pay
26761Lyon BellecourFranceHugo Petit47969847112021NULL
267717Bilbao AbandoSpainHugo Martínez4725830152022NULL
26787Denver Union StationUnited StatesAva Williams4823977832019NULL
267910Hangzhou XihuChinaFang Xu62555209122022NULL
268023Kyoto ShijoJapanSakura Tanaka5141528692018NULL
268231Warszawa ŚródmieściePolandZuzanna Zieliński45281432122019NULL
268322Tokyo MarunouchiJapanRen Nakamura4294216852021NULL
26844Paris LouvreFranceChloé Martin5225756482018NULL
26854Paris LouvreFranceManon Simon4588468182018NULL
26867Seattle Pike PlaceUnited StatesEmma Wilson3759265792022NULL
26872Marseille CanebièreFranceInès Petit4979522442018NULL
26881Paris OpéraFranceLucas Laurent5233773882020NULL
268910Hangzhou XihuChinaMin Wu62542992102018Apple Pay
26903Bordeaux ChartronsFranceLucas Thomas4727633992018NULL
269114Torino CentroItalyLeonardo Ferrari42583039102019NULL
Table definition
CREATE TABLE card_payment (
  payment_id     INTEGER PRIMARY KEY REFERENCES payment (payment_id),
  institution_id INTEGER NOT NULL REFERENCES financial_institution (institution_id),
  issuing_branch TEXT NOT NULL,
  issued_country TEXT NOT NULL,
  account_name   TEXT NOT NULL,
  card_first4    TEXT NOT NULL CHECK (length(card_first4) = 4 AND card_first4 NOT GLOB '*[^0-9]*'),
  card_last4     TEXT NOT NULL CHECK (length(card_last4) = 4 AND card_last4 NOT GLOB '*[^0-9]*'),
  expiry_month   INTEGER NOT NULL CHECK (expiry_month BETWEEN 1 AND 12),
  expiry_year    INTEGER NOT NULL CHECK (expiry_year BETWEEN 2000 AND 2099),
  wallet         TEXT CHECK (wallet IN ('Apple Pay', 'Google Pay'))
) STRICT;