faker.providers.credit_cardΒΆ

fake.credit_card_expire(start="now", end="+10y", date_format="%m/%y")
# '05/22'

fake.credit_card_number(card_type=None)
# '675971310445'

fake.credit_card_security_code(card_type=None)
# '646'

fake.credit_card_provider(card_type=None)
# 'Discover'

fake.credit_card_full(card_type=None)
# 'Diners Club / Carte Blanche\nChloe Warren\n30543180257514 01/20\nCVC: 819\n'