This API should be triggered for all operations required from the HyperSDK. This API can be triggered any number of times based on requirements or app flow structure.
It should not be called on an HyperSDK instance which has not been initiated. To verify if an instance is initiated, kindly refer to check SDK initiated in code

The process operation can be related to:

  • Displaying payment options on your payment page.
  • Performing a transaction.
  • User’s payment profile management.
  • Opening Juspay SAFE browser (this operation will be required if you are integrating only Juspay SAFE module of Hyper SDK)

Android

Input

  • JSON object which contains defined payload required to complete the process operation.

Integration Sample

if (hyperInstance.isInitialised()){
    hyperInstance.process(processPayload);
}

iOS

Input

  • JSON object which contains defined payload required to complete the process operation.

Integration Sample

if hyperInstance?.isInitialised() ?? false {
     hyperInstance.process(processPayload)               
}
if ([hyperInstance isInitialised]) {
     [hyperInstance process:processPayload];       
}

React Native

This API should be triggered for all operations required from HyperSDK. The operation may be related to:

  • Displaying payment options on your payment page
  • Performing a transaction
  • User’s payment profile management
  • Opening Payment Page (only applicable for PP SDK merchants)
    The result of the process call is provided in the Hyper Event listener, discussed in Listen to events from hypersdk.
HyperSdkReact.process(JSON.stringify(processPayload));