Update App API

To update the application pass the parameters mentioned in the request parameter table as inputs.

Method: POST

Request parameters

ParmeterDescription
handler
mandatory
handlers
Handlers are used to passing the data and receiving the data between the two classes.
Current activity
mandatory
string
Current class or activity
DeviceType
mandatory
string
Identifies the type of device Ex: N910

Sample request

if (paymentType.equalsIgnoreCase(APP_UPDATE)) {
  initialization = new PaymentInitialization(PaymentTransactionActivity.this);
  initialization.appUpdate(handler, this, DeviceType.N910);
}

🚧

Warning

Once the app is updated It will re-direct to the Intent of MTMS application.