faker.providers.credit_cardΒΆ

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

fake.credit_card_full(card_type=None)
# 'American Express\nJason Garcia\n340195044161450 09/25\nCID: 4940\n'

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

fake.credit_card_provider(card_type=None)
# 'American Express'

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