Encrypt API for Updating Profile

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

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 'accept: application/json' \
     --header 'content-type: application/json' \
     --header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \
     --data '
{
  "messageCode": "1280",
  "requestDateTime": "2022061314719",
  "clientTxnId": "thhye88697as14353323422",
  "productId": "9",
  "cardProfileId": "150",
  "form60": true,
  "docConsent": true,
  "email": "[email protected]",
  "address": "10, MG Road",
  "city": "Bangalore",
  "state": "Karnataka",
  "country": "India",
  "zipCode": "560026",
  "kycDateStamp": "2021061314719",
  "updateVectors": "city"
}
'
Sample response
{
  "token": "cUVoolx+taCEhY4sg8p6N1AK4Y7FQvwqGRPuxvGhwqx1N0DBEh/qDiwzpyKDJd9qnLe13DOcDjLWXM0evUWUd+kcMrKUcySsDjAjHOruiD/XrMXW5eIuuSY5LqXAtXJmXWu/DkhuJS3MJ4TF9M0Cnqvoxk40gU3Iu8vN0dHEIn1m0oH1YUHLO7l1fm/+C8ZfeNlvo16ba9x3pPFbjMBnoWQ+Gf+abLHrqOrR1W4EUEjFMacnbDSiCoolCi1W9RdlsBk38BRxAXJsHVhpL569irIHMArl0nJMfrKuJzEPrCOsTue2P1W++jyt2+dd6DRZywyGzau9jlVyIqQj8UzI+UWrIob59dRYtKzeUtX0L6CBVU42riQppeIVoX0SnqsKNz3XFZDgDUYuc4qz4L55Rp8SDcN/N/KOuMiqu8kxF6G91NEo3S4VFyEwks51Bm5jhqCeELiUfcGwy1XN9rfVWtiwnZCYwOR3k3AqRwhoT4k="
}
Error codes
Error CodeDescription
1262CLIENT ID NOT PRESENT IN THE REQUEST
1264BANK ID NOT PRESENT IN THE REQUEST
1310XCONSUMERKEY NOT PRESENT IN REQUEST
1311SECURE CODE NOT PRESENT IN REQUEST

Request parameters

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