@yoshteq/ti365-ts-sdk
    Preparing search index...

    Class CardTerminalService

    Represents the card terminal service. Contains information about the card terminal and its capabilities.

    Index

    Methods

    • Gets the card terminals.

      Parameters

      • purgeCache: boolean = false

        Whether to purge the cache.

      Returns Promise<CardTerminal[]>

      The card terminals.

    • Checks if the card terminal has remote PIN input capability.

      Parameters

      • smcb: Card

        The card to check.

      Returns Promise<boolean>

      Whether the card terminal has remote PIN input capability.

    • Starts the Progress of entering the PIN to the Card Terminal.

      1. Request Backend Channel to CARD_TERMINAL, Backend logins to terminal and creates Login key
      2. Client creates a channel & websocket connection to the terminal using the login key and activates the remote PIN entry
      3. Request to connector to init the PIN entry.
      4. Send PIN via websocket

      Parameters

      • smcb: Card
      • pin: string

        PIN needed for the defined PIN Type

      Returns Promise<VerifyPinResponse>