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 Transaction Inquiry 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": "1090",
"requestDateTime": "20240408101000",
"clientTxnId": "Test_Txn",
"fromDate": "25/01/2024",
"toDate": "30/01/2024",
"last4Digits": "4844",
"urn": "10",
"customerId": "4121"
}
'
Sample response
{
"token": "qxDPqbXdaAsnuXB3HyclZDdIfTUETQAiaG/s/OF6x9IHQpmqMIsmrvWfUONt/tRjjCal0UPyXzJT2DqOqSxgIgkNr/wz2ObL71lX/xKAR8SyVxiMlrmwAJYos64v85EVqQanb9R3wmHMepKWAHX10zVWexRMhrD8hkChydhRgL5DPc824MurZ/TLa3c6jgD2s+FO1+XwWTwmFG1Pf2RM+FkMuCaqrXn4NbtXjOLHPj514gasOFlXFdU7eZ2Orng9jof1A+KXZbkzMrQz7blFGA=="
}