Function fetchTransactionsForCard

  • Returns all transactions that are registered in this device for a scanned Card

    Since

    0.1.7

    Parameters

    • pinpadMacAddress: null | String = null

      When using a Bluetooth PinPad you need to send it's mac address here, if you send null here, we will use the first in the list if you are not running in a POS.

    • dialogMessage: null | String = null

      Default UI dialog main message.

    • dialogTitle: null | String = null

      Default UI dialog title.

    • useDefaultUI: Boolean = true

      Wheter to use Stone's default progress dialog or not.

    • progressCallbackEventName: ProgressEventName = 'FETCH_TRANSACTION_FOR_CARD_PROGRESS'

      The native event name to map with the useNativeEventListener hook.

    Returns Promise<TransactionType[]>