Create Credential Request
Integrators can use this endpoint to initiate a credential request. The request includes issuance ID, credential type ID, payload, recipient's email, callback URL, language preference, and details for identity verification, such as type and requested information.
Request Body — REQUIRED | |||||||
---|---|---|---|---|---|---|---|
issuanceId string — REQUIREDID of credential issuing process. Can be random in order to not coincide with other issuing processes. | |||||||
credentialTypeId string — REQUIREDCredential type ID | |||||||
payload object — REQUIREDThe content of the credentialSubject. This payload must comply with the same data structure of the credentialType of the credential that is being issued. Note that if there's an id field in the credentialSubject, this id has to be the did of the subject of the credential, following the W3C standard. | |||||||
email string — REQUIREDThe email of the recipient of the credential | |||||||
callbackUrl string — REQUIREDURL where the credential request creation data will be sent (Not implemented) | |||||||
language string — REQUIREDThe language in which the user will receive the email to accept and receive the credential | |||||||
entityDid stringThe did of the entity issuing the credential | |||||||
identityVerificationMethod object — REQUIRED
|
Responses |
---|
201 Credential Request created successfully |