Encrypt API for Sending OTP 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 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": 2080,
  "clientTxnId": "MobileOTsVdz65wadKe3RG124",
  "requestDateTime": "20220428160040",
  "email": "99999900000",
  "productId": 1,
  "otp_generation_type": "0"
}
'
Sample response
{
  "token": "nhIOIj99bOLq3qAN7ncX3KXyg40cGOryjC9nPccCwilQ3RxU0LevSQ/O8GV8M0hrvJbH5UznlRT+fwtorTvTae4dsBnAt8CHItGUWGKHfwzuUglZguNIJ41CSMXiRBwZRg3NkjFuO+bpld5nuK85z5kDQz01xW8gPpWoq6U2Bv9nJG/QApF0PAJmWTMoj/GSJUG5H0dtP3QVaGXpJ1XOTyq+BW3HqTjWeDgP/B7+TFY="
}

Request parameters

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