Create credential resource.
Wallet - Credentials
Create credential resource.
POST
Create credential resource.
Documentation Index
Fetch the complete documentation index at: https://docs.yoid.me/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
cred offer
Response
201 - application/json
List of credentials.
- Option 1
- Option 2
Unique identifier for the credential
Example:
"123e4567-e89b-12d3-a456-426614174000"
Key-value pairs containing the credential claims
Example:
{
"firstName": "John",
"lastName": "Doe",
"age": 34,
"isVerified": true,
"dateOfBirth": "1990-06-15",
"address": {
"street": "123 Main St",
"city": "Cape Town",
"country": "ZA"
},
"phoneNumbers": ["+27821234567", "+27831234567"]
}Timestamp when the credential was issued (ISO 8601 format)
Example:
"2024-03-15T10:30:00Z"
Current consent status of the credential
Available options:
pending, accepted, rejected Example:
"accepted"
Credential format
Available options:
vc+sd-jwt Example:
"vc+sd-jwt"
Verifiable Credential Type identifying the schema of the credential
Required string length:
1 - 256Example:
"VerifiableId"
Issuer identifier — DID for SD-JWT credentials, X.509 DN for mdoc credentials
Required string length:
1 - 512Example:
"did:example:123456789abcdefghi"

