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 Bulk Card Order 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: 4A02C4267C9A97A1488AB3259FD1A725' \
--data '
{
"messageCode": "3610",
"deliveryAddress": {
"address1": "Divyasree Greens, Intermediate Ring Road, Domlur",
"city": "Bangalore",
"state": "Karnataka",
"country": "India",
"zipCode": "560071",
"address2": "M.G. Road"
},
"rtoAddress": {
"address1": "Divyasree Greens, Intermediate Ring Road, Domlur",
"city": "Bangalore",
"state": "Karnataka",
"country": "India",
"zipCode": "560071",
"address2": "M.G. Road"
},
"entityType": "agent",
"noOfCards": "2",
"productId": "4545",
"cardType": "0"
}
'
Sample response
{
"token": "3Q0dOvrhH5Ae97TDWhp/ZJ61YyhW/8q2fpE93WQWeNm+rSW7gJtwtxykXw+WhY46p/vRBRluijdvVDTmegWbdn4gkVqwCgDLjX9gGDOaDEaFdYdXmCjp/D5flamNTeDgZk7AhebphjnAAuFJQaSt6AonxEJAu+sDP4dbw4r0WYqHK1mRDlex41edf6alDswjMnm8YVVB7fCRdF7M+bdX92B3BpNC4j3n/3x/Aoq7jo4mgfDn0p71aFDX0om/4EosRMSr13F+er38XCXhIZ8h8BxFuAv00moXR0TLUl8ekRke/FPYkgMDHN9tQ2qCba8iIU6tqWbO8h6xw/4CTKzxdiSh1VZxD1wGFCUkn13I6Z+2aPbrctOpVLan3HNAd9nFaeg38cx7VfxFjuyRPTIGReqOSJrgu3G7/brs7ndaR2iAhtGJDwh2ZJtdUF0xQEEb54nTPBFnXvCI8EfdiXDMnOoHjsEhUD2+2e0FV3+u48ZQiNjEN0gPvJaltwMnT4tKOEs8yWAk94mDIy/DP0eLoH/k932Q6UHHJfsSiJ+uRRgRBGGwD4OndZwSCKey1/uv5rwe1kbpA1PAhqx0nCymR0SK9z6i1ZyXoD07gm69iy+4pnOT/yOWvrPh3k4lO0NA"
}