Document Status Change
Use webhook notifications to monitor changes to KYC document statuses.
Two notification categories can be relevant when handling document status changes:
| NotifCategory | Notification | Purpose |
|---|---|---|
9 | Document status changed | Notifies you when the status of a document changes. |
49 | Online Onboarding: Profile status | Provides 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
| Key | Description | Example |
|---|---|---|
NotifCategory | Type of notification. 9 for a document status change. | 9 |
NotifDate | Date and time the notification was created, in Paris time and ISO 8601 format. | 2015-11-01T16:44:55.883 |
IntId | Internal ID of the wallet. | 32 |
ExtId | External ID of the wallet. | jkdc |
DocId | Document ID. | 4646 |
DocType | Document type. | 0 |
Status | Current 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
Rejectionsarray belongs to the Online Onboarding Profile status notification (NotifCategory = 49) and is separate from the Document status changed notification (NotifCategory = 9).
Rejections object
| Field | Type | Description |
|---|---|---|
Rejections | Array | Contains details about rejected items. |
Type | String | Type of rejected item. For a document rejection, the value is Document. |
ID | String | Identifier of the rejected document. |
Reason | String | Numeric 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
| Reason | Rejection reason |
|---|---|
1 | Incomplete |
2 | InvalidFormat |
3 | Expired |
4 | WrongIndividual |
5 | NotSigned |
6 | MissingPercentages |
7 | MissingUboIds |
8 | MissingSides |
9 | WrongDocumentType |
10 | NotRequired |
11 | OrganizationalChartRequired |
12 | UnofficialDocument |
13 | MissingDate |
14 | Blurry |
15 | Duplicate |
16 | ImageQuality |
17 | Other |

