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,051–1,075 of 4,762

card_payment, page 43 of 191
payment_id→ payment.payment_idinstitution_id→ financial_institution.institution_idissuing_branchTEXTissued_countryTEXTaccount_nameTEXTcard_first4TEXTcard_last4TEXTexpiry_monthINTEGERexpiry_yearINTEGERwalletTEXT
126624Seoul YeouidoSouth KoreaMin-jun Lee4499649452017NULL
126731Kraków RynekPolandJan Nowak5468550632021NULL
126814Milano DuomoItalyFrancesco Greco48078377112019NULL
12695Austin DowntownUnited StatesElla Jones4569616082019NULL
12705Manhattan MidtownUnited StatesLiam Smith5575066912020NULL
127222Osaka UmedaJapanYuto Tanaka5167545612017NULL
127312Birmingham New StUnited KingdomFreddie Walker5391759052018NULL
127411Manchester Market StUnited KingdomFreddie Walker4250462852018NULL
12763Toulouse CapitoleFranceArthur Petit4262306872020NULL
127718Frankfurt TaunusanlageGermanyBen Wagner4303484542021NULL
127821Belo Horizonte SavassiBrazilLaura Oliveira5391213612018NULL
12791Paris OpéraFranceChloé Petit4226015742017NULL
128029Eindhoven StratumseindNetherlandsTess Meijer4654617232019NULL
12815Chicago LoopUnited StatesNoah Brown4768153442020NULL
128223Kyoto ShijoJapanRen Ito35160261102017NULL
128317Bilbao AbandoSpainMateo Rodríguez4475832472020NULL
128416Madrid Gran VíaSpainMateo Rodríguez5334184612019NULL
128526Adelaide Rundle MallAustraliaCharlotte Taylor5225918532019NULL
12864Paris LouvreFranceInès Bernard52060683112017NULL
128730Saint Petersburg NevskyRussiaMikhail Kuznetsov4431196352021NULL
128824Busan SeomyeonSouth KoreaSeo-jun Kang4548802992017NULL
12892Lille Grand PlaceFranceHugo Simon52373967122017NULL
12902Lille Grand PlaceFranceHugo Simon4560092572021NULL
129135Toronto Bay StCanadaEmma Wilson46185500112021NULL
12925Manhattan MidtownUnited StatesOlivia Jones5101651062018NULL
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;