REST API

Creating a
TapToPhoneConfiguration
Instance

Create a
TapToPhoneConfiguration
 instance in order to configure the device enrollment process of the Tap to Pay on Android SDK.
You can configure these parameters in the
TapToPhoneConfiguration
instance that you create:
  • Configure the enrollment process to prompt the merchant to enter the serial number of a previously enrolled device (
    MANUAL_INPUT
    ). The default setting is to show a list of previously enrolled devices and prompt the merchant to select a device from the list (
    DEVICE_LIST
    ).
  • Configure the Serial Number Confirmation screen to be skipped (
    SKIP
    ). The default setting is to show the screen (
    SHOW_WITH_SERIAL_NUMBER
    ).
Follow this step to create and configure the
TapToPhoneConfiguration
instance in your app:
  1. Create and configure the instance.
    mposUi.tapToPhone.tapToPhoneConfiguration = TapToPhoneConfiguration( serialNumberInputMethod = SerialNumberInputMethod.DEVICE_LIST, confirmationScreenOption = ConfirmationScreenOption.SHOW_WITH_SERIAL_NUMBER )