Steps to integrate the flow

  1. Create an instance of paymentRequest object.
  2. Check if we can make the payment using the intent flow hasEnrolledInstrument() / canMakePayment()method.
  3. If the above api returns true call .show() method.
  4. Handle the response for the .show() method.
  5. Merchant to check the status with the backend once response is received.