faker.providers.credit_cardΒΆ

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

fake.credit_card_full(card_type=None)
# 'JCB 16 digit\nJames Marshall\n3096570117332545 09/18\nCVC: 169\n'

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

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

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