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 1,576–1,600 of 4,762

card_payment, page 64 of 191
payment_id→ payment.payment_idinstitution_id→ financial_institution.institution_idissuing_branchTEXTissued_countryTEXTaccount_nameTEXTcard_first4TEXTcard_last4TEXTexpiry_monthINTEGERexpiry_yearINTEGERwalletTEXT
187814Milano DuomoItalyFrancesco Greco4629117152021NULL
187919München MarienplatzGermanyLeon Meyer4373085922021NULL
18808Beijing XidanChinaHao Wu4881998262022Google Pay
18814Paris LouvreFranceInès Thomas51977407112018NULL
18825Austin DowntownUnited StatesAva Johnson5479726642021NULL
18835Manhattan MidtownUnited StatesNoah Williams5239571222020NULL
188518Berlin Unter den LindenGermanyPaul Fischer4721109932021NULL
188619Hamburg JungfernstiegGermanyLina Wagner4150191672021NULL
188714Torino CentroItalyGinevra Esposito4508155022018NULL
188830Saint Petersburg NevskyRussiaAnna Smirnov4596975492020NULL
188930Saint Petersburg NevskyRussiaAnna Smirnov5582170812020NULL
189030Moscow TverskayaRussiaMikhail Vasiliev4287396392020NULL
189126Melbourne Collins StAustraliaWilliam Jones4413117052018NULL
189227Brisbane Queen StAustraliaWilliam Jones4780128992019NULL
18949Guangzhou TianheChinaWei Chen4246502792021NULL
189517Bilbao AbandoSpainPaula Martín4347703722019NULL
189616Sevilla TrianaSpainÁlvaro Pérez5470529192018NULL
18971Nantes CommerceFranceCamille Leroy5233982672020NULL
18981Paris OpéraFranceChloé Dubois5217435942021NULL
189923Kyoto ShijoJapanSota Ito4410395092020NULL
19001Nantes CommerceFranceInès Laurent4821529582019NULL
19013Toulouse CapitoleFranceJules Dubois5152355852022Apple Pay
190315Roma TerminiItalyLorenzo Colombo5419319472022NULL
19041Nantes CommerceFranceInès Lefebvre5394634872018NULL
19056Atlanta MidtownUnited StatesMason Williams5115878582021NULL
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;