PayFanout API reference
    Preparing search index...

    Interface PaymentMethodDetails

    Normalized display facts about the instrument used — what receipts and order pages show ("Visa •••• 4242"). Never enough data to charge with.

    interface PaymentMethodDetails {
        brand?: string;
        expMonth?: number;
        expYear?: number;
        last4?: string;
        wallet?: string;
    }
    Index
    brand?: string

    Lowercase card brand ("visa", "mastercard", "amex", …) when known.

    expMonth?: number

    Card expiry month (1-12), when the PSP reports it — display/renewal warnings only.

    expYear?: number

    Card expiry year (4 digits), when the PSP reports it.

    last4?: string

    Last 4 digits of the card / account, when the PSP reports them.

    wallet?: string

    Wallet that wrapped the card ("apple_pay", "google_pay", "link", …).