Token activation notification

Contis API service notifies the consumer about token activation.

Token activation notification parameters

Parameters Type Description Default value
NotificationType string Three-digit unique identifier of notification. Numeric value “68” denotes the Token activation notification. Null
CardID integer Unique identifier of the card.
TokenID integer Unique identifier of the token.
CardEndingNumber string Last four digits of card number
TokenRequestorCode string Token requestor code For Example ‘APLPAY’ OR ‘GGLPAY’ OR ‘SAMPAY
DeviceID string Mobile device id
DeviceType string Device type value
01 – Mobile Phone
02 – Tablet
03 – Watch
04 – Mobile Phone or Tablet
05 – Personal Computer

Datetime string The date and time of Token activation and Format of this yyyyMMddHHmmss.
“Datetime”: “20201112165446”

SecurityHash string String value generated through hash logic with all of the above parameters (To verify the values posted on URL) Blank

Example of Token activation notification

The table shows an example of an Token activation notification sent to the consumer.

Parameters Type
NotificationType 68
CardID 74318
TokenID 478
CardEndingNumber 5574
TokenRequestorCode APLPAY
DeviceID 0000123
DeviceType 01
DateTime 20201105173851
Security Hash 1edc3c6b87a495ed5afb476057f185674e92e478e0c887d5f83aeb91f0b6a41a

To generate the Security Hash

Hash sequence:
NotificationType&CardID&TokenID&CardEndingNumber&TokenRequestorCode&DeviceID&DeviceType&Datetime&

HashDataString:	68&74318&478&5574&APLPAY&0000123&01&20201105173851&
SecurityKey: abcdefghijklmnop
HashGenerationData: HashDataString + SecurityKey
Hash: 1edc3c6b87a495ed5afb476057f185674e92e478e0c887d5f83aeb91f0b6a41a

Json example

{
    "NotificationType":"68",
    "CardID":"74318",
    "TokenID":"478",
    "CardEndingNumber":"5574",
    "TokenRequestorCode":"APLPAY",
    "DeviceID":"0000123",
    "DeviceType":"01",
    "DateTime":"20201105173851",
    "SecurityHash":"1edc3c6b87a495ed5afb476057f185674e92e478e0c887d5f83aeb91f0b6a41a"
}