Encrypt API for Blocking Card

The Encrypt API request parameters varies based on the API with which it is used for. This section describes the Encrypt API used with Block Card API.

Sandboxpayusandbox-kong.pc.enstage-sas.com/api/v2/encrypt
ProductionContact 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": "1240",
  "clientTxnId": "Block_20240401101001",
  "requestDateTime": "20240408101000",
  "last4Digits": "7357",
  "urn": "5",
  "customerId": "ajaytestsandbox1",
  "blockType": "Temporary",
  "reserved1": "Reserved Field_1",
  "reserved2": "Reserved Field_2"
}
'
Sample response
{
  "token": "nYQmhDKcjYl1qk3PO9VioFyj5TCODSM6qzIzY93HEiLueHk5w/D48Gd1DQg6kFgGgo6hky5OyraBzDkYGYHLx7JG18UlMBbAWoxXiSQ/kIN+Jnik1mvLMRYqdiVobsdau4mL3wiLa/SHZY/t8+fX/2RMnnSemBIKIxcAafj6EAW17WKJh2c70d9Iemuy4/lBu18qIuKegVfY90eAlGPjtNtvOc3yzeuRU7R9Pu/7CsTw/UAzqLttNq/iJuf6p2OG1zvWDnFZOQ7X7MQV1zfWafyO/vLTtUTdq9V9kdJqjkUee36lkBnEBgZwmu/sZwPm2FcwOTi+Vwkhg8VcwmY7DJaHcvv8PPT3jOaQDLU/z8w="
}

Request parameters

Language
URL
Click Try It! to start a request and see the response here!