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 Create Card 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": "1010",
"clientTxnId": "CreateCard_20240219101007",
"requestDateTime": "20240219101000",
"customerId": "000000000043",
"productId": "2",
"newCardStatus": "active"
}
'
Sample response
{
"token": "onzyJygXzxgDJ8PMKnOh9O/zjDvmT1UlvR+x7K0uZTpcB/6GcvxLajAGnXe2l+XzRIpfFuDiW73T7kr9V2Ur0ezcLDesAQ1tzrACPfRzfcgBRAhb2h5hqA28aeorWFoxAlSpiprX7Yd59D1Rn0rrJ1AZ1Ksh8DVs8GVfogEeJ85RkYBdQwIhE8+Z8aps6qB0iwfS9Ir3hrTZlbEEV7bG9hh9Sgy0L9qa7HURmxj+9rrUglMPH1k/KvsccpgRb8VL"
}