This page covers the authentication service and how to handle the basic login fuction before you can start using our webservices.
* All user role credentials expire every 3 months and you can reset the password by using the change password API or via the portals, Please note that if using the same credentials for backoffice access and for API access any change during logins to back office will affect API access. ** API user was designed to allow merchant continues access to the service without affecting backoffice access - please ask support to assign you an API user credentials.
{ "email": "string", "userName": "string", "password": "string", "options": { "appName": "string", "applicationToken": "string", "deviceId": "string", "pushToken": "string", "setCookie": boolean, "userRole": "15" } }
{ "d": { "Code": int, "IsSuccess": boolean, "Key": "string", "Message": "string", "Number": "string", "AccountStatus": "string", "CredentialsHeaderName": "string", "CredentialsToken": "string", "EncodedCookie": "string", "CustomerNumber": "string", "Email": "string", "Signature": "string", "IsDeviceActivated": boolean, "IsDeviceBlocked": boolean, "IsDeviceRegistered": boolean, "IsDeviceRegistrationRequired": boolean, "IsFirstLogin": boolean, "LastLogin": dateTime, "VersionUpdateRequired": boolean } }
A Handful and flexible alert messages examples.