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 Replacement 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: 4A0XXXXX7C9A97A1488AB3259FD1A725' \
--data '
{
"messageCode": "1210",
"clientTxnId": "993er9111",
"requestDateTime": "20240408101000",
"accountNo": "606030003007684",
"oldCardURN": "6",
"newCardURN": "9",
"productId": 1
}
'
Sample response
{
"token": "IqfPWuXbGNu1n1atZtrIKDxCNrfLcAwG1P2blvIEitnfW3XLIu1CCUoI0C9JyQUO0BqzN8t4mbzaQ8Lp9OoIGDDLBmh7gXPF6RIEr/l+uW6S5Qr7n+YLtRFEOREVfGNihgxN8pRSzFdfAhPj5UDhdPhLdWjb4nBu9ekOwXtYH7WM6BXU91OBUF7jYtu/1YDnSqmvl/drvjR2HaWFvRB4lmLuYCdDmSKrdCsvLIOuCWiDMNEyw4jzKhDkhPjN+P4d"
}