Astrada TypeScript SDK
    Preparing search index...

    Interface BankLink

    BankLink

    interface BankLink {
        _links: BankLinkLinks;
        accountId: string;
        bankAccounts?: BankLinkBankAccount[];
        completedAt?: Date;
        createdAt: Date;
        filters?: BankLinkFilters;
        hostedLink: string;
        id: string;
        lastMintFailure?: BankLinkLastMintFailure;
        lastRejection?: BankLinkLastRejection;
        linkExpiresAt: Date;
        provider?: banking.BankLinkProviderEnum;
        state: banking.BankLinkStateEnum;
        subaccountId: string;
    }
    Index

    BankLink

    accountId: string

    The unique identifier of the account that owns this bank link.

    BankLink

    bankAccounts?: BankLinkBankAccount[]

    Summary of bank accounts created from this link. Only present when state is completed and accounts exist.

    BankLink

    completedAt?: Date

    Date and time when the bank link enrollment was completed, in UTC, following ISO 8601 format. Only present when state is completed.

    BankLink

    createdAt: Date

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

    BankLink

    filters?: BankLinkFilters

    BankLink

    hostedLink: string

    The hosted URL where the user can complete the bank enrollment. This link expires after 4 hours and is automatically refreshed when retrieved via GET.

    BankLink

    id: string

    The client-provided identifier of the bank link. Must be alphanumeric with hyphens and underscores only.

    BankLink

    lastMintFailure?: BankLinkLastMintFailure

    BankLink

    lastRejection?: BankLinkLastRejection

    BankLink

    linkExpiresAt: Date

    Date and time when the hosted link expires, in UTC, following ISO 8601 format.

    BankLink

    Open-banking provider this link was created on. Fixed at creation: every later operation on the link uses this value. Links created before provider selection existed are plaid.

    BankLink

    Current state of the bank link.

    • pending: The link has been created and is awaiting user enrollment.
    • completed: The user has successfully connected their bank account.
    • expired: The link has expired without being completed.

    BankLink

    subaccountId: string

    The unique identifier of the subaccount associated with this bank link.

    BankLink