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 Card 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": "BDO_CardInquiry",
"fromDate": "10/11/2023",
"toDate": "15/11/2023",
"last4Digits": "4844",
"urn": "10",
"customerId": "9112"
}
'
Sample response
{
"token": "EC6rhUdDlrD32kMLQbzblBAP1rj4p+Cv6uH+J/ORjHTE6jNR2O2YhLUj4AWB5ZeQuQ/BMuvdRLlAoItslB3zKmUMEZZWiJ9I3HUIBPyra5XMx3u8zI9x0sht2MBitT2HGlKdyWzl6RsNEyX+SNQyVG4bMyH02kCmEXnLT7rSGr+Qal6HSqfFDKT6uhEF4Lhc4NPjR6uxM1cnfzV6qJkgW2DbA1dVgpo+ayuwie0vdnYj3izWJdPCQSvNaB650Vs3pZUe2lETGHv2sdSNqkiPNg=="
}