Skip to main content

CallbackOpts

statusAuthorizationStatus (string)[]

Limit the callbacks to certain statuses. If not provided or an empty array is provided, all statuses will be assumed

Possible values: [authorization_request_created, authorization_request_retrieved, authorization_response_received, authorization_response_verified, error]

verified_data object

Controls what verified data to include in the response. Only applies when status is 'authorization_response_verified'. Either nothing (omit), or a combination of the vp_tokens and credential data deserialized (credentials_deserialized), depedning on the modes selected

modesVerifiedDataMode (string)[]

Possible values: [authorization_response, vp_token, credential_claims_deserialized]

urlstringrequired

The callback url for status updates

Example: https://example.com/callback/status
CallbackOpts
{
"status": [
"authorization_request_created"
],
"verified_data": [
"vp_token",
"credentials_deserialized"
],
"url": "https://example.com/callback/status"
}