Document Status Change

Document Status Change

Use webhook notifications to monitor changes to KYC document statuses.

Two notification categories can be relevant when handling document status changes:

NotifCategoryNotificationPurpose
9Document status changedNotifies you when the status of a document changes.
49Online Onboarding: Profile statusProvides Online Onboarding profile status updates and, when applicable, detailed document rejection information.

Document status change

When the status of a document changes, Lemonway sends a webhook notification with NotifCategory = 9.

Notification payload

KeyDescriptionExample
NotifCategoryType of notification. 9 for a document status change.9
NotifDateDate and time the notification was created, in Paris time and ISO 8601 format.2015-11-01T16:44:55.883
IntIdInternal ID of the wallet.32
ExtIdExternal ID of the wallet.jkdc
DocIdDocument ID.4646
DocTypeDocument type.0
StatusCurrent document status.6

Example

{
  "NotifCategory": "9",
  "NotifDate": "2015-11-01T16:44:55.883",
  "IntId": "32",
  "ExtId": "jkdc",
  "Status": "6",
  "DocType": "0",
  "DocId": "4646"
}

Document rejection details

For documents rejected during Online Onboarding, detailed rejection information is provided through the Online Onboarding: Profile status notification (NotifCategory = 49).

When applicable, the notification includes a Rejections array identifying the rejected document and the reason for rejection.

The Rejections array belongs to the Online Onboarding Profile status notification (NotifCategory = 49) and is separate from the Document status changed notification (NotifCategory = 9).

Rejections object

FieldTypeDescription
RejectionsArrayContains details about rejected items.
TypeStringType of rejected item. For a document rejection, the value is Document.
IDStringIdentifier of the rejected document.
ReasonStringNumeric code identifying the rejection reason. See the rejection reason codes below.

Example rejection

{
  "Rejections": [
    {
      "Type": "Document",
      "ID": "...",
      "Reason": "4"
    }
  ]
}

In this example, Reason = "4" indicates that the document was rejected because it belongs to the wrong individual.

Rejection reason codes

ReasonRejection reason
1Incomplete
2InvalidFormat
3Expired
4WrongIndividual
5NotSigned
6MissingPercentages
7MissingUboIds
8MissingSides
9WrongDocumentType
10NotRequired
11OrganizationalChartRequired
12UnofficialDocument
13MissingDate
14Blurry
15Duplicate
16ImageQuality
17Other