Webhook Event Codes

The following page describes each of the event codes available as part of Thredd's Event Delivery Service.

Event Code 101 - Fraud Rule Triggered by a Transaction

šŸ“˜

Note

To use this event code, you must be onboarded for Fraud Transaction Monitoring, and have valid fraud rules set up. For more information, speak to your Account Manager.

The 101 event code is used to send out a message when a fraud rule is triggered by a transaction.

{ 
  "productId": 12345,
  "events": [101],
  "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 a fraud rule is triggered by a transaction, 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": 101,
    "eventVersion": "v1",
    "notificationTime": "2024-01-24T23:20:28Z"
  },
  "payload": {
    "fraudAlertId": "05e991e3-9058-4d79-bf01-76d4e8fe2059",
    "productId": 123,
    "transactionId": 98765432101212,
    "tokenId": 545454121,
    "transactionAmount": "50.75",
    "currency": "USD",
    "merchantName": "Sample Merchant",
    "location": "United Kingdom",
    "dateTime": "2024-01-24T14:30:00Z",
    "mcc": "4567",
    "notificationMessageContent": "Did you attempt $50.75 on card ending 1234 at Example Merchant ? We suspect fraud and blocked the card, Acknowledge if you made this purchase."
  }
}

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 101.
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.
fraudAlertIdUnique identity of the fraud alert.
productIdThe product identifier.
transactionIdUnique identifier of the transaction.
tokenIdThe public token of the cardholder.
transactionAmountThe amount of the transaction.
currencyThe currency of the transaction.
merchantNameThe name of the merchant.
locationThe location of the merchant where the transaction occurred.
dateTimeThe date and time of the transaction in the UTC format of 'yyyy-MM-ddTHH:mm:ssZ'.
mccThe Merchant Category Code (MCC) of the merchant.
notificationMessageContentThe content of the message sent to the customer.

Event Code 102 - Closing a Fraud Alert

šŸ“˜

Note

To use this event code, you must be onboarded for Fraud Transaction Monitoring, and have valid fraud rules set up. For more information, speak to your Account Manager.

The 102 event code is used to send out a message when a fraud alert is closed.

{
  "productId": 12345,
  "events": [102],
  "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 a fraud alert is closed, 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": 102,
    "eventVersion": "v1",
    "notificationTime": "2024-01-24T23:20:28Z"
  },
  "payload": {
    "fraudAlertId": "05e991e3-9058-4d79-bf01-76d4e8fe2059",
    "fraudAlertType": "Acknowledgement",
    "notificationMessageContent": "From Bank: Thank you for replying. Your card ending 1234 has been unblocked.",
    "productId": 123
  }
}

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 102.
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.
fraudAlertIdThe unique identity of the fraud alert.
fraudAlertTypeThe type of fraud acknowledgement. For example, Timeout or Acknowledgment.
notificationMessageContentThe content of the message sent to the customer.
productIdThe product identifier.

Event Code 103 - Card Status Change


šŸ“˜

Note

Event Code 103 (Card Status Change) sends notifications asynchronously only, as messages are processed in batches. Clients will not receive notifications in a specific order. If a client requires ordered processing, you must use the notification timestamp provided in the payload to ensure proper sequencing.

The 103 event code is used to send out a message when a card status is changed.

{
  "productId": 12345,
  "events": [103],
  "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 a card status is changed, 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": 103,
"eventVersion": "v1",
"notificationTime": "2024-01-24T23:20:28Z"
},
"payload": {
"tokenId": "123456789",
"productId": 123,
"dateTime": "2024-01-24T14:30:00Z",
"newCardStatus": "41",
"oldCardStatus": "00",
"message": "Card status changed from active to lost or stolen.",
"trackingId": "60b83k64-526e-4d25-84c7-32b6e47c02b3"
}
}

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 103.
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.
tokenIdThe public token of the cardholder.
productIdThe product identifier.
dateTimeThe date and time the status for the card changed. In the UTC format of 'yyyy-MM-ddTHH:mm:ssZ'.
newCardStatusThe current status of the card.
oldCardStatusThe previous status of the card.
messageThe card status change reason message created by Thredd based on the new card status and old card status.
trackingIdThe Unique identifier generated by Thredd for tracking.

Event Code 104 - Custom PAN Creation

šŸ“˜

Note

The ability to create a card with a custom PAN is a chargeable service. Contact your Account Manager if you're interested in creating cards with a custom PAN.

For more information on creating a custom PAN, see Customisable Card Number.

The 104 event code is used to send out a message a card with a Custom PAN has been created.

{ 
  "productId": 12345,
  "events": [104],
  "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 a card with a Custom PAN has been created, 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": 104,
    "eventVersion": "v1",
    "notificationTime": "2024-01-24T23:20:28Z"
  },
  "payload": {
    "productId": 123,
    "messageId": "60b83k64-526e-4d25-84c7-32b6e47c02b3",
    "publicToken": "123456789"
  }
}

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.
productIdThe product identifier.
messageIdA unique Guid generated by Thredd.
publicTokenThe public token of the cardholder.

Event Code 105 - Customer Alert to Potential Scam

šŸ“˜

Note

You must be onboarded for Scam Transaction Monitoring, and have set up scam alerts, to use this event code. For more information, speak to your Account Manager.

The 105 event code enables you to action your pending payments based on the outcome of a manual review in Fraud Transaction Monitoring. When the webhook service has been successfully set up, notifications will be sent when:

  • There is a payment event only. For example, a non-card event
  • An incident is reviewed (one message per alert reviewed) and set to Risk or No Risk

See the below example of a webhook for a 105 event code.

{
  "programManagerCode" : "TRD",  
  "productId": 12345,
  "events": [105],
  "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 a potential scam has been flagged, a notification response is sent from the Event Delivery Service to the URL specified in the webhook. See the below example of a response.

{
  "context": {
    "programManagerId": 16,
    "eventCode": 105,
    "eventVersion": "v1",
    "notificationTime": "2024-11-24T11:20:28Z",
  },
  "payload": 
   {
      "transactionId": "123412341234",
      "eventid": "55221979-a4cd-4d7a-bb0c-1b3f0b7cb92c",
      "reviewStatus": "no-risk",
      "reviewDate": "2024-11-24T09:15:10.086Z"
   },
  "messageHeaders": {
    "schemaId": 1
  }

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 105.
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.
transactionIdThe unique identifier for the transaction. It can be used to link different messages as part of the same transaction (for example, payment request and confirmation messages).
eventidThe unique reference for the event. This reference string should be fully unique across the entire system.
reviewStatusThe review of the potential scam from Scam Transaction Monitoring. For example, "no-risk".
reviewDateWhen an analyst reviewed the potential scam in Scam Transaction Monitoring.
messageHeadersObject containing the message headers.
schemaIdThe schema identifier. This is always 1. Note that this is a Scam Transaction Monitoring config setting passed on in the response, and no client action is needed.

Event Code 106 - Tokenisation Authorisation Request (TAR)

The 106 event code is used to send out a Tokenisation Authorisation Request (TAR).

{
  "productId": 12345,
  "events": [106],
  "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 a TAR 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": 106,
"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",
"responseCode": "85",
"requestSource": "MOBILE_BANKING_APP",
"tokenRequestorId": "1234",
"orangeFlowIndicator": true
}
}

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

Field

Description

context

Object that contains the context of the notification, such as the event code.

notificationId

Unique identifier of the notification.

eventCode

The event code. In this case, the event code is 104.

eventVersion

The event version.

notificationTime

When the notification was created. Time in the UTC format of 'yyyy-MM-ddTHH:mm:ssZ'.

payload

Object that contains the payload of the notification, which is specific to the event code.

publicToken

The public token associated with the TAR notification.

productId

The unique identifier of the product.

paymentToken

Thredd's internal identifier for the payment token.

dpan

The DPAN identifier for the payment token.

networkTokenReference

The unique token reference from the network.

provisioningTraceId

The lifecycle identifier to link tokenisation events that are related.

tokenisationServiceDateTime

The event generation timestamp from the tokenisation service.

processorDateTime

The event processing timestamp from Thredd.

responseCode

Identifies the action taken by Thredd for the tokenisation request:

00 - Unconditional approval 85 - Conditional approval 05 - Generic Decline N7 - CVV2 Failure 14 - Invalid PAN 54 - Invalid Expiration Date 59 - Fraud Risk 96 - Issuer Internal System Error

requestSource

The provisioning request source.

tokenRequestorId

The unique identifier of the token request initator.

orangeFlowIndicator

Identifies if a given authorisation request is flagged as high fraud risk by Apple (Orange Flow). Based on the 9th character of the wallet_reasons attribute.

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.

Event Code 108 - Tokenisation Complete Notification (TCN)

The 108 event code is used to send out a Tokenisation Complete Notification (TCN).

{ 
  "productId": 12345,
  "events": [108],
  "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 TCN 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": 108,
    "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"
  }
}

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.

Event Code 109 - Tokenisation Event Notification (TEN)

The 109 event code is used to send out a Tokenisation Event Notification (TEN).

{ 
  "productId": 12345,
  "events": [109],
  "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 a TEN 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": 109,
    "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",
    "eventReason": "8",
    "messageReasonCode": "02",
    "eventRequestor": " ",
    "processorTokenStatus": "ACTIVE",
    "tokenisationServiceTokenStatus": "ACTIVE"
  }
}

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.
eventReasonThe tokenisation event reason to indicate the reason why the event was triggered.
messageReasonCodeThe reason code associated with a given event reason where applicable.
eventRequestorIndicates the entity that requested the event.
processorTokenStatusThe issuer processor (Thredd) token internal status.
tokenisationServiceTokenStatusThe Tokenisation Service token status (For example, VDEP or MDES).

Event Code 110 - Tokenisation Status Update Failure Notification (TFN)

The 110 event code is used to send out a Failed Token Status Change notification.

{
  "productId": 12345,
  "events": [110],
  "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 a TFN 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": 110,
    "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",
    "processorTokenStatus": "ACTIVE",
    "tokenisationServiceTokenStatus": "ACTIVE"
  }
}

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.
processorTokenStatusThe issuer processor (Thredd) token internal status.
tokenisationServiceTokenStatusThe Tokenisation Service token status (for example, VDEP or MDES).

Event Code 112 - Transaction Confirmation Event

The Transaction Confirmation (TC) events are a notification sent using Thredd's webhook service for transaction confirmations (Event Code = 112).

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

After the webhook has been successfully set up, you will start to receive TC events based on the configuration of your webhook and 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": 112,
"eventVersion": "v1",
"notificationTime": "2024-01-24T23:20:28Z"
},
"payload": {
"network": "Visa",
"subnetwork": "STAR",
"programManagerCode": "FTX",
"programManagerName": "FintechX",
"programManagerResponse": "00",
"actualBalance": "1500.0000",
"additionalAmount": "50.0000",
"transactionFee": "2.00",
"processorAuthorisationCode": "134822",
"acquiringInstitutionId": "06003758",
"acquirerForwarderId": "000405700",
"availableBalance": "1480.0000",
"billingAmount": "100.0000",
"billingCurrency": "840",
"blockedAmount": "0.0000",
"customerAccount": "CUST123456",
"fxPadding": "1.25",
"fixedFee": "0.0000",
"rateFee": "0.0000",
"mcc": "5411",
"mccDescription": "Grocery Stores",
"mccPadding": "0.50",
"merchantId": "MID98765",
"merchantName": "Walmart NY",
"transactionNote": "Weekly grocery purchase",
"localTransactionTime": "010107",
"localTransactionDate": "20250626",
"processingCode": "000000",
"schemeResponseCode": "00",
"token": "123456789",
"transactionAmount": "100.0000",
"transactionCurrency": "840",
"acceptorCountryCode": "USA",
"transactionDescription": "POS Purchase",
"processorTransactionDateTime": "2025-05-28T10:15:17Z",
"transactionId": "789456123",
"transactionStatusCode": "A",
"transactionType": "A",
"isThreddAuthorised": "Y",
"avsResult": "Y",
"mtid": "0100",
"productId": "1234",
"velocityGroup": "VG01",
"posCapability": "0001000000000100000000000000000000100000000230000",
"posData": "58V9000900000Px100",
"transactionLifeCycleId": "VIS1-20160608-086160508692217",
"transLink": "250415787144555555",
"retrievalReferenceNumber": "510559697285",
"posTerminal": "ECOMM001",
"networkFraudData": "",
"paymentTokenId": "998877",
"paymentTokenWallet": "APPLE"
}
}

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

FieldDescriptionTypeMandatory
contextThe context object.
notificationIdUnique identifier of the notification.StringYes
eventCodeThe event code of the event.IntegerYes
eventVersionThe version of the event.StringYes
notificationTimeNotification created time in the UTC format of 'yyyy-MM-ddTHH:mm:ssZ'.StringYes
payloadThe payload object.
networkPrimary card network (Visa, Mastercard, DGN).StringYes
subnetworkMerchant routing network (STAR, Pulse, DGN), Value only present for MNE transactions.StringNo
programManagerCodeThe Program Manager code.StringYes
programManagerNameThe Program Manager name.StringNo
programManagerResponseThe Program Manager response. Empty for EHI mode 3 transactions, Thredd generated transactions and non-EHI transactions.StringNo
actualBalanceActual balance after transaction (in the card account currency).StringNo
additionalAmountThe additional amount (DE54).StringNo
transactionFeeThe transaction fee (DE28).StringNo
processorAuthorisationCodeAuthorisation code generated by Thredd for approved and declined authorisation requests.StringNo
acquiringInstitutionIdThe Acquiring Bank ID as assigned by the network.StringNo
acquirerForwarderIdIdentifies the acquiring institution forwarding a Request or Advice message.StringNo
availableBalanceAvailable balance after transaction.StringNo
billingAmountSettlement billing amount.StringNo
billingCurrencyBilling currency (ISO 3-digit numeric).StringNo
blockedAmountBlocked amount after transaction.StringNo
customerAccountThe customer account reference.StringNo
fxPaddingForeign currency padding.StringNo
fixedFeeTotal fixed fee amount.StringNo
rateFeeTotal percentage rate fee amount.StringNo
mccMerchant Category Code. 4-digit MCC.StringNo
mccDescriptionMCC description.StringNo
mccPaddingMCC padding.StringNo
merchantIdMerchant ID.StringNo
merchantNameMerchant name and location.StringNo
transactionNoteNote about the transaction.StringNo
localTransactionTimeLocal merchant transaction time.StringNo
localTransactionDateTerminal local date of transaction. MMDD with YYYY added by Thredd. YYYY='0000' if MMDD invalid.StringNo
processingCodeProcessing code for transaction.StringNo
schemeResponseCodeScheme response code (For example, "00" or "05").StringNo
tokenThredd public token of card.StringYes
transactionAmountThe transaction amount.StringYes
transactionCurrencyTransaction currency (ISO 3-digit). For example, "840".StringYes
acceptorCountryCodeTransaction country (ISO 3-alpha). For example, "USA".StringNo
transactionDescriptionDescription of the transaction.StringNo
processorTransactionDateTimeDate and time of processing. Format: yyyy-MM-ddTHH:mm:ssZStringNo
transactionIdUnique transaction ID.StringYes
transactionStatusCodeTransaction status code.StringNo
transactionTypeThe transaction type.StringYes
isThreddAuthorisedIndicates if the transaction is authorised by Thredd. "Y" or "N".StringNo
avsResultThe Address Verification System (AVS) result.StringNo
mtidThe Message Type Identifier. For example, "0100" or "0400".StringNo
productIdThe Product ID of the card.StringYes
velocityGroupVelocity group code.StringNo
posCapabilityPOS capability codes.StringNo
posDataPOS data codes.StringNo
transactionLifeCycleIdLifecycle Trace ID.StringYes
transLinkIdentifier to link related transactions.StringNo
retrievalReferenceNumberRetrieval Reference Number.StringNo
posTerminalPOS Terminal ID.StringNo
networkFraudDataFraud or Risk Indicators received from the card network. For example, Visa: '011099 1122 013099 33'StringNo
paymentTokenIdPayment token ID.StringNo
paymentTokenWalletWallet the payment token belongs to. For example, APPLE (For Apple Pay Wallet) or SAMSUNG (For Samsung Pay Wallet).StringNo

Event Code 115 - FTM Alert Creation


šŸ“˜

Note

To use this event code, you must be onboarded for Fraud Transaction Monitoring, and have valid fraud rules set up. For more information, speak to your Account Manager.

The 115 event code is used when a new alert is created in Fraud Transaction Monitoring (FTM).

{
  "productId": 12345,
  "events": [115],
  "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 alert is created in FRM, 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": 115,
    "eventVersion": "v1",
    "notificationTime": "2025-10-29T23:20:28Z"
  },
  "payload": {
    "AlertTime": "2025-10-29T15:00:00Z",
    "EventTime": "2025-10-29T14:59:30Z",
    "AlertId": "1814885-SleFPH53",
    "EventId": "46d99b92-0d4d-48a4-97a4-eba49b94c9f1",
    "EventType": "cardRT",
    "SystemEventId": "1814885-SleFPH53",
    "ThreddTransactionId": "6167181535",
    "CustomerId": "TRD-1",
    "CardId": "3181200146334628",
    "ProductId": "10030",
    "ProgramManagerCode": [
      "TRD"
    ],
    "TenantId": [
      "TRD"
    ],
    "ActionTags": [
      {
        "Tag": "Action",
        "Values": [
          "Decline"
        ]
      }
    ],
    "TriggeredRules": [
      "AlertingRule",
      "AlertingRule_2"
    ],
    "TriggeringEntities": [
      "3181200136754628",
      "TRD-1"
    ]
  }
}

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 115.
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.
AlertTimeThe time the alert was generated. This can be null if not applicable.
EventTimeThe time the event occurred that triggered the alert.
AlertIdThe unique identifier for the alert.
EventIdThe unique identifier for the event.
EventTypeThe event type that triggered the alert.
SystemEventIdThe FTM generated identifier for the event.
ThreddTransactionIdThe identifier for the Thredd transaction associated with the event.
CustomerIdThe identifier for the customer involved in the event.
CardIdThe identifier for the card involved in the event.
ProductIdThe identifier for the product associated with the card or transaction.
ProgramManagerCodeThe list of program manager codes associated with the event.
TenantIdThe list of tenant identifiers associated with the event.
ActionTagsObject that contains representing actions taken, aggregated from all entities.
TagThe name of the tag, indicating the type of action or metadata.
ValuesArray of values associated with the tag.
ActionTagsEnd of the ActionTags object.
TriggeredRulesThe list of rules that were triggered by the event.
TriggeringEntitiesThe list of entities that triggered the alert.