Issuing Verifiable Credentials/ ISO mDL with the Blerify API
This section of the documentation explains how to use the Blerify API to issue Digital Credential or ISO mDL.
Last updated
This section of the documentation explains how to use the Blerify API to issue Digital Credential or ISO mDL.
Last updated
The following are the Blerify API endpoints for license issuance:
Description: This endpoint is used to create a ISO mDL format.
HTTP Method: POST
Endpoint URL: {{api-host}}/api/v1/organizations/{{organization-id}}/projects/{{project-id}}/credentials
Description: This endpoint is used to sign the ISO mDL created in the previous step.
HTTP Method: POST
Endpoint URL: {{api-host}}/api/v1/organizations/{{organization-id}}/projects/{{project-id}}/crypto/sign/es256
Description: This endpoint is used to combine the ISO mDL and the signature into a single object, which is delivered to the end user.
HTTP Method: PUT
Endpoint URL: {{api-host}}/api/v1/organizations/{{organization-id}}/projects/{{project-id}}/credentials/{{_credential_id}}/sign
The Service Account is created in the Blerify portal and the JSON file is downloaded.
A library (preferred by the client) is used to generate the access token.
The "Create" endpoint is called to create the ISO mDL, sending the access token at all times and generating it again if necessary.
The Digital Credential ID is received in the response.
The "Sign" endpoint is called using the Digital Credential ID.
The digital signature of the ISO mDL is received in the response.
The "Assemble" endpoint is called using the Digital Credential ID and the digital signature.
The complete credential object is received in the response.
This object is delivered to the end user for download to their wallet.