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,451–1,475 of 4,762

card_payment, page 59 of 191
payment_id→ payment.payment_idinstitution_id→ financial_institution.institution_idissuing_branchTEXTissued_countryTEXTaccount_nameTEXTcard_first4TEXTcard_last4TEXTexpiry_monthINTEGERexpiry_yearINTEGERwalletTEXT
17315Austin DowntownUnited StatesJames Miller5227984942020NULL
173331Warszawa ŚródmieściePolandAntoni Wójcik4087724552020NULL
173432Göteborg AvenynSwedenWilliam Olsson5515067562019NULL
173616Madrid Gran VíaSpainDaniel Pérez4565096072017NULL
17378Beijing XidanChinaXin Liu62512295102019NULL
173834Helsinki AleksanterinkatuFinlandAino Mäkelä45460050112018Apple Pay
17391Nantes CommerceFranceChloé Leroy4810377552018NULL
174012Leeds BriggateUnited KingdomGrace Johnson3705577142017NULL
174113Bristol Corn StUnited KingdomGrace Johnson4024357062021NULL
174210Hangzhou XihuChinaXin Liu6204769572020NULL
17439Guangzhou TianheChinaXin Liu5351089742019NULL
174432Stockholm Sergels TorgSwedenOscar Persson42566613102018NULL
174532Stockholm Sergels TorgSwedenOscar Larsson5177710872020NULL
17465Chicago LoopUnited StatesHarper Taylor4875885372019NULL
17472Paris La DéfenseFranceManon Martin5281016212020Apple Pay
17482Paris La DéfenseFranceManon Moreau5320126542020NULL
17492Marseille CanebièreFranceCamille Thomas41950161122020NULL
17518Shanghai PudongChinaJing Zhang6287579952017NULL
175229Utrecht CentrumNetherlandsJulia Meijer44440848122020NULL
17536San Francisco Market StUnited StatesEmma Williams51425303112021NULL
175424Seoul YeouidoSouth KoreaDo-yun Park5181597652018NULL
17551Nantes CommerceFranceChloé Lefebvre4852545062019NULL
17565Chicago LoopUnited StatesAva Anderson5213259722021NULL
175719Hamburg JungfernstiegGermanyBen Becker5509282682021NULL
175830Saint Petersburg NevskyRussiaIvan Vasiliev51177059102021NULL
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;