Astrada TypeScript SDK
    Preparing search index...

    Interface BankLinkConsent

    The bank-link consent record. The Unified Enrollment SDK sets it on channel sdk-unified, naming the Astrada consent text of the bank-connect screen the person saw. Integrators do not send it. Astrada relays it to each card subscription the bank link creates, where it is recorded and never refused. A consent without textVersionId is accepted but not kept.

    BankLinkConsent

    interface BankLinkConsent {
        channel: "sdk-unified";
        sdkVersion?: string;
        textHash?: string;
        textVersionId?: string;
        variables?: { [key: string]: string };
    }
    Index
    channel: "sdk-unified"

    Always sdk-unified.

    BankLinkConsent

    sdkVersion?: string

    The SDK release that collected the consent.

    BankLinkConsent

    textHash?: string

    sha256: and the lowercase hex SHA-256 of the text named by textVersionId, compared with the registered text when sent.

    BankLinkConsent

    textVersionId?: string

    The id of the bank-connect consent text the SDK showed, such as sdk-unified:bank-consent.plaid.bank.en@v1.

    BankLinkConsent

    variables?: { [key: string]: string }

    companyName and providerName, as the screen showed them. For a Plaid link, Astrada adds plaidLinkSessionId when it relays the record.

    BankLinkConsent