Issuing the credential

To issue a credential use the dynamic QR code functionality and the third party attribute extension:

Javascript
Java
PHP
Python
C#
Go
Ruby
Copy
ParameterDescription
withDefinition()This value will be your credential name “com.example.someAttribute”
withExpiryDate()

The expired date indicates by when the credential should be issued by. If the credential is not issued by that time, the issuance request will be automatically cancelled.

It conforms to RFC3339 (e.g.: 2006-01-02T22:04:05.123Z)

Dynamic policyThis is where you define all your Attributes explained you wish to retrieve from the user. You may set source constraints to ensure only an individual can only share data from a particular document. The soft preference set to 'false' will ensure this is enforced. Please head over to the Create button dynamic QR code section for more details on this.
Dynamic scenarioBuild the scenario with the third-party extension request and share policy request.

Get credential issuance details

The credential issuance details will include an issuance token.

Note..
This should be stored as part of the customer record as this will be required for issuing the credential and revoking / updating the credential in the future.
Javascript
Java
PHP
Python
C#
Go
Ruby
Copy

Request for credential to be issued

The credential value is now ready to be issued to the Yoti user which is the schema of the credential. You will need to provide the issuance token, the name and the payload below.

Javascript
Java
PHP
Python
C#
Go
Ruby
Javascript
Copy

The user will now have the credential.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard