cURL
curl --request POST \ --url https://staging.terminal3.io/v1/vc/issuer/credentials/proof \ --header 'Content-Type: application/json' \ --header 'x-api-token: <x-api-token>' \ --data '{ "vcIdFields": {} }'
{ "data": { "holder": "<string>", "credentials": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "type": [ "<string>" ], "context": [ "<string>" ], "issuer": "<string>", "validFrom": "2023-11-07T05:31:56Z", "validUntil": "<string>", "credentialSubject": {}, "proof": { "type": "<string>", "proofPurpose": "<string>", "verificationMethod": "<string>", "created": "2023-11-07T05:31:56Z", "proofValue": "<string>", "cryptosuite": "<string>" } } ] } }
This API allows clients to generate proof based on all VCs issued by the client and subclients
date_of_birth
passport_verified
{ "vcIdFields": { "urn:uuid:c62c2ff7-934a-47ee-a680-f203197a4510": [ "/credentialSubject/date_of_birth" ], "urn:uuid:fd0ea071-c8b0-4c8d-a561-aa6a3af5f99e": [ "/credentialSubject/passport_verified" ] } }
Success
The response is of type object.
object