post
https://uataws.paynearby.in:1002/api/whitelabel/WhiteLabelLoginAPI
| Response Code | Response Description |
|---|---|
| 0 | Success |
| 407 | Secret key is required |
| 402 | PartnerId is required |
| 403 | Device Id is required! |
| 500 | Internal error (When exception occurs) with exception message |
| 405 | Invalid Checksum |
| 406 | Failure in getting Session token |
CheckSum Logic
checksum = partnerSessionID +“|”+ partnerID +”|”+ userID +”|”+ Secret Key
To be dynamic on a daily basis, add dates before and after this combination.Please find the below format to generate the checksum.
- checksum = “2021”+”|”+ partnerSessionID +“|”+ partnerID +”|”+ userID +”|”+ Secret Key+”|”+MM(12)dd(16)
- string checksumData = DateTime.Now.Year + "|" + partnerSessionId + "|" + partnerId + "|" + userId + "|" + secretKey + "|" + DateTime.Now.Month + DateTime.Now.Day;
string hashString = BitConverter.ToString(new SHA512CryptoServiceProvider().ComputeHash(Encoding.UTF8.GetBytes(checksumData))).Replace("-", "").ToLower();
| ChannelType | |
|---|---|
| 8 | Web |
| 1 | Mobile |
