Hierarchy

Constructors

Methods

Constructors

Methods

  • Returns Promise<PaymentInfo[]>

    Description

    Retrieves the payment transaction history for the current account, including all past payments and their details.

    Example

    If receive an error "Authorization Denied", check policy in Access Management.

    const resources = new Resources({ token: "YOUR-PROFILE-TOKEN" });
    const result = await resources.paymentHistory.getHistory();
    console.log(result); // [ { strip_id: 'stripe-id-123', invoice_number: 'ABC-123', status: 'paid', ... } ]