Mayson Monorepo Documentation
    Preparing search index...
    interface Card {
        cvc?: string;
        exp_month?: number;
        exp_year?: number;
        networks?: Stripe.PaymentMethodCreateParams.Card.Networks;
        number?: string;
        token?: string;
    }
    Index

    Properties

    cvc?: string

    The card's CVC. It is highly recommended to always include this value.

    exp_month?: number

    Two-digit number representing the card's expiration month.

    exp_year?: number

    Four-digit number representing the card's expiration year.

    Contains information about card networks used to process the payment.

    number?: string

    The card number, as a string without any separators.

    token?: string

    For backwards compatibility, you can alternatively provide a Stripe token (e.g., for Apple Pay, Amex Express Checkout, or legacy Checkout) into the card hash with format card: {token: "tok_visa"}.