Encrypt API for Verifying OTP to Mobile

The Encrypt API request parameters varies based on the API with which it is used for. This section describes the Encrypt API used with Send OTP 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": "1960",
  "clientTxnId": "todayvra4ramo22221125",
  "requestDateTime": "20230724134122",
  "mobileNumber": "919630217729",
  "otp": "721129"
}
'
Sample response
{
  "token": "+bSNZ2Ag0hOPTwW5eW8Gqa2WlwBuqgPmVYrHdff0eW241YMR5GP80WRjrIfKwsFQxIRoY2zfb08DcylTUg5V1HK9IwAdCm42RsCcBl3f144tAEyskaPuAwgnMOzSuNBHNczwbMmyVdT+ihQGdKXSyrM/XEE05PPcqZATiy6FfRtC4bC1yaLWEdvf645EkL97N3B1jrZPZFf4yHY4uYdBow=="
}

Request parameters

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