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;
}

Type declaration

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

    Information for the credit card used to pay the invoice.

  • created_at: string

    Timestamp for when the invoice was created.

  • currency: string

    Currency used for the invoice.

  • Optional 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.

  • Optional 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.