application/json
for request and response bodies.
POST
request specifying the desired protocol for interacting with the wallet and a template ID referencing a pre-configured verification template.
The response includes a verification ID along with an engagement URI for engaging the wallet based on the specified protocol.
POST
/vdcs/verification
create:verification_request
protocol
: String. Requiredmdoc/webapi/draft-2023-03-29
: Uses an MDoc URI as defined in ISO/IEC DTS 18013-7 for communication.mdoc/webapi/v1.0
: Uses an MDoc URI as defined in ISO/IEC DTS 18013-7 for communication.template_id
: String. RequiredResponse Code | Response Type | Description |
---|---|---|
201 | application/json |
|
Response Code | Response Message | Description |
---|---|---|
201 | Verification is initiated successfully | The response body contains the Response Schema defined above. |
400 | Bad Request | The request is malformed or invalid. |
401 | Unauthorized | The request requires authentication. Ensure a valid access token is provided in the Authorization header. |
403 | Forbidden | Insufficient scope. Ensure an access token with sufficient scope is provided in the Authorization header. |
404 | Template not found | The provided template ID is invalid or no longer active. |
500 | Internal Server Error | An unexpected error occurred on the server. |
id
path parameter specifies the Verification ID.
GET
/vdcs/verification/{id}
read:verification_request
verification_id
: String. Required
Response Code | Response Type | Description |
---|---|---|
200 | application/json | state : String Required The state field contains information about the current state of the verification process. The following values may be present:
reason : String Optional The The |
Response Code | Response Message | Description |
---|---|---|
401 | Unauthorized | The request requires authentication. Ensure a valid access token is provided in the Authorization header. |
403 | Unauthorized | Insufficient scope. Ensure an access token with sufficient scope is provided in the Authorization header. |
404 | Verification not found | The provided verification ID is invalid or no longer active. |
500 | Internal Server Error | Verification failed. Response body may contain an ErrorResponse object with details about the failure. Check the reason field for specific error information. |