finance-mgn - v2.1.0
    Preparing search index...
    • Fetches transactions from the FIO API for the last month or a custom endpoint.

      Parameters

      • targetMonth: Date

        Month in the format 'MM-yyyy' to fetch transactions for a target month.

      • Optionalendpoint: string

        Optional custom endpoint for fetching transactions.

      Returns Promise<TransactionObject[]>

      A promise that resolves to an array of transactions in the TransactionObjOptStr format.

      An error if the FIO token is not configured or if the API request fails.