Issue an ATP Credential
The Create Credential API creates a verifiable credential in response to an onboarding request launched by a trading partner user. The API can be used by the Credential Issuer to provide CARO with the created credentials.
Please see Using a Token for a detailed description of how to authenticate yourself with our API.
Note that bearer tokens have a validity of 24 h. Please reuse each token until its expiry.
The Issuer DID is assigned to your Service Provider Account when you get access to CARO. You do not need to specify your DID in any interactions with CARO.
|ID of the issued credential||string||✅|
|Type of the issued credential||enum(string) | IdentityCredential OR DSCSAATPCredential||✅|
|CredentialStatus URL in LDAP format||string||✅|
|The DID that will receive and hold the credential||string||✅|
|The json of Credential Data||json||✅|
|Custom expiration date (default: 1 year)||string (ISO 8601 format)||❌|
|Custom issuance date (default: current date)||string (ISO 8601 format)||❌|
Issuance Date parameter will only be used to issue credentials that will become valid in the future. You do not need to use this parameter if you are issuing a credential that needs to valid from the present time onwards.
|The name of the credential issuer||string||✅|
|The legal name of the organization||string||✅|
|The street address of the organization||string||✅|
|The address locality of the organization||string||✅|
|The address region of the organization||string||✅|
|The postal code of the organization||string||✅|
|The address country of the organization||string||✅|
|The name of the parent organization||string||🟡 | If type is IdentityCredential|
|The type of organization||string||🟡 | If type is DSCSAATPCredential|
|The identifier DID that the credential is issued to||string||🟡 | If type is DSCSAATPCredential|
Example request body
"credentialId" : "urn:uuid:31ec4c88-56f4-420d-a525-aba23a59af5d",
"issuerName": "Example Company",
"legalName": "ABC Limited",
"streetAddress": "Plot A, Street B, Area C",
"identifier": "Some reasonable Identifier",