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 Unblock 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: API%20Key%20for%20WIBMO%20Wallet%3A%204A02C4267C9A97A1488AB3259FD1A725' \
--data '
{
"messageCode": "1250",
"clientTxnId": "Unblock_20240401101010",
"requestDateTime": "20240408101000",
"last4Digits": "7357",
"urn": "5",
"customerId": "ajaytestsandbox1",
"reserved1": "Test Unblock",
"reserved2": "UNBLOCKED"
}
'
Sample response
{
"token": "uDYLRBit6maaCPAqHTXnYz/WE7koiLzJp16u9jb8IWKzJo7AZhcC75SYi0XrxzZRv64bMXCziTH7LyCjYBYUpSdQ9grg/kozxHmc0ssALyap3VG0bq7n7SKoeAN4WGY06oH3ZzYwEkY7UhnNMUsJ6F+BqxvCYB3M7hHILBhq1VjoNqkgQ5CaBwGjDL229AmCaDWR3GnRbcMdLv4yB0iT5ZXxO05tzs28sZuVR4Uju3ca4LODqv1VNYebvizVxuDtesAVuNr/G6kz0fCUOUxCtq2Bgsb52+3vqbvgyW/PY59Ew2V2XBWqNr0S7yHetacW"
}