post https://payusandbox-kong.pc.enstage-sas.com/api/v2/encrypt
The Encrypt API request parameters varies based on the API with which it is used for. This section describes the Encrypt API used with Set or Reset PIN 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": "1120",
"requestDateTime": "20240408101000",
"clientTxnId": "201507271458370149gM90jY0",
"newPIN": "1244",
"last4Digits": "1745",
"customerId": "IN00001201001868",
"urn": "6"
}
'
Sample response
{
"token": ""lO+YNouaBSM4g7C+33YxbAIOg5SL053shNBmew7bP2Vwbqa245hIpaJJgaO8Vu2czuOXDo7D4e2S58697mvuapEOXTxZtpV4hLyx56i5kFh6In9X68vnfeDCa1gFBWgFWlHqQTIzIXPo6zHsRcz3QhNIQnI3tDW93vU71zNg1MIglZ9z9htSFF0YbMcfedxgAPgYZlGEI8HUFY9mlChpvBa2c4myBQ3Xr9O2KymfZyRvS0HpbBKL/Cdyxsr8B+rEiaDQb9nITaUA2Kka45xB7w=="
}