@getdial/sdk - v0.21.0
    Preparing search index...

    Interface BillingPaymentMethod

    A payment method saved on the account's Stripe customer (read-only here; manage in the dashboard).

    interface BillingPaymentMethod {
        brand: string;
        email: string | null;
        expMonth: number;
        expYear: number;
        id: string;
        isDefault: boolean;
        last4: string;
        type: string;
    }
    Index
    brand: string

    Card brand, lowercase ("visa", "mastercard", …); empty for non-card methods.

    email: string | null

    Identifying email for account-style methods (e.g. Link); null otherwise.

    expMonth: number
    expYear: number
    id: string
    isDefault: boolean
    last4: string

    Card last four; empty for non-card methods.

    type: string

    Stripe PaymentMethod type: "card", "link", …