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 751–775 of 4,762

card_payment, page 31 of 191
payment_id→ payment.payment_idinstitution_id→ financial_institution.institution_idissuing_branchTEXTissued_countryTEXTaccount_nameTEXTcard_first4TEXTcard_last4TEXTexpiry_monthINTEGERexpiry_yearINTEGERwalletTEXT
9153Toulouse CapitoleFranceZoé Leroy4891096612020NULL
9164Paris LouvreFranceGabriel Simon5515780452018NULL
9178Beijing XidanChinaYang Huang40962184112016NULL
9197Denver Union StationUnited StatesNoah Moore41421238122016Apple Pay
92121Brasília Asa SulBrazilHelena Alves4373467332018NULL
92230Moscow TverskayaRussiaAnna Vasiliev53534010102017NULL
9231Lyon BellecourFranceHugo Durand4668149032019NULL
9243Toulouse CapitoleFranceChloé Moreau4508149552019NULL
92518Berlin Unter den LindenGermanyLeon Weber4301202542019NULL
92616Madrid Gran VíaSpainLucía Rodríguez4453849422018NULL
9272Paris La DéfenseFranceChloé Dubois5388377712017NULL
92815Roma TerminiItalyGinevra Russo5164579412017NULL
92914Torino CentroItalyGinevra Russo5283862462018NULL
93013Bristol Corn StUnited KingdomAmelia Johnson4072851422017NULL
93130Moscow TverskayaRussiaAlexander Kuznetsov5361900992017NULL
93212Leeds BriggateUnited KingdomJack Wright4539429392018NULL
9331Nantes CommerceFranceJules Lefebvre44548287102019NULL
93420Rio CentroBrazilMiguel Rodrigues4177768932020NULL
93516Sevilla TrianaSpainSofía González4782169012019NULL
9366Atlanta MidtownUnited StatesAva Moore41327909122017NULL
9372Marseille CanebièreFranceLouis Thomas5255152652018NULL
93818Berlin Unter den LindenGermanyBen Becker54234071122017NULL
93917Barcelona EixampleSpainSofía Sánchez41513520102020NULL
94017Bilbao AbandoSpainSofía Sánchez4613872552021NULL
9423Rennes RépubliqueFranceLouis Durand4384335372019NULL
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;