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,026–1,050 of 4,762

card_payment, page 42 of 191
payment_id→ payment.payment_idinstitution_id→ financial_institution.institution_idissuing_branchTEXTissued_countryTEXTaccount_nameTEXTcard_first4TEXTcard_last4TEXTexpiry_monthINTEGERexpiry_yearINTEGERwalletTEXT
12353Rennes RépubliqueFranceCamille Petit52051020112019NULL
123626Adelaide Rundle MallAustraliaAmelia Taylor53695701122019NULL
123730Saint Petersburg NevskyRussiaMaria Ivanov5341731922017NULL
123831Kraków RynekPolandJakub Wiśniewski44083642122017NULL
123931Warszawa ŚródmieściePolandSzymon Kamiński5548655212020Apple Pay
12406Atlanta MidtownUnited StatesEmma Anderson4315214652020NULL
12415Austin DowntownUnited StatesEmma Anderson47778684122018NULL
124210Hangzhou XihuChinaYang Yang4630479512019NULL
124422Tokyo MarunouchiJapanSota Suzuki5446164862017NULL
12459Shenzhen FutianChinaJun Xu41231061122021NULL
12462Marseille CanebièreFranceInès Laurent5406652732018NULL
124725Incheon SongdoSouth KoreaMin-jun Lee5543677522019NULL
124925Incheon SongdoSouth KoreaMin-jun Lee4300553182017NULL
125018Berlin Unter den LindenGermanyFinn Fischer52708817112019NULL
12516San Francisco Market StUnited StatesJames Anderson5366531232017NULL
125217Bilbao AbandoSpainHugo Gómez5199531062020NULL
125318Berlin Unter den LindenGermanyFinn Wagner5115827072020NULL
12548Beijing XidanChinaWei Wang62449417112020NULL
125510Chengdu JinjiangChinaXin Chen6257455452018NULL
12585Chicago LoopUnited StatesMia Jones4857901252018NULL
12597Seattle Pike PlaceUnited StatesOlivia Moore49930597102018NULL
126224Seoul YeouidoSouth KoreaDo-yun Park44305772122021NULL
12632Marseille CanebièreFranceGabriel Durand54486120102020NULL
12643Rennes RépubliqueFranceLéa Moreau54520742112017NULL
12652Lille Grand PlaceFranceJules Simon5203565452017NULL
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;