post https://payusandbox-kong.pc.enstage-sas.com/api/v2/encrypt
This API is used to encrypt the payload for the Load Wallet API.
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": "1080",
"clientTxnId": "Reload_20240404101201",
"requestDateTime": "20240408101000",
"customerId": "ajaytestsandbox2",
"accountNumber": "606030003007700",
"transactionAmount": 525,
"sender": "AMAZON",
"loadCurrency": "INR",
"sourceType": 1,
"sourceAccount": "27389282",
"originalClientTxnId": "GOUTTH14000013",
"fundFlowType": "I",
"implId": "I|80020",
"implType": "P2P_A2W_I_N",
"refundFileId": "sreekumar.csv",
"fee": 525
}
'
Sample response
Success scenario
{
"token": "2cXWgW9s/hkJRCOYCCDt0zUnbTcwYMQ6K36S1hHjpArH1OiotY8HxQ/1Kq36yM7eXdh1mRr+lux1B7lMUJfMkELJvNEPLz5V65av70LHyKKrtRpYcKAyWQIKTYcwD+kbVLTtFqrOf71w6prlo+zuHwKdwjM7oxpD1x7hd3U6BYyqHlX9ZJ2WoF8DLHe52vorqreQtpybM1bHg0MssRBkQ+7+7tFcOizWV3e2MvLb/DKqcvojwNkzmBqPT06YKb8859fHpJUCt/Cz0AYDYwfb2QoUgnFSJwkjZBloBAhNeoJSR0CRiobwx/cvVSnTCc/fkouHp6HK+yRgFOQSV9gS84IkAsezvvPuihpr1eqRutJD9jOyH03XcxpejOBg66sIx8DfqrtIiH01VP3N9HBxVrE9vl6ui9944+KzP7kenqlaUfcGRUiyTovGTbQm67CDcRFwRFCKiixFj936mB3kJrywzYbwmDeVO4yudCYFBWnf/qTtbhzAWaRBTwHBb1pvqMv93K1CWk84ZXoJot03c8P1SeBxCOYRbj27FJNQ30dKvjkqUmQh3O6nM5eX76yJ"
}
Failure scenario
- API key is not provided or invalid API key in the x-api-key parameter.
{
"message": "No API key found in request"
}
Request parameters
Reference:
For IMPL types, refer to IMPL IDs and Types.