Hey! These docs are for version 3.2, which is no longer officially supported. Click here for the latest version, 1.0!

Payment Management

Payment Management Page will have the following features:

  • Saved Card deletion
  • Wallet linking
  • Wallet de-linking
  • Saved VPA deletion

Payment Management Payload Parameters:

The payload passed to the SDK during Process SDK call when action=“paymentManagement” shall contain only the parameters listed below . Please note that these parameters shall be sufficient to initiate all payment management operations.

VariableTypeDescriptionDefault
action*StringPass "paymentManagement" to start the payment management interface.wwwwwwww
clientId*StringClientId is a concatenated string in the format: merchantId_platform
eg: flipkart_android, flipkart_web
signaturePayload:wwww
  "{param1, param2, ...}"
*Stringified
Object
JSON Stringified signaturePayload object
Open table below to list parameters:
 signaturePayload Parameters:
  merchant_idnnnt* wwStringwww
Unique MerchantId shared during the on-boarding.
  customer_idnwnn* wwString
Uniquely identifies the customer. It is the ID with which merchant refers to a customer object.
  mobile_number t * wwString
Mobile number of the customer.
  email_addressnnn* wwString
Email address of the customer.
  first_namennnntnnnwwString
Customer’s first name.
  last_namennnnnnnnwwString
Customer’s last name.
  timestampnnnnntn* wwString
Time at which the session is started
(Epoch Unix timestamp in milliseconds).
merchantKeyId*StringUnique identifier for the Signature that will be provided by Juspay after the merchants  shares the public key. Please refer to Generating the Signature for instructions.
environment*StringEnvironment to be used in the session. Accepted values are “sandbox” or “production“production”
* = Required
{
   "requestId":"8cbc3fad-8b3f-40c0-ae93-2d7e75a8624a",
   "service":"in.juspay.hyperpay",
   "payload":{
      "action":"paymentManagement",
      "clientId":"idea_android",
      "signaturePayload":"{\"merchant_id\":\"idea_preprod\",\"customer_id\":\"1234567890\",\"mobile_number\":\"9234567890\",\"email_address\":\"[email protected]\",\"timestamp\":\"1571922200845\"}",
      "signature":"AZOn8jH8RPWSzrbZ0iiHSLjMdvnvDBkyKslgx4yDadtiQ49kqf8vFh7GMEC/aSARgfovwUOBoPPRTksV6IXNlwIBwuSLWeH7/dIBC+FdtgOR1UNhRGKM17xNg/A6iLufR880Pa31QT3JAWJtRPeQ3aGczsgsFc8NzbSNCQmV2w7ziSSUAwdpU8JWthkFc2oW23QTcMHXnk/EHXf9vAHUZS1x2vKMnrUE6JuTa8vNLlpAcsZ8ueGLvBuobx6lBltsyb8+DjWT+3+W4nt1xmH734g9aOkduLyQTvGIYDKCpnvWdR0J34SvgUnCnv5XzRm9+HQInZDSslJ+1q5hAe3PQQ==",
      "merchantKeyId":"2980",
      "language":"english",
      "environment":"sandbox"
   }
}
"signaturePayload": 
   "{
      \"merchant_id\": \"idea_preprod\",
      \"customer_id\": \"1234567890\",
      \"mobile_number\": \"9234567890\",
      \"email_address\": \"[email protected]\",
      \"timestamp\": \"1571922200845\"
    }",