DPP
Build a signed Verifiable Credential (self-hosted certificate)
Builds and signs the exact W3C Verifiable Credential the platform would otherwise upload to IPFS for the given passport content — without persisting or anchoring anything. The issuer hosts the returned credential at their own https URL and passes it back as certificateUri on create/update, enabling a deletable (self-hosted) certificate. Send the SAME product/data/certifiedPaths you will send to create, so the on-chain content hash matches the hosted credential. Signed with the active certification key of the organization.
post/v1/dpp/passports/build-vc
Request
- Base URL: https://api.prod.keyban.io
- URL: https://api.prod.keyban.io/v1/dpp/passports/build-vc
- Auth: API key in header X-Api-Key
Request body
Example request
{
"network": "BaseMainnet",
"status": "published",
"webPageUrl": "https://brand.example.com/products/hiking-boots",
"product": {
"name": "Trail Runner Hiking Boots",
"description": "Waterproof hiking boots with reinforced ankle support, built for multi-day treks.",
"modelNumber": "TRB-2400",
"batchNumber": "LOT-2026-03-A",
"itemNumber": "SN-000482913",
"productImage": {
"linkURL": "https://brand.example.com/products/hiking-boots/front.jpg",
"linkName": "Front view",
"digestMultibase": "zQmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG",
"mediaType": "image/jpeg",
"linkType": "productImage"
},
"productCategory": [
{
"code": "6402.91",
"name": "Waterproof footwear covering the ankle",
"schemeID": "https://vocabulary.uncefact.org/CPC",
"schemeName": "CPC"
}
],
"relatedDocument": [
{
"linkURL": "https://brand.example.com/docs/care-instructions.pdf",
"linkName": "Care instructions",
"mediaType": "application/pdf"
}
],
"relatedParty": [
{
"role": "manufacturer",
"party": {
"id": "https://id.gs1.org/414/1234567890128",
"name": "Acme Corp"
}
}
],
"producedAtFacility": {
"id": "https://id.gs1.org/414/1234567890128",
"name": "Acme Corp — Lyon Plant",
"registeredId": "3760123450016"
},
"countryOfProduction": {
"countryCode": "FR",
"countryName": "France"
},
"dimensions": {
"weight": {
"value": 1.2,
"unit": "GRM"
},
"length": {
"value": 1.2,
"unit": "MTR"
},
"width": {
"value": 1.2,
"unit": "MTR"
},
"height": {
"value": 1.2,
"unit": "MTR"
},
"volume": {
"value": 1.2,
"unit": "STL"
}
},
"materialProvenance": [
{
"name": "Full-grain leather",
"originCountry": {
"countryCode": "IT"
},
"materialType": {
"code": "291000",
"name": "Leather",
"schemeID": "https://vocabulary.uncefact.org/CPC",
"schemeName": "CPC"
},
"massFraction": 0.6
}
],
"packaging": {
"description": "Recycled cardboard box with a paper honeycomb inner liner.",
"dimensions": {
"weight": {
"value": 1.2,
"unit": "GRM"
},
"length": {
"value": 1.2,
"unit": "MTR"
},
"width": {
"value": 1.2,
"unit": "MTR"
},
"height": {
"value": 1.2,
"unit": "MTR"
},
"volume": {
"value": 1.2,
"unit": "STL"
}
},
"materialUsed": [
{
"name": "Recycled cardboard",
"originCountry": {
"countryCode": "FR"
},
"materialType": {
"code": "481910",
"name": "Corrugated paper board",
"schemeID": "https://vocabulary.uncefact.org/CPC",
"schemeName": "CPC"
},
"massFraction": 0.95
}
],
"performanceClaim": [
{
"claimedPerformance": [
{
"measure": {
"value": 1.2,
"unit": "KGM"
}
}
],
"evidence": [
{
"linkURL": "https://brand.example.com/products/hiking-boots/front.jpg",
"linkName": "Front view",
"digestMultibase": "zQmYwAPJzv5CZsnA625s3Xf2nemtYgPpHdWEz79ojWnPbdG",
"mediaType": "image/jpeg",
"linkType": "productImage"
}
]
}
]
},
"productLabel": [
{
"name": "CE marking",
"imageData": "https://brand.example.com/labels/ce-mark.png",
"mediaType": "image/png"
}
],
"performanceClaim": [
{
"id": "https://brand.example.com/claims/waterproof-2026",
"name": "Waterproof rating IPX7",
"referenceCriteria": [
{
"id": "https://vocabulary.uncefact.org/criteria/ipx7",
"name": "IPX7 immersion test"
}
],
"claimDate": "2026-01-15",
"claimedPerformance": [
{
"metric": {
"id": "https://example.org/metrics/water-resistance",
"name": "Water resistance"
},
"measure": {
"value": 1,
"unit": "MTR"
},
"score": {
"code": "IPX7"
}
}
],
"conformityTopic": [
{
"id": "https://vocabulary.uncefact.org/conformity/environmental",
"name": "Environmental"
}
]
}
]
},
"actions": [
{
"type": "circularity",
"url": "https://example.com/authenticity-proof",
"label": {
"en-US": "Verify authenticity",
"fr-FR": "Vérifier l'authenticité"
},
"description": {
"en-US": "Verify authenticity",
"fr-FR": "Vérifier l'authenticité"
},
"icon": "recycle"
}
],
"certificateUri": "https://certs.example.com/dpp/550e8400.jsonld",
"certificateSignature": "z3FXQjecWufY46yg5abdVZsXqLhxhueuSoGgQRDH8z3Rn...",
"certifiedPaths": [
"brand",
"gtin",
"manufacturer.name"
],
"contentHash": "0x94b7e2c1a9f04d3e8b16c5a2d90e7f4815263748a5b6c7d8e9f0a1b2c3d4e5f6"
}Response
Signed Verifiable Credential (JSON-LD)
Changes
No recorded changes to this operation across all 1 revision of this API.