Astrada TypeScript SDK
    Preparing search index...

    Interface SubaccountUpdateResult

    SubaccountUpdateResult

    interface SubaccountUpdateResult {
        _links: SubaccountLinks;
        accountId: string;
        amexProduct?: SubaccountAmexProduct;
        bankLinkingPolicy?: BankLinkingPolicy;
        configurations: SubaccountConfiguration;
        consentPolicy?: ConsentPolicy;
        createdAt: Date;
        enforceIssuerCountry?: boolean;
        enrollmentPolicy?: SubaccountEnrollmentPolicy;
        id: string;
        ignoredFields?: string[];
        name: string;
        networkBlockedCards?: { [key: string]: SubaccountNetworkBlockedCardsValue };
        plaidEndCustomer?: PlaidEndCustomer;
        updatedAt: Date;
        verificationPolicy?: VerificationPolicy;
    }
    Index

    SubaccountUpdateResult

    accountId: string

    The unique identifier of the account related to this entity.

    SubaccountUpdateResult

    amexProduct?: SubaccountAmexProduct

    SubaccountUpdateResult

    bankLinkingPolicy?: BankLinkingPolicy

    Admin-managed bank-linking policy. Fields are the EFFECTIVE values; per-field live resolution against the parent account (subaccount field if set, else account, else null). A whole-null policy means neither level has one set. The credit-only system default (accountTypes: [credit]) is applied downstream at bank-link creation, not materialized in this read.

    SubaccountUpdateResult

    configurations: SubaccountConfiguration

    SubaccountUpdateResult

    consentPolicy?: ConsentPolicy

    The effective consent policy, set by Astrada. A subaccount with no consentPolicy behaves as log with every channel allowed, and an account mode of off turns the mode off for every subaccount. Which mode a new or existing account starts in: When consent is required.

    SubaccountUpdateResult

    createdAt: Date

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

    SubaccountUpdateResult

    enforceIssuerCountry?: boolean

    Whether card enrollment is restricted to issuer countries within the account's capabilities. Account-level setting, resolved onto the subaccount at read time; there is no subaccount-level override, so the subaccount never stores its own value. Absent on the subaccount list; false when the account has not enabled it.

    SubaccountUpdateResult

    enrollmentPolicy?: SubaccountEnrollmentPolicy

    Enrollment policy. Fields are the EFFECTIVE values: the unified-SDK rails (cardEnrollment, bankEnrollment, bulkEnrollment) and the deprecated bulkEnrollmentEnabled resolve as subaccount-overrides-account, and are SPARSE; only explicitly-configured fields appear; linkAnotherCard resolves live to false when either level stores an explicit false (absent everywhere = enabled, field omitted). bankEnrollmentLocked is read-only: it appears, as true, only while the account has locked bankEnrollment, and bankEnrollment is then the account's value. null means the subaccount stores no policy and neither a rail nor linkAnotherCard is set at the account level (account-level admin snapshot fields do not surface through a null here).

    SubaccountUpdateResult

    id: string

    The unique identifier of this subaccount entity.

    SubaccountUpdateResult

    ignoredFields?: string[]

    The keys of the request's enrollmentPolicy that this endpoint ignored, each written as enrollmentPolicy.<key>: every key other than cardEnrollment, bankEnrollment and bulkEnrollment, such as a misspelled key or a field Astrada manages. Nothing is stored for them, and the accepted keys are applied as usual. Absent when no key was ignored.

    SubaccountUpdateResult

    name: string

    The name of this subaccount entity.

    SubaccountUpdateResult

    networkBlockedCards?: { [key: string]: SubaccountNetworkBlockedCardsValue }

    Platform-level enrollment rules resolved from the network configuration at read time. Applied before the subaccount's own block lists and not configurable per account or subaccount. Keyed by network (VISA, MASTERCARD, AMEX); a network with no rules is omitted. A rule matches a card when cardType equals the BIN's type and fundingTypes contains the BIN's fundingType. An omitted or empty fundingTypes matches every funding type. Enrolling a matching card fails with card_subscription.network_blocking_card.

    SubaccountUpdateResult

    plaidEndCustomer?: PlaidEndCustomer

    Plaid End-Customer routing. enabled is the EFFECTIVE value; resolved from the parent account. This object is account-level only: there is no subaccount-level override, so the subaccount never stores its own value. null means the account has Plaid End-Customer routing disabled.

    SubaccountUpdateResult

    updatedAt: Date

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

    SubaccountUpdateResult

    verificationPolicy?: VerificationPolicy

    The subaccount's card verification policy.

    • Copied from the account when the subaccount is created; PATCH changes it field by field.
    • The tier and sandbox use only this value (in the sandbox environment, sandbox counts as true for every subaccount).
    • failedAttemptLockout falls back to the account's while the subaccount's policy, or its failedAttemptLockout, is null.

    SubaccountUpdateResult