User status change notification
Provides notification of a change in a user's status.
User status change notification parameters
Parameters | Type | Description |
---|---|---|
NotificationType | string | Three-digit identifier of the notification type. "054" denotes the user status change notification. |
CardHolderID | integer | Unique identifier of the user. |
OldUserStatus | string | The previous status of the user. |
NewUserStatus | string | The new (current) status of the user. |
StatusChangeDate | string | The date and time of the user's status change in yyyyMMddHHmmss format. |
SecurityHash | string | Contains the hash of the payload values and your webhook security key, to verify the origin and integrity of the notification. |
Example of User status change notification
{
"NotificationType" : "054",
"CardHolderID" : "11",
"OldUserStatus" : "01",
"NewUserStatus" : "05",
"StatusChangeDate" : "20180927213756",
"SecurityHash" : "52441eba64461dc1866547bd7402fdad720216e49c3447d4e66eb59a09420cd0"
}
Validating the notification security hash
Security Hash validation
See the respective guide for more information on calculating and verifying the notification security hash.
To compute the hash of the notification payload, concatenate the payload values in the following sequence, with your webhook security key as the final item:
<NotificationType>&<CardHolderID>&<OldUserStatus>&<NewUserStatus>&<StatusChangeDate>&<webhook-security-key>
The payload values above and example webhook security key of abcdefghijklmnop
, will produce the following hash input:
054&11&01&05&20180927213756&abcdefghijklmnop