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 Link 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": "3610",
"clientTxnId": "Register_20240408101003",
"requestDateTime": "20240408101000",
"urn": "112",
"customerId": "AjayCardLinkTest",
"loadAmount": 60000
}
'
Sample response
{
"token": "onzyJygXzxgDJ8PMKnOh9O/zjDvmT1UlvR+x7K0uZTpcB/6GcvxLajAGnXe2l+XzRIpfFuDiW73T7kr9V2Ur0ezcLDesAQ1tzrACPfRzfcgBRAhb2h5hqA28aeorWFoxAlSpiprX7Yd59D1Rn0rrJ1AZ1Ksh8DVs8GVfogEeJ85RkYBdQwIhE8+Z8aps6qB0iwfS9Ir3hrTZlbEEV7bG9hh9Sgy0L9qa7HURmxj+9rrUglMPH1k/KvsccpgRb8VL"
}