Skip to content

Card

Source code in docs_src/capo_payments/types/card.py
class Card(TypedDict, closed=True):
    brand: NotRequired["capo_payments.types.card_brand.CardBrand"]
    """<p>The network the card runs on.</p>"""
    last4: "capo_payments.types.last4.Last4"
    """<p>The last four digits of the card number.</p>"""
    expiration_month: NotRequired[
        "capo_payments.types.expiration_month.ExpirationMonth"
    ]
    """<p>The calendar month that the card expires in.</p>"""
    expiration_year: NotRequired["capo_payments.types.expiration_year.ExpirationYear"]
    """<p>The calendar year that the card expires in.</p>"""
    card_type: NotRequired["capo_payments.types.card_type.CardType"]
    """<p>Whether the card is a credit card or a debit card.</p>"""
    issuing_bank: NotRequired["capo_payments.types.bank_name.BankName"]
    """<p>The bank that issued the card.</p>"""
    issuer_country: NotRequired["capo_payments.types.country_code.CountryCode"]
    """<p>The country of the bank that issued the card.</p>"""

brand instance-attribute

brand: NotRequired[CardBrand]

The network the card runs on.

card_type instance-attribute

card_type: NotRequired[CardType]

Whether the card is a credit card or a debit card.

expiration_month instance-attribute

expiration_month: NotRequired[ExpirationMonth]

The calendar month that the card expires in.

expiration_year instance-attribute

expiration_year: NotRequired[ExpirationYear]

The calendar year that the card expires in.

issuer_country instance-attribute

issuer_country: NotRequired[CountryCode]

The country of the bank that issued the card.

issuing_bank instance-attribute

issuing_bank: NotRequired[BankName]

The bank that issued the card.

last4 instance-attribute

last4: Last4

The last four digits of the card number.