Use this function if your application collects the card details from the payer.
Once the payer has entered the card number, your application should call this function to determine if you can offer the payer to enroll the card in Click to Pay.
If the function returns true you must display the Click to Pay logo and terms and conditions.
ClickToPay.isEnrollmentAvailableForCardPrefix(tenDigitCardPrefix, callback)
ClickToPay.isEnrollmentAvailableForCardPrefix('5123456789', function (canEnroll) { console.log('Card can be enrolled', canEnroll) });
None