Astrada TypeScript SDK
    Preparing search index...

    Interface CardSubscription

    CardSubscription

    interface CardSubscription {
        _embedded?: CardSubscriptionEmbedded;
        _links: CardSubscriptionLinks;
        accountId?: string;
        bankAccountId?: string;
        cardId: string;
        createdAt: Date;
        customerReferenceId?: string;
        deactivationReason?: CardSubscriptionDeactivationReason;
        effectiveDate: Date;
        enrollmentType: CardSubscriptionEnrollmentTypeEnum;
        expirationDate: Date;
        id: string;
        networkBulkFeedId?: string;
        state: CardSubscriptionStateEnum;
        subaccountId: string;
        updatedAt: Date;
    }
    Index

    CardSubscription

    CardSubscription

    accountId?: string

    The unique identifier of the account related to this entity.

    CardSubscription

    bankAccountId?: string

    The bank account this subscription's card was originally materialized from; present only when enrollmentType is bank-feed (the analog of networkBulkFeedId for bank-connected enrollments). This is provenance and does not re-point if a re-link later attaches the card to a successor account; the current link surface is the bank account's cardIds.

    CardSubscription

    cardId: string

    The unique identifier of the card related to this entity.

    CardSubscription

    createdAt: Date

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

    CardSubscription

    customerReferenceId?: string

    An optional id in UUID format passed by the customer to associate a context with the subscription.

    CardSubscription

    The reason given when this subscription was deactivated. Only present on a deactivated subscription that was given a reason; the field is left out otherwise. New values may be added, so treat an unknown value as other.

    CardSubscription

    effectiveDate: Date

    Date and time when this card subscription will be activated and start receiving data, in UTC, following ISO 8601 format.

    CardSubscription

    The flow that led to the creation of the card subscription. cardholder-single refers to enrollments where cardholders themselves are responsible for inputting card data and where a single card is attempted at a time. network-bulk refers to enrollments where card data will be captured by Astrada using network data sources (eg Mastercard Smart Data) and where many cards may be attempted at once. bank-feed refers to cards materialized from a bank connection (e.g. American Express via the hosted bank-linking flow); the bank-side analog of network-bulk, with bankAccountId as the back-reference.

    CardSubscription

    expirationDate: Date

    Date and time when this card subscription will become expired and stop receiving data, in UTC, following ISO 8601 format.

    CardSubscription

    id: string

    The unique identifier of this subscription entity.

    CardSubscription

    networkBulkFeedId?: string

    The unique identifier of the network bulk feed associated with this card subscription. Present when the enrollmentType is network-bulk, null otherwise.

    CardSubscription

    State of the subscription. active and pending subscriptions are both considered enrolled in Astrada's platform. A pending subscription is enrolled from a network roster while the card is still inactive at the network (e.g. Mastercard Smart Data I status): it is customer-visible but has not yet received a transaction. It exits only by promotion to active (a later roster active record or the card's first clearing transaction), explicit deactivation, or expiry. Virtual cards are excluded from pending enrollment.

    CardSubscription

    subaccountId: string

    The unique identifier of the subaccount related to this entity.

    CardSubscription

    updatedAt: Date

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

    CardSubscription