faker.providers.credit_cardΒΆ

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

fake.credit_card_full(card_type=None)
# 'JCB 16 digit\nStanley Foster\n3521358271226215 07/27\nCVC: 639\n'

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

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

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