Astrada TypeScript SDK
    Preparing search index...

    Interface EnrollmentLinkCreateParams

    EnrollmentLinkCreateParams

    interface EnrollmentLinkCreateParams {
        customerReferenceId?: string;
        expiresInHours?: number;
        kind: EnrollmentLinkCreateParamsKindEnum;
        maxUses?: number;
        organizationName?: string;
        platformName?: string;
        startingPoint?: "card";
        subaccountId: string;
    }
    Index
    customerReferenceId?: string

    Your reference for the link, such as the employee a personal link is for. It must be a UUID, as customerReferenceId on POST /card-subscriptions is; any other value answers 400. A session from the link can create card subscriptions only with this reference.

    EnrollmentLinkCreateParams

    expiresInHours?: number

    How long the link can start sessions. Default: 168 (7 days) for a personal link, 336 (14 days) for a team link.

    EnrollmentLinkCreateParams

    cardholder for a personal link, team for a team link.

    EnrollmentLinkCreateParams

    maxUses?: number

    Team links only: the session starts the link allows. Default: 50. On a personal link it answers 400.

    EnrollmentLinkCreateParams

    organizationName?: string

    The employer's name, shown on the hosted page. The same characters as platformName, and the same LINK_NAME_NOT_ALLOWED refusal. Default: none; the hosted page then names only the platform.

    EnrollmentLinkCreateParams

    platformName?: string

    The platform's name, shown on the hosted page. Letters, digits, spaces and . , & ' ’ ( ) - _ + ! # @ only, with at least one letter or digit; surrounding spaces are trimmed. Default: your account's name. A name that is a well-known brand, such as a card network or a large bank, answers 400 LINK_NAME_NOT_ALLOWED. Once Astrada has set a brand profile for your account, the hosted pages show its name and ignore this one.

    EnrollmentLinkCreateParams

    startingPoint?: "card"

    Where the hosted page starts. Only card is available now; any other value answers 400.

    EnrollmentLinkCreateParams

    subaccountId: string

    The subaccount that cards enrolled through the link join. It must be one of your subaccounts.

    EnrollmentLinkCreateParams