...
preFilledCredentials
- array of Pre-filled Credential structures
This section is used when the interaction contains Self-Attested credentials that should be pre-filled from QR/Web-link e.g. Session ID or User ID to match your user with the credentials shared by ProofSpace App user and received by your backend via webhook.Code Block language json { credentialId: '<YOUR_CREDENTIAL_ID>', attributes: [ {name: '<Attribute1 name>', value: '<Attribute1 value>'}, {name: '<Attribute2 name>', value: '<Attribute2 value>'}, // ... other pre-filled attributes ] }
Info |
---|
Note: the fields attribute values in WebhookCredentialValuesDTO[ ] should all be string. According to the attribute type, which is set in the credential schema, values should be set to: Actual value types will be casted on credential issue attribute display in the app according to the credential schema attribute types. |
...