Android
The request would typically be done after a 3rd party backend call (as a code is needed). The 3rd Party App will then lose focus as the Scan to Pay app will be launched. This request MUST be done from an Activity.
Each issuing bank's Scan to Pay wallet registers its own URL scheme of the form masterpass.{bank}.scheme:// (for example masterpass.absa.scheme, masterpass.nedbank.scheme, masterpass.capitec.scheme, masterpass.sbsa.scheme, masterpass.vodapay.scheme, masterpass.spenda.scheme). Use the scheme that matches the destination wallet:
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse("masterpass.absa.scheme://masterpass.oltio.co.za/{10 DIGIT CODE}/{CALL BACK URL}"));
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intent);
SDK namingFor backwards compatibility, the deep-link schemes registered by the wallet apps retain the historical
masterpass.prefix. The product is Scan to Pay; the URL scheme is the existing one to avoid breaking integrations.
* The call back URL MUST be URL encoded.
Updated 1 day ago
