Astrada TypeScript SDK
    Preparing search index...

    Class BankTransactionsApi

    Hierarchy (View Summary)

    Index
    configuration: Configuration
    middleware: Middleware[]

    The middleware of this instance; protected so hand-written subclasses can pass it on.

    • Check if the given MIME is a JSON MIME. JSON MIME examples: application/json application/json; charset=UTF8 APPLICATION/JSON application/vnd.company+json

      Parameters

      • mime: string

        MIME (Multipurpose Internet Mail Extensions)

      Returns boolean

      True if the given MIME is JSON, false otherwise.

    • Returns a list of bank transactions for a subaccount. Bank transactions are synced from connected financial institutions. A movement may briefly appear as its pending posting until the posted transaction replaces it (the pending row is then removed from the feed). By default, GET /bank-transactions/{subaccountId} returns transactions ordered by the latest date. This endpoint supports cursor-based pagination and various filters including date range, amount range, and match status. List bank transactions

      Parameters

      Returns Promise<BankTransactionList>

    • Sends the request. Network errors and timeouts (while waiting for the answer or reading its body), 408, 429 and 5xx are retried for idempotent methods (see ConfigurationParameters.maxRetries). A 401 is retried once with a new token. Any other status outside 200 to 299 throws a ResponseError subclass. The body is read here, whole.

      Parameters

      Returns Promise<Response>

    • Needs banking:admin. If your API client does not have the banking:admin scope, the API answers 403 and this method throws ScopeRequiredError; ask Astrada to enable it if you need this operation.

      Needs the banking:admin scope. If your API client does not have it, the API answers 403 Forbidden; ask Astrada to enable it if you need this operation. Manually triggers webhook delivery for specified bank transactions. This can be used to re-emit webhooks that may have been missed or to force re-matching of transactions. You can specify which webhook event types to emit: banktransaction.created for transaction data or transaction.match.created for match results. Trigger bank transaction webhooks

      Parameters

      Returns Promise<BankTransactionWebhooksResult>