@nevermined-io/payments
    Preparing search index...

    Interface PaymentMethodSummary

    Summary of a user's enrolled payment method.

    interface PaymentMethodSummary {
        alias?: string | null;
        allowedApiKeyIds?: string[] | null;
        brand: string;
        expMonth: number;
        expYear: number;
        id: string;
        last4: string;
        provider?: string;
        status?: string;
        type: string;
    }
    Index

    Properties

    alias?: string | null

    Human-readable alias, if set

    allowedApiKeyIds?: string[] | null

    NVM API Key IDs allowed to use this payment method, or null if unrestricted

    brand: string

    Card brand (e.g., 'visa', 'mastercard') or payment method type ('paypal', 'venmo')

    expMonth: number

    Expiration month (0 for non-card methods)

    expYear: number

    Expiration year (0 for non-card methods)

    id: string

    Payment method ID (Stripe 'pm_...' or Braintree vault token)

    last4: string

    Last 4 digits (cards) or email/username (PayPal/Venmo)

    provider?: string

    Payment provider: 'stripe' or 'braintree'

    status?: string

    Current status ('Active' or 'Revoked')

    type: string

    Payment method type (e.g., 'card', 'paypal')