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 Create 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 'accept: application/json' \
--header 'content-type: application/json' \
--header 'x-api-key: 4A02C4267C9A97A1488AB3259FD1A725' \
--data '
{
"messageCode": 2010,
"customerId": "000000000036",
"bankName": "SBI Bank",
"beneficiaryName": "Ashish Kumar",
"beneficiaryTypeCode": 1,
"bankAccountNumber": "2148622416008",
"ifscCode": "SBIN0012346",
"clientTxnId": "jfasfsfuwr93u4032404234ofoaff",
"requestDateTime": "20240408101000"
}
'
Sample response
{
"token": "Hp2SJDdK+lutkEwULKCvjzxgB3NcAmj5R7m0Vb2fhIRbPadu3/HTJum2FlOzSxPBXXTEVNQlS5vkBElsixaLgB7iye0HnYk4aU83QAoac4tVDPtQjBGfdOBWEI/Nmvd5pK2IqROvx5zUQxvLDnZhFW0LaX2MAI6zxs7WnmGqb/bUUPzJRlzEIHJXaLJcq5mBzIMPfyq373Ics41FrYt33OZhrTk8cSIxOYHrB+zc/EzOzhIcSHitvrOPTQgrlJ2cxBquMKrXEG3zmyuOsszUYg/46wixlnPwBBxPKBJTQU642Kh8Po4BKYiVyiQYvMQkQmn/zJG3L+jq9BtJ6uKkWozEEUsTF/1xO5K9uqC4uxaAvpCvk6TwKCJ/Oh8GA83w"
}