post https://payusandbox-kong.pc.enstage-sas.com/api/v2/encrypt
The Encrypt API request parameters vary based on the API with which it is used. This section describes the Encrypt API used with Verify OTP Sent to Email API.
| Sandbox | payusandbox-kong.pc.enstage-sas.com/api/v2/encrypt |
| Production | Contact 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=="
}