Initiate Payload

HyperSDK offers an easier client-side integration by unifying data and API calls.
Some part of the data required to complete operations which will be common and can be collected before HyperSDK is actually required to continue operation will be added as a part of Initiate payload.

Param Details

actionStringYesoperation to be performed in the SDK.
Should be initiate for this call.
merchantIdStringYesUnique identifier associated with an account created by juspay.
Can be obtained from juspay support team.
clientIdStringYesUnique identifier associated with static resources assigned by juspay.
Can be obtained from juspay support team.
customerIdStringYesAny unique reference associated with your customer.
environmentStringYesJuspay remote environment to be used for completing an operation.
Possible values: <sandbox/prod>


    "requestId" : "8cbc3fad-8b3f-40c0-ae93-2d7e75a8624a", 
    "service" : "in.juspay.hyperapi",
    "payload"  : { 
            "action" : "initiate",
        "merchantId" : "<Merchant Id>", 
        "clientId" : "<Client Id>", 
        "customerId" : "<Customer Id>", //Any unique refrences to current customer
        "environment" : "sandbox"|"prod",


    "service": "in.juspay.hyperapi",
    "requestId": "8cbc3fad-8b3f-40c0-ae93-2d7e75a8624a",
    "payload": {
     "action": "initiate",
     "status": "success"
    "errorMessage": "",
    "errorCode": "",
    "error": false,
    "event" : "initiate_result"

What’s Next