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

    Class PaymentHistory

    Hierarchy

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Returns Promise<PaymentInfo[]>

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

      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', ... } ]