Astrada TypeScript SDK
    Preparing search index...

    Class BankSubscriptionsApi

    Hierarchy (View Summary)

    Index
    configuration: Configuration
    middleware: Middleware[]

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

    • 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. Returns detailed information about a specific bank subscription by its identifier, including the connection state and webhook configuration. Retrieve bank subscription

      Parameters

      Returns Promise<BankSubscription>

    • 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. Returns a bank subscription by its provider connection identifier (e.g. Plaid item ID). This is useful when you have the provider's connection ID and need to look up the corresponding subscription. Retrieve bank subscription by connection

      Parameters

      Returns Promise<BankSubscription>

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

    • 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. Returns a list of bank subscriptions (active connections to financial institutions) under the account. Bank subscriptions are created automatically when a bank link enrollment is completed. Each subscription represents a connection to a single financial institution. By default, GET /bank-subscriptions returns subscriptions ordered by the latest createdAt. This endpoint supports cursor-based pagination. List bank subscriptions

      Parameters

      Returns Promise<BankSubscriptionList>

    • 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. Returns a list of bank subscriptions (active connections to financial institutions) under the account. Bank subscriptions are created automatically when a bank link enrollment is completed. Each subscription represents a connection to a single financial institution. By default, GET /bank-subscriptions returns subscriptions ordered by the latest createdAt. This endpoint supports cursor-based pagination. List bank subscriptions

      Parameters

      Returns Promise<ApiResponse<BankSubscriptionList>>

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