User status change notification

Contis API service notifies client whenever the status of the consumer is changed.

User status change notification

Parameters Type Description Default value
NotificationType string Three-digit unique identifier of notification. Numeric value “054” denotes the Authorisation notification. Blank
CardHolderID integer Unique identifier of the consumer
OldUserStatus string Two-digit unique identifier that denotes the “status of the consumer” before the status is changed. 00
NewUserStatus string Two-digit unique identifier that identifies the “status of the consumer” after status is changed. 00
StatusChangeDate string The date and time of change of the user’s status. The format of date is yyyyMMddHHmmss. Maximum length = 14 characters.
SecurityHash string String value generated through hash logic with all of the above parameters (To verify the values posted on URL)

Example User status change notification

The table shows an example of an User status change notification.

Parameter name Value
NotificationType 054
CardHolderID 11
OldUserStatus 1
NewUserStatus 5
StatusChangeDate 20180927213756
SecurityHash 52441eba64461dc1866547bd7402fdad720216e49c3447d4e66eb59a09420cd0

To generate the Security Hash

Hash sequence : NotificationType&CardHolderId&OldUserStatus&NewUserStatus&StatusChangeDate&HashPAN Key


HashDataString : 054&11&01&05&20180927213756&
SecurityKey : abcdefghijklmnop
HashGenerationData : HashDataString + SecurityKey
Hash : 52441eba64461dc1866547bd7402fdad720216e49c3447d4e66eb59a09420cd0

JSON Example

   "NotificationType" : "054",
   "CardHolderID" : "11",
   "OldUserStatus" : "01",
   "NewUserStatus" : "05",
   "StatusChangeDate" : "20180927213756",
   "SecurityHash" : "52441eba64461dc1866547bd7402fdad720216e49c3447d4e66eb59a09420cd0"