TagoIO SDK for JavaScript and TypeScript
    Preparing search index...

    Type Alias BillingPaymentHistoryEntry

    type BillingPaymentHistoryEntry = {
        card: { brand: string | null; last4: string | null } | null;
        created_at: string;
        currency: string;
        invoice_number?: string | null;
        paid: boolean;
        receipt_url?: string | null;
        status: string;
        stripe_id: string;
        total: number;
    }
    Index

    Properties

    card: { brand: string | null; last4: string | null } | null

    Information for the credit card used to pay the invoice.

    Type declaration

    • { brand: string | null; last4: string | null }
      • brand: string | null

        Credit card brand.

      • last4: string | null

        Credit card's last four digits.

    • null
    created_at: string

    Timestamp for when the invoice was created.

    currency: string

    Currency used for the invoice.

    invoice_number?: string | null

    Number of the invoice in Stripe for identification.

    May be null if Stripe does not provide it at the moment of the request.

    paid: boolean

    Whether the invoice was paid.

    receipt_url?: string | null

    URL to download the invoice and receipt on Stripe.

    May be null if Stripe does not provide it at the moment of the request.

    status: string

    Payment status of the invoice.

    stripe_id: string

    Stripe ID for the history entry. Used for pagination.

    total: number

    Total cost of the invoice.