faker.providers.credit_cardΒΆ

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

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

fake.credit_card_full(card_type=None)
# 'Mastercard\nMichael Olson\n5576287018986055 03/21\nCVV: 083\n'

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

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