Interface CredentialPresentationResponseReceiveEvent

interface CredentialPresentationResponseReceiveEventSanitised {
    category: "credential-presentation";
    data: {
        sessionId: string;
    };
    id: string;
    requestId: string;
    tenantId: string;
    timestamp: number;
    type: string;
    version: "1";
}

Properties

category: "credential-presentation"
data: {
    payload: {
        presentation_submission: {
            definition_id: string;
            descriptor_map: {
                format: "mso_mdoc";
                id: string;
                path: "$";
            }[];
            id: string;
        };
        state: string;
        vp_token: string;
    } | {
        error: string;
        error_description: undefined | string;
        state: string;
    };
    sessionId: string;
    sessionTranscript: string;
}

Type declaration

  • payload: {
        presentation_submission: {
            definition_id: string;
            descriptor_map: {
                format: "mso_mdoc";
                id: string;
                path: "$";
            }[];
            id: string;
        };
        state: string;
        vp_token: string;
    } | {
        error: string;
        error_description: undefined | string;
        state: string;
    }
  • sessionId: string
  • sessionTranscript: string
id: string
requestId: string
tenantId: string
timestamp: number
type: string
version: "1"