cURL
curl --request POST \ --url https://staging.terminal3.io/v1/openidc/credentials/proof \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "vcIdFields": {}, "options": {} } '
{ "data": { "holder": "<string>", "credentials": [ { "@context": [ "<string>" ], "id": "<string>", "issuer": "<string>", "credentialSubject": { "id": "<string>" }, "type": [ "<string>" ], "validFrom": "<string>", "validUntil": "<string>", "proof": { "type": "<string>", "proofPurpose": "<string>", "verificationMethod": "<string>", "created": "<string>", "mandatoryPointers": [ "<string>" ], "cryptosuite": "<string>", "@context": [ "<string>" ], "revealedPointers": [ "<string>" ], "revealedIndices": [ 123 ] }, "credentialStatus": "<unknown>" } ] } }
This API lets users generate proof for Verifiers as needed.
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" ] } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Success