getSupportedPaymentMethods()
Get a list of supported payment methods for the specified device and verify whether the device supports Tap-To-Pay.
countryIsoCode–(Required) A text field that represents the currency ISO code.merchantAccountId—(Required) A text field that represents the ID of the Merchant Account object.permissionRationaleText–(Optional) A text field that’s presented to the user in case permission is missing (for example, location permission) and must be requested from the user. Defaults to a predefined text if it’s empty.
A Promise object that resolves to an array of string values. The values are available payment methods supported for the specific running device (for example, ["TAP_TO_PAY"]). If there’s an error, a rejected promise returns the error type of PaymentsServiceFailure.