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.
Name | Description |
---|---|
Node.completed | There is a workflow node that has been completed |
Verification.created | There is a new verification that has been created by a workflow |
Verification.approved | There is a new verification record with the status of approved |
Verification.declined | There is a new verification record with the status of declined |
Case.created | There is a new case that has been created by a workflow |
Case.approved | There is a new case record with the status of approved |
Case.declined | There is a new case record with the status of declined |
Profile.create | There is a new customer profile that has been created |
Profile.changed.location | Profiles location information changed |
Profile.changed.productType | Profiles product type information changed |
Profile.changed.transactionAmount | Profiles transaction amount information changed |
Profile.changed.amlCategory | Profiles AML category information changed |
Profile.changed.riskLevel | Profiles risk level information changed |
Profile.changed.monitoring | Profiles monitoring information changed |
Export.pdf.completed | The PDF is ready |
Webhook payload
Node.completed
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
Verification.created
{
"tenantId": 45208501,
"transactionId": "5f892251ac4188ae",
"flowId": 54727,
"notificationType": "TRANSACTION_EVENT",
"event": "Verification.created",
"timestamp": 1698402122728,
"data": {
"stage": "INIT",
"status": "REVIEW"
}
}
Verification.approved
Verification.approved
{
"tenantId": 45208501,
"transactionId": "f9932242fa62cd3c",
"flowId": 54883,
"notificationType": "TRANSACTION_EVENT",
"event": "Verification.approved",
"timestamp": 1698758703776,
"data": {
"stage": "COMPLETED",
"status": "APPROVE"
}
}
Verification.declined
Verification.declined
{
"tenantId": 45208501,
"transactionId": "5f892251ac4188ae",
"flowId": 54727,
"notificationType": "TRANSACTION_EVENT",
"event": "Verification.declined",
"timestamp": 1698906006897,
"data": {
"stage": "COMPLETED",
"status": "REJECT"
}
}
Case.created
Case.created
{
"tenantId": 45208501,
"transactionId": "5f892251ac4188ae",
"flowId": 54727,
"notificationType": "CASE_EVENT",
"event": "Case.created",
"timestamp": 1698402149485,
"data": {
"status": "REVIEW"
}
}
Case.approved
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
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
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
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
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
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
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
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
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"
}
}