post https://kong-pp-hexappiuat.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 Transaction Statement 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 'content-type: application/json' \
--header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \
--data '
{
"messageCode": "3540",
"requestDateTime": "20170620050503",
"clientTxnId": "BDO_Transaction_Inquiry_xoxoxd361",
"urn": 1647,
"customerId": "9XXXX2",
"fromDate": "22/02/2023",
"toDate": "23/12/2023"
}
'
Sample response
{
"token": "XUjLUwHaARB0pNWZOyBFAuH+NcGjVtEKVer8/1W0sA0LQnGQvrmdOZC1d9OYGO4v/Ome6Q2n0LcS4X8H5TEAT4iwbmxre/ieINEFUeXWRPQtHwgwHlTMdoPARGcE9NG4FhzibOdU01ngHBl+ISEwLsbnJR0oLmiDQaBO662fYlK/quxHA0OjJh5zR93fpyjaxqK85X/4YrE5ASWjM83o27bLqfSmkNkCOIUCvmULtdevyMWAj83L+rTKL4Wy7a+bu3uFUBLsCSyZVUHi/MBpvw=="
}