Webhook events

Type of events

Events are actions in the One stop system that you can use to trigger Webhooks in Developers> Webhooks.
The following is a list of all the events that currently may be emitted by the One Stop service.
This list can grow at any time, so when developing against One Stop events.

NameDescription
Node.completedThere is a workflow node that has been completed
Verification.createdThere is a new verification that has been created by a workflow
Verification.approvedThere is a new verification record with the status of approved
Verification.declinedThere is a new verification record with the status of declined
Case.createdThere is a new case that has been created by a workflow
Case.approvedThere is a new case record with the status of approved
Case.declinedThere is a new case record with the status of declined
Profile.createThere is a new customer profile that has been created
Profile.changed.locationProfiles location information changed
Profile.changed.productTypeProfiles product type information changed
Profile.changed.transactionAmountProfiles transaction amount information changed
Profile.changed.amlCategoryProfiles AML category information changed
Profile.changed.riskLevelProfiles risk level information changed
Profile.changed.monitoringProfiles monitoring information changed
Export.pdf.completedThe PDF is ready

Webhook payload

Node.completed

{
  "tenantId": 45208501,
  "transactionId": "5f892251ac4188ae",
  "flowId": 54727,
  "notificationType": "NODE_EVENT",
  "event": "Node.completed",
  "timestamp": 1698402132121,
  "data": {
    "endTime": 1698402131.859,
    "id": 41937,
    "input": [
      {
        "name": "Lee",
        "type": []
      }
    ],
    "name": "16:CUSTOMIZED_FORM",
    "opTime": 1698402131.859
  }
}

Verification.created

{
  "tenantId": 45208501,
  "transactionId": "5f892251ac4188ae",
  "flowId": 54727,
  "notificationType": "TRANSACTION_EVENT",
  "event": "Verification.created",
  "timestamp": 1698402122728,
  "data": {
    "stage": "INIT",
    "status": "REVIEW"
  }
}

Verification.approved

{
  "tenantId": 45208501,
  "transactionId": "f9932242fa62cd3c",
  "flowId": 54883,
  "notificationType": "TRANSACTION_EVENT",
  "event": "Verification.approved",
  "timestamp": 1698758703776,
  "data": {
    "stage": "COMPLETED",
    "status": "APPROVE"
  }
}

Verification.declined

{
  "tenantId": 45208501,
  "transactionId": "5f892251ac4188ae",
  "flowId": 54727,
  "notificationType": "TRANSACTION_EVENT",
  "event": "Verification.declined",
  "timestamp": 1698906006897,
  "data": {
    "stage": "COMPLETED",
    "status": "REJECT"
  }
}

Case.created

{
  "tenantId": 45208501,
  "transactionId": "5f892251ac4188ae",
  "flowId": 54727,
  "notificationType": "CASE_EVENT",
  "event": "Case.created",
  "timestamp": 1698402149485,
  "data": {
    "status": "REVIEW"
  }
}

Case.approved

{
  "tenantId": 45208501,
  "referenceId": "Referenceasd",
  "transactionId": "4343f9bde701a2fd",
  "flowId": 54528,
  "notificationType": "CASE_EVENT",
  "event": "Case.approved",
  "timestamp": 1698758752942,
  "data": {
    "status": "APPROVE",
    "tags": [
      "TRUE_MATCH_RETAIN"
    ]
  }
}

Case.declined

{
  "tenantId": 45208501,
  "transactionId": "5f892251ac4188ae",
  "flowId": 54727,
  "notificationType": "CASE_EVENT",
  "event": "Case.declined",
  "timestamp": 1698906006919,
  "data": {
    "status": "REJECT",
    "tags": [
      "TRUE_MATCH_EXIT"
    ]
  }
}

Profile.create

{
  "tenantId": 45208501,
  "referenceId": "ffsdfsfdfsdffdssdf",
  "transactionId": "b763f42c0396951c",
  "flowId": 54907,
  "notificationType": "CUSTOMER_PROFILE_EVENT",
  "event": "Profile.create",
  "timestamp": 1698767464613,
  "data": {
    "customerName": "Sam",
    "ospProfileId": "1845459410fc4afdbe9ea175fb0504f7"
  }
}

Profile.changed.location

{
	"tenantId": 45208501,
	"referenceId": "Referenceasd",
	"transactionId":"1b1822cc8b8c0f56",
	"flowId":586,
	"notificationType": "PROFILE_CHANGE_EVENT",
	"event": "Profile.changed.location",
	"timestamp": 1701365804528,
	"data": {
		"fromValue":"Singapore",
        "toValue":"Indonesia"
	}
}

Profile.changed.productType

{
  "tenantId": 45208501,
  "referenceId": "Referenceasd",
  "transactionId": "4fc82d7b0c0e8cf2",
  "flowId": 54528,
  "notificationType": "PROFILE_CHANGE_EVENT",
  "event": "Profile.changed.productType",
  "timestamp": 1698763710797,
  "data": {
    "fromValue": "0",
    "toValue": "124,0"
  }
}

Profile.changed.transactionAmount

{
  "tenantId": 45208501,
  "referenceId": "Referenceasd",
  "transactionId": "4fc82d7b0c0e8cf2",
  "flowId": 54528,
  "notificationType": "PROFILE_CHANGE_EVENT",
  "event": "Profile.changed.transactionAmount",
  "timestamp": 1698763617211,
  "data": {
    "fromValue": "0",
    "toValue": "144"
  }

Profile.changed.riskLevel

{
  "tenantId": 45208501,
  "referenceId": "referenceIdasd",
  "transactionId": "a8e2dba0e3656455",
  "flowId": 54528,
  "notificationType": "PROFILE_CHANGE_EVENT",
  "event": "Profile.changed.riskLevel",
  "timestamp": 1698760676739,
  "data": {
    "toValue": "High Risk"
  }
}

Profile.changed.monitoring

{
  "tenantId": 45208501,
  "referenceId": "referenceIdasd",
  "transactionId": "a8e2dba0e3656455",
  "flowId": 54528,
  "notificationType": "PROFILE_CHANGE_EVENT",
  "event": "Profile.changed.monitoring",
  "timestamp": 1698760670205,
  "data": {
    "toValue": "No"
  }
}

Export.pdf.completed


  "tenantId": 45208501,
  "notificationType": "EXPORT_TASK_EVENT",
  "event": "Export.pdf.completed",
  "timestamp": 1698906342261,
  "data": {
    "downloadUrl": "https://stg-osp-sandbox.oss-ap-southeast-5.aliyuncs.com/dev/case-mgt/pdf/2023/11/02/a62b396dc3f44a9fab932d8946c3443b.pdf?Expires=1699459200&OSSAccessKeyId=LTAI5tQAABHKrDphJgfGGSTP&Signature=%2BCSttlkTJ5eFNKoLbHeSOEVjnDk%3D&response-content-disposition=attachment%3Bfilename%3DCase_5f892251ac4188ae.pdf",
    "entityName": "case",
    "id": "72be41c1b0734a47a8bdfd7a3dc698e5",
    "periodOfValidity": 7,
    "periodTimeUnit": "days",
    "requestTime": "2023-11-02T06:23:16Z"
  }
}