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

card_payment, page 1 of 191
payment_id→ payment.payment_idinstitution_id→ financial_institution.institution_idissuing_branchTEXTissued_countryTEXTaccount_nameTEXTcard_first4TEXTcard_last4TEXTexpiry_monthINTEGERexpiry_yearINTEGERwalletTEXT
17Seattle Pike PlaceUnited StatesMason Williams5216117852017NULL
221Brasília Asa SulBrazilAlice Ferreira4336908112019NULL
31Nantes CommerceFranceManon Durand5185457112017NULL
44Paris LouvreFranceChloé Laurent4755841772020NULL
53Rennes RépubliqueFranceHugo Robert55028702102017NULL
64Strasbourg KléberFranceJules Laurent5396078362020NULL
75Chicago LoopUnited StatesNoah Johnson53383077122017Apple Pay
85Chicago LoopUnited StatesNoah Johnson5279859332018NULL
914Torino CentroItalySofia Rossi4461936172020NULL
1030Moscow TverskayaRussiaAlexander Kuznetsov5313988782017NULL
119Shenzhen FutianChinaTao Zhou6283863262017NULL
126San Francisco Market StUnited StatesEmma Garcia5431486952017NULL
135Manhattan MidtownUnited StatesJames Taylor5324525662017NULL
1426Melbourne Collins StAustraliaOliver Ryan4037650152017NULL
1510Chengdu JinjiangChinaYan Li6297481142018NULL
162Paris La DéfenseFranceZoé Petit5255569632017NULL
189Shenzhen FutianChinaHao Zhou48732471112016NULL
1935Montréal Ville-MarieCanadaEmma Smith49725965122019NULL
201Lyon BellecourFranceLouis Dubois4891273672017NULL
221Lyon BellecourFranceJules Laurent4208015672020NULL
2312Leeds BriggateUnited KingdomGrace Wilson4171222282016NULL
2411London Canary WharfUnited KingdomGrace Wilson4232936212016NULL
2729Utrecht CentrumNetherlandsLucas Jansen4553610352018NULL
283Toulouse CapitoleFranceChloé Laurent4693107852017NULL
2926WoolloomoolooAustraliaOliver Ryan52773353102020NULL
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;