post https://payusandbox-kong.pc.enstage-sas.com/hexappiuat/api/v2/payuppi/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 Create Service Request 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/hexappiuat/api/v2/payuppi/api/v2/encrypt \
--header 'content-type: application/json' \
--header 'x-api-key: fa1a80ba52d4e55434' \
--data '
{
"txnDateTime": "20240408101000",
"urn": "10000661",
"requestorEmail": "[email protected]",
"transactionId": "1023",
"txnAmount": "2000",
"disputeReasonId": "2",
"merchantName": "Kee",
"requestSource": "CSR",
"createdBy": "admin",
"disputeComment": "Testing"
}
'
Sample response
{
"token": "e3ln1sSCTF9rgy9AjN5QNAkJruloChEdm7C39FVnfczb5gfIGv/Vg6iSM0ZmzgSwF64Z7yRQ8C+jmDZEUC2rmuM9CCqk5qMQD/AUI7IrXMnSZFV1rEhbGRMJVg0MGxbAa+7+N+Ea1HZk72TlSxUbZsSeRHedWZ+3GsiqU42TRYwQNl5crWPKxtpXRpv9LudcLo56rL5xtHGrNyIzown1d2ah3Lvo4LAQg+6gEyopi+qt6Fl11MJINPAA50OZ5bUkKz8IZq4lTVEMiF7t4BaSpXjv0/FLDG2C4vGtzqU10lyWd2KC+/SZjIpVLQuP7iIk"
}