Astrada TypeScript SDK
    Preparing search index...

    Interface BankSubscription

    BankSubscription

    interface BankSubscription {
        accountId: string;
        authErrorFirstSeenAt?: Date;
        connectionId: string;
        createdAt: Date;
        id: string;
        institutionHealth?: BankSubscriptionInstitutionHealth;
        institutionLastCheckedAt?: Date;
        institutionLastFailedAt?: Date;
        institutionName: string;
        lastSyncedAt?: Date;
        provider: banking.BankSubscriptionProviderEnum;
        state: banking.BankSubscriptionStateEnum;
        subaccountId: string;
        syncCursor: string;
        updatedAt: Date;
        webhook: BankSubscriptionWebhook;
    }
    Index
    accountId: string

    The unique identifier of the account that owns this subscription.

    BankSubscription

    authErrorFirstSeenAt?: Date

    When a sync first found that the bank needs the user to sign in again, in UTC, following ISO 8601 format. Null when no such error is open.

    BankSubscription

    connectionId: string

    The provider's unique connection identifier (e.g. Plaid item ID).

    BankSubscription

    createdAt: Date

    Date and time when this resource was created, in UTC, following ISO 8601 format.

    BankSubscription

    id: string

    The unique identifier of the bank subscription.

    BankSubscription

    BankSubscription

    institutionLastCheckedAt?: Date

    When the bank data provider last reached the bank for this connection, in UTC, following ISO 8601 format. Null when the provider gives no such time.

    BankSubscription

    institutionLastFailedAt?: Date

    When the bank data provider last failed to reach the bank for this connection, in UTC, following ISO 8601 format. Null when the provider gives no such time.

    BankSubscription

    institutionName: string

    The name of the connected financial institution.

    BankSubscription

    lastSyncedAt?: Date

    Last successful sync of this connection, in UTC, following ISO 8601 format. Null until the first sync.

    BankSubscription

    The banking data provider for this subscription.

    • PLAID: Connected through Plaid.
    • MASTERCARD_US: Connected through Mastercard Open Finance US. Sandbox only.
    • MASTERCARD_EU: Connected through Mastercard Open Finance Europe. Sandbox only.

    BankSubscription

    Current state of the subscription.

    • active: The connection is functioning normally.
    • error: The connection has encountered an error.
    • auth_required: The connection requires user re-authentication.
    • disconnected: The connection has been disconnected.

    BankSubscription

    subaccountId: string

    The unique identifier of the subaccount associated with this subscription.

    BankSubscription

    syncCursor: string

    The current transaction sync cursor for this subscription.

    BankSubscription

    updatedAt: Date

    Date and time when this resource was last updated, in UTC, following ISO 8601 format.

    BankSubscription

    BankSubscription