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 Fetch Beneficiary 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": "2020",
"clientTxnId": "gf9858454305845fjglnvfva",
"requestDateTime": "20161031214559",
"customerId": "000000000036",
"urn": "70000001234",
"activationStatus": "ALL",
"transferType": "FT"
}
'
Sample response
{
"token": "t16celQdnJLaTlYHruqBlBPriD3gTurM5pXcorvTfspltz8Y0cR9evs9vRE9aOoLND7ii2IIHjEG/cxD5vtQXs2PQsh5wy0pjhua/EwbuQFeJXkGS4OpMHcCjRKs3s10VHG4c1fs/lxgMrXwTfuK4CLkdQlQgQzfzdXI/oQ9GzoqIY02Gqt2+vVvGPafMchd/AXFFWcA7DcdCC3YBJvlOqDDdLDCJXDmuqw5DXyqJZc1w01gy/EL5Xowqx17poZk1o/5iQVKyi4VK0yh6gB+fA=="
}