Event Payload
The event payload received by the event_listener callback from the digio sdk has the following structure:
{
documentId: string;
txnId: string;
entity: string;
identifier: string;
event: string;
payload: {
type: 'error' | 'info';
data?: Object;
error?: {
code: string;
message: string;
}
}
Events sent by the SDK
Errors Codes
Additional Errors