Authorization

post

Handles the creation of an authorization request. Creates a new authorization request with the provided presentation definition.

Authorizations
x-client-secretstringRequired
Body

Request body for creating an authorization request

redirect_uristringRequired

Redirect URI to which the response will be sent

Example: http://example.com
validitynumber · doubleOptional

Validity of the authorization request in seconds

Example: 600
Responses
post
/api/v1/verifier/authorization-requests
get

Retrieves an authorization request by ID. Returns the details of the specified authorization request.

Path parameters
idstringRequired
Responses
200

Found

application/json
get
/api/v1/verifier/authorization-requests/{id}
delete

Handles the deletion of an authorization request by ID. Removes the specified authorization request from the system.

Authorizations
x-client-secretstringRequired
Path parameters
idstringRequired
Responses
delete
/api/v1/verifier/authorization-requests/{id}

No content

post

Handler for the 'submit-vp' endpoint. Processes a submitted verifiable presentation, validates it against the presentation definition, and sends the verification result to the redirect URI.

Body

Request body for submitting a verifiable presentation

statestringRequired

Random string to prevent CSRF attacks

Example: abcdef12345678901234567890abcdef
noncestringRequired

Random string to ensure request uniqueness

Example: 1234567890abcdef1234567890abcdef
Responses
200

Success

application/json
post
/api/v1/verifier/verifiable-presentations

Last updated