Encrypt API for Verifying OTP Sent to Email

The Encrypt API request parameters varies based on the API with which it is used for. This section describes the Encrypt API used with Verify OTP Sent to Email API.

Sandboxpayusandbox-kong.pc.enstage-sas.com/api/v2/encrypt
ProductionContact your WIBMO KAM or support.
Sample request
curl --request POST \
     --url https://payusandbox-kong.pc.enstage-sas.com/api/v2/encrypt \
     --header 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \
     --data '
{
  "messageCode": "2090",
  "clientTxnId": "MAILSENTOTPTEST53",
  "requestDateTime": "20220909112862",
  "emailId": "[email protected]",
  "otp": 831676
}
'
Sample response
{
  "token": "rYJGrjmkDUO1GaaSuvWoG27iiXeFG47Mf3yU4fmtVKy8ya3gJZj91DeRfnpAuc5SZR1ifwuO+iidDQ7+yiAALNg7pZkq0PlztdVpBNuoaqn73eVCTd4uYvDTRXHREaQiF1zLwzktvtoTjhp/v133hSzmcrdR5E0L8XzoTFcu3EDN6JfXlnwoWaFZQylpMCgFT69oWXtDDuFDt7cYEMoMgA=="
}

Request parameters

Language
URL
Click Try It! to start a request and see the response here!