faker.providers.credit_cardΒΆ

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

fake.credit_card_full(card_type=None)
# 'JCB 16 digit\nKristin Vasquez\n3584779589020194 04/29\nCVC: 385\n'

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

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

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