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

card_payment, page 5 of 191
payment_id→ payment.payment_idinstitution_id→ financial_institution.institution_idissuing_branchTEXTissued_countryTEXTaccount_nameTEXTcard_first4TEXTcard_last4TEXTexpiry_monthINTEGERexpiry_yearINTEGERwalletTEXT
11516Sevilla TrianaSpainLucía García5555226722020NULL
11716Madrid Gran VíaSpainLucía García4197211512018NULL
1187Seattle Pike PlaceUnited StatesNoah Brown4976547482017NULL
1191Nantes CommerceFranceJules Moreau5374924172019NULL
1216Boston Back BayUnited StatesNoah Moore4560348742017NULL
1227Denver Union StationUnited StatesNoah Moore41574203112018NULL
12335Toronto Bay StCanadaCharlotte Roy55994187112019NULL
1247Denver Union StationUnited StatesEthan Smith42717292102020NULL
1252Lille Grand PlaceFranceLéa Thomas4522569662017NULL
1261Lyon BellecourFranceArthur Moreau4052194832016NULL
12814Milano DuomoItalyGinevra Romano51751872102016NULL
1292Marseille CanebièreFranceLucas Laurent51690304112019NULL
13017Barcelona EixampleSpainValeria Gómez5470882062016NULL
1313Rennes RépubliqueFranceCamille Petit5436699372017NULL
1324Strasbourg KléberFranceCamille Simon4194742722017NULL
1337Seattle Pike PlaceUnited StatesNoah Brown4423068582018NULL
13419Hamburg JungfernstiegGermanyFinn Schneider4634639882017NULL
1359Guangzhou TianheChinaWei Liu5332569652016NULL
13827Brisbane Queen StAustraliaWilliam Nguyen4907438432020NULL
1395Manhattan MidtownUnited StatesLiam Jones45776922102018Google Pay
14027Brisbane Queen StAustraliaWilliam Kelly4673329862020NULL
1413Toulouse CapitoleFranceGabriel Petit4732470962019NULL
14234Helsinki AleksanterinkatuFinlandHelmi Korhonen4801465582018NULL
14327Brisbane Queen StAustraliaMia Williams52734163122017NULL
1445Chicago LoopUnited StatesEthan Johnson4841756242018NULL
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;