Event Code 107 - Activation Code Notification (ACN)


The 107 event code is used to send out an Activation Code Notification (ACN).

{  
  "productId": 12345,
  "events": [107],
  "webhookStatus": "active",  
  "config": {
    "url": "https://client_domain.com/webhook",
    "customHeaders": {
      "header1": "value_1",
      "header2": "value_2"
    }
  }
}

After the webhook has been successfully set up, when an ACN has been made, a notification response is sent asynchronously from the Event Delivery Service to the URL specified in the webhook. See the below example of a response.

{
"context": {
"notificationId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"eventCode": 107,
"eventVersion": "v1",
"notificationTime": "2024-01-24T23:20:28Z"
},
"payload": {
"publicToken": "123456789",
"productId": "124",
"paymentToken": "987654321",
"dpan": "5168563000002547",
"networkTokenReference": "67024958022",
"provisioningTraceId": "VIS1-20210318-381077544887139",
"tokenisationServiceDateTime": "2024-10-29T15:16:30Z",
"processorDateTime": "2024-10-29T15:16:50Z",
"otpValue": "123456",
"otpReason": "TOKEN_DEVICE_BINDING",
"otpExpirationDate": "2024-10-29T15:46:30Z",
"activationMethod": "6",
"deviceInfo": {
		"deviceId": "01234B234C1230011230054848300695D86E17C703548A4A",
		"deviceType": "W"
							}
}
}

The below table describes each of the fields included in the notification response.

FieldDescription
contextObject that contains the context of the notification, such as the event code.
notificationIdUnique identifier of the notification.
eventCodeThe event code. In this case, the event code is 104.
eventVersionThe event version.
notificationTimeWhen the notification was created. Time in the UTC format of 'yyyy-MM-ddTHH:mm:ssZ'.
payloadObject that contains the payload of the notification, which is specific to the event code.
publicTokenThe public token associated with the TAR notification.
productIdThe unique identifier of the product.
paymentTokenThredd's internal identifier for the payment token.
dpanThe DPAN identifier for the payment token.
networkTokenReferenceThe unique token reference from the network.
provisioningTraceIdThe lifecycle identifier to link tokenisation events that are related.
tokenisationServiceDateTimeThe event generation timestamp from the tokenisation service.
processorDateTimeThe event processing timestamp from Thredd.
otpValueThe One-Time Passcode (OTP) value.
otpReasonThe reason for the one One-Time Passcode (OTP). For example, PAYMENT, TOKEN_DEVICE_BINDING, CARDHOLDER_STEPUP, RUSTED_LISTING_ENROLLMENT.
otpExpirationDateThe OTP expiration timestamp.
activationMethodThe customer's activation method preference.
deviceInfoObject that contains information on the device.
deviceIdThe device ID for the tokenisation request.
deviceTypeThe device type for the tokenisation request.