Skip to main content

PresentationCallbackEvent

The callback endpoint is called when a user scans the QR code, uses the deep link the authenticator app, or finishes the presentation process.

type PresentationCallbackEvent {
error: RequestError
receipt: JSONObject
requestId: ID!
requestStatus: PresentationRequestStatus!
state: String
subject: String
verifiedCredentialsData: [PresentedCredential!]
}

Fields

PresentationCallbackEvent.error ● RequestError object

When the requestStatus property value is presentation_error, this property contains information about the error.

PresentationCallbackEvent.receipt ● JSONObject scalar

The receipt contains the original payload sent from the wallet to the Verifiable Credentials service. The receipt should be used for troubleshooting/debugging only. The format in the receipt isn't fix and can change based on the wallet and version used.

PresentationCallbackEvent.requestId ● ID! non-null scalar

Mapped to the original request when the payload was posted to the Verifiable Credentials service.

PresentationCallbackEvent.requestStatus ● PresentationRequestStatus! non-null enum

PresentationCallbackEvent.state ● String scalar

The optional state value that you passed in the original request payload.

PresentationCallbackEvent.subject ● String scalar

The verifiable credential user DID.

PresentationCallbackEvent.verifiedCredentialsData ● [PresentedCredential!] list object

Member Of

PresentationEventData object