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 Send OTP to Mobile 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": 1940,
"clientTxnId": "MobileOTsVdz65wadKe3RG124",
"requestDateTime": "20220428160040",
"cardHolderMobileNumber": "919900917736",
"productId": 1,
"otp_generation_type": "0"
}
'
Sample response
{
"token": "vFuvGfmW0xsk8fRWs5gavE8m2ySUlm27ccDbOsI0UDLnvhQbWZhU5KZKxnN6Mo49QTabg39m7aOM1inkXjbjrknic4W/x/CfuTHzfQpmOJu1v+hg5prI9+MzGdzNUuw3+8AX6K0SOh/FpJwdk6Yh5sv+aYuSWkfgVgb8nih+qkpLxN9tFrwujq1KS6YxA9KHiYvRq5yR/ABQfNdvK/Maw3ToUshYUksYELy9KX8JV/m1BuW8OD8SzmY9iIzLWTjthoCyEm4Kkdj5aqfe1i0UAg=="
}