{"items":[{"type":"link","label":"Credential Offers API","link":"/docs/openapi/credential-offers-v1","routeSlug":"/docs/openapi/credential-offers-v1","content":{"contentType":"overview","meta":{"name":"Credential Offers API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"credential-offers-v1.json","url":"/_bundle/docs/openapi/credential-offers-v1.json?download"},{"kind":"download","label":"credential-offers-v1.yaml","url":"/_bundle/docs/openapi/credential-offers-v1.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"/_mock/docs/openapi/credential-offers-v1","description":"Mock server","isMockServer":true},{"url":"https://api.dev.deepcredentials.swiss","description":"Development"},{"url":"https://api.int.deepcredentials.swiss","description":"Integration"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Credential Offers API (1.0.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":"Create and manage credential offers.\n\nUse this API to create credential offers that can be used to issue verifiable credentials."}],"sectionId":"/docs/openapi/credential-offers-v1"}],"sectionId":"/docs/openapi/credential-offers-v1"}]}]}},{"type":"group","label":"Credential Offers","link":"/docs/openapi/credential-offers-v1/credential-offers","routeSlug":"/docs/openapi/credential-offers-v1/credential-offers","items":[{"label":"List credential offers.\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/credential-offers-v1/credential-offers/get:b2b.listcredentialoffers","routeSlug":"/docs/openapi/credential-offers-v1/credential-offers/get:b2b.listcredentialoffers","metadata":{"seo":{"title":"List credential offers.\n","description":"Returns a paginated list of credential offers for the calling service user's organization (X-Org-Id) and environment (X-Environment)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"GET:b2b.ListCredentialOffers","name":"List credential offers.\n","isWebhook":false,"pointer":"/paths/~1b2b~1v1~1credential-offers/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"List credential offers.\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns a paginated list of credential offers for the calling service user's organization (X-Org-Id) and environment (X-Environment).\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"BearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"DeepAdmin-issued Keycloak access token obtained via the OAuth 2.0\nResource Owner Password Credentials grant against the DeepCloud SSO\nrealm. See the Service Users guide for the exchange flow."}]}]},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"limit","in":"query","schemaId":"schema_56","description":"Maximum number of results to return (1-100, default 20).\n"},{"name":"offset","in":"query","schemaId":"schema_56","description":"Number of results to skip for pagination.\n"},{"name":"status","in":"query","schemaId":"schema_57","description":"Filter by offer status: pending, issued, accepted, expired, failed.\n"},{"name":"credential_definition_id","in":"query","schemaId":"schema_57","description":"Filter by credential definition ID (UUID).\n"}],"pointer":"/paths/~1b2b~1v1~1credential-offers/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-Org-Id","in":"header","schemaId":"schema_58","description":"Organization the call is acting on. The authenticated service user must be a member of this organization in DeepAdmin; otherwise the request returns 404.","required":true},{"name":"X-Environment","in":"header","schemaId":"schema_59","description":"Environment the call is scoped to. Resources are isolated per environment.","required":true}],"pointer":"/paths/~1b2b~1v1~1credential-offers/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/b2b/v1/credential-offers","servers":[{"url":"/_mock/docs/openapi/credential-offers-v1","description":"Mock server","isMockServer":true},{"url":"https://api.dev.deepcredentials.swiss","description":"Development"},{"url":"https://api.int.deepcredentials.swiss","description":"Integration"}],"parameters":{"path":[],"query":[{"name":"limit","in":"query","schemaId":"schema_56","style":"form","explode":true},{"name":"offset","in":"query","schemaId":"schema_56","style":"form","explode":true},{"name":"status","in":"query","schemaId":"schema_57","style":"form","explode":true},{"name":"credential_definition_id","in":"query","schemaId":"schema_57","style":"form","explode":true}],"querystring":[],"header":[{"name":"X-Org-Id","in":"header","required":true,"schemaId":"schema_58"},{"name":"X-Environment","in":"header","required":true,"schemaId":"schema_59"}],"cookie":[]},"security":[{"schemes":[{"id":"BearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","400","401","403","429","500"],"pointer":"/b2b/v1/credential-offers","href":"credential-offers/get:b2b.listcredentialoffers","openApiOperationId":"GET:b2b.ListCredentialOffers","summary":"List credential offers.\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/docs/openapi/credential-offers-v1","description":"Mock server","isMockServer":true},{"url":"https://api.dev.deepcredentials.swiss","description":"Development"},{"url":"https://api.int.deepcredentials.swiss","description":"Integration"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success response","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_60","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/200/content/application~1json/example"]}},"schemaId":"schema_60","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request. Common causes: missing or malformed X-Org-Id / X-Environment headers, or a missing required field in the request body.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthenticated. The Bearer token failed validation (signature, issuer, audience, or expiry).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/401/content/application~1json/example"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Permission denied. The token does not carry the scope required by this endpoint. Check the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"scope"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" claim on the token you received from the DeepCloud SSO token endpoint."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/403/content/application~1json/example"]},{"code":"429","description":"Rate limit exceeded.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/429/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/429/content/application~1json/example"]},{"code":"500","description":"Internal server error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1b2b~1v1~1credential-offers/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_60","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_60","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/200/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/403/content/application~1json/example"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/429/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/429/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/credential-offers/get:b2b.listcredentialoffers"}],"panels":[]}]},"httpPath":"/b2b/v1/credential-offers"},{"label":"Create a credential offer.\n","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/credential-offers-v1/credential-offers/post:b2b.createcredentialoffer","routeSlug":"/docs/openapi/credential-offers-v1/credential-offers/post:b2b.createcredentialoffer","metadata":{"seo":{"title":"Create a credential offer.\n","description":"Returns a deeplink and QR code for the wallet to scan. Optionally delivers the same offer out-of-band (currently: email)."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"POST:b2b.CreateCredentialOffer","name":"Create a credential offer.\n","isWebhook":false,"pointer":"/paths/~1b2b~1v1~1credential-offers/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Create a credential offer.\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns a deeplink and QR code for the wallet to scan. Optionally delivers the same offer out-of-band (currently: email).\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"BearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"DeepAdmin-issued Keycloak access token obtained via the OAuth 2.0\nResource Owner Password Credentials grant against the DeepCloud SSO\nrealm. See the Service Users guide for the exchange flow."}]}]},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-Org-Id","in":"header","schemaId":"schema_58","description":"Organization the call is acting on. The authenticated service user must be a member of this organization in DeepAdmin; otherwise the request returns 404.","required":true},{"name":"X-Environment","in":"header","schemaId":"schema_59","description":"Environment the call is scoped to. Resources are isolated per environment.","required":true}],"pointer":"/paths/~1b2b~1v1~1credential-offers/post/parameters"},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_61","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/requestBody/content/application~1json/example"]}},"schemaId":"schema_61","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/requestBody/content/application~1json/example"],"pointer":"/paths/~1b2b~1v1~1credential-offers/post/requestBody"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/b2b/v1/credential-offers","servers":[{"url":"/_mock/docs/openapi/credential-offers-v1","description":"Mock server","isMockServer":true},{"url":"https://api.dev.deepcredentials.swiss","description":"Development"},{"url":"https://api.int.deepcredentials.swiss","description":"Integration"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[{"name":"X-Org-Id","in":"header","required":true,"schemaId":"schema_58"},{"name":"X-Environment","in":"header","required":true,"schemaId":"schema_59"}],"cookie":[]},"security":[{"schemes":[{"id":"BearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"schema_61","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/requestBody/content/application~1json/example"]}},"responseCodes":["200","400","401","403","429","500"],"pointer":"/b2b/v1/credential-offers","href":"credential-offers/post:b2b.createcredentialoffer","openApiOperationId":"POST:b2b.CreateCredentialOffer","summary":"Create a credential offer.\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/docs/openapi/credential-offers-v1","description":"Mock server","isMockServer":true},{"url":"https://api.dev.deepcredentials.swiss","description":"Development"},{"url":"https://api.int.deepcredentials.swiss","description":"Integration"}],"schemaId":"schema_61","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/requestBody/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"schema_61","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/requestBody/content/application~1json/example"]}},"examples":[{}]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success response","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_62","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/200/content/application~1json/example"]}},"schemaId":"schema_62","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request. Common causes: missing or malformed X-Org-Id / X-Environment headers, or a missing required field in the request body.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthenticated. The Bearer token failed validation (signature, issuer, audience, or expiry).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/401/content/application~1json/example"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Permission denied. The token does not carry the scope required by this endpoint. Check the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"scope"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" claim on the token you received from the DeepCloud SSO token endpoint."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/403/content/application~1json/example"]},{"code":"429","description":"Rate limit exceeded.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/429/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/429/content/application~1json/example"]},{"code":"500","description":"Internal server error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1b2b~1v1~1credential-offers/post/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_62","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_62","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/200/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/403/content/application~1json/example"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/429/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/429/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers/post/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/credential-offers/post:b2b.createcredentialoffer"}],"panels":[]}]},"httpPath":"/b2b/v1/credential-offers"},{"label":"Get credential offer.\n","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/docs/openapi/credential-offers-v1/credential-offers/get:b2b.getcredentialoffer","routeSlug":"/docs/openapi/credential-offers-v1/credential-offers/get:b2b.getcredentialoffer","metadata":{"seo":{"title":"Get credential offer.\n","description":"Returns the current status of a credential offer created via POST /b2b/v1/credential-offers. Poll this endpoint until the status is no longer `pending`."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"GET:b2b.GetCredentialOffer","name":"Get credential offer.\n","isWebhook":false,"pointer":"/paths/~1b2b~1v1~1credential-offers~1{offerId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Get credential offer.\n","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Returns the current status of a credential offer created via POST /b2b/v1/credential-offers. Poll this endpoint until the status is no longer `pending`."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"BearerAuth","scopes":[],"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"DeepAdmin-issued Keycloak access token obtained via the OAuth 2.0\nResource Owner Password Credentials grant against the DeepCloud SSO\nrealm. See the Service Users guide for the exchange flow."}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"offerId","in":"path","schemaId":"schema_58","required":true}],"pointer":"/paths/~1b2b~1v1~1credential-offers~1{offerId}/get/parameters"},{"nodeType":"item-content","variant":"headers","label":"Headers","labelTranslationKey":"header","parameters":[{"name":"X-Org-Id","in":"header","schemaId":"schema_58","description":"Organization the call is acting on. The authenticated service user must be a member of this organization in DeepAdmin; otherwise the request returns 404.","required":true},{"name":"X-Environment","in":"header","schemaId":"schema_59","description":"Environment the call is scoped to. Resources are isolated per environment.","required":true}],"pointer":"/paths/~1b2b~1v1~1credential-offers~1{offerId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/b2b/v1/credential-offers/{offerId}","servers":[{"url":"/_mock/docs/openapi/credential-offers-v1","description":"Mock server","isMockServer":true},{"url":"https://api.dev.deepcredentials.swiss","description":"Development"},{"url":"https://api.int.deepcredentials.swiss","description":"Integration"}],"parameters":{"path":[{"name":"offerId","in":"path","required":true,"schemaId":"schema_58","style":"simple","explode":false}],"query":[],"querystring":[],"header":[{"name":"X-Org-Id","in":"header","required":true,"schemaId":"schema_58"},{"name":"X-Environment","in":"header","required":true,"schemaId":"schema_59"}],"cookie":[]},"security":[{"schemes":[{"id":"BearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT"}],"scopes":[]}],"responseCodes":["200","400","401","403","404","429","500"],"pointer":"/b2b/v1/credential-offers/{offerId}","href":"credential-offers/get:b2b.getcredentialoffer","openApiOperationId":"GET:b2b.GetCredentialOffer","summary":"Get credential offer.\n"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"/_mock/docs/openapi/credential-offers-v1","description":"Mock server","isMockServer":true},{"url":"https://api.dev.deepcredentials.swiss","description":"Development"},{"url":"https://api.int.deepcredentials.swiss","description":"Integration"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success response","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/b2b.b2bOfferResponse","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/200/content/application~1json/example"]}},"schemaId":"components/schemas/b2b.b2bOfferResponse","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/200/content/application~1json/example"]},{"code":"400","description":"Invalid request. Common causes: missing or malformed X-Org-Id / X-Environment headers, or a missing required field in the request body.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/400/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/400/content/application~1json/example"]},{"code":"401","description":"Unauthenticated. The Bearer token failed validation (signature, issuer, audience, or expiry).","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/401/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/401/content/application~1json/example"]},{"code":"403","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Permission denied. The token does not carry the scope required by this endpoint. Check the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"scope"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" claim on the token you received from the DeepCloud SSO token endpoint."},"children":[]}]}]}],"mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/403/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/403/content/application~1json/example"]},{"code":"404","description":"Resource not found. Either the resource ID is unknown, or the X-Org-Id you supplied is not an organization the authenticated service user is a member of.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/404/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/404/content/application~1json/example"]},{"code":"429","description":"Rate limit exceeded.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/429/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/429/content/application~1json/example"]},{"code":"500","description":"Internal server error.","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/500/content/application~1json/example"]}},"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/500/content/application~1json/example"]}],"pointer":"/paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"components/schemas/b2b.b2bOfferResponse","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/200/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/b2b.b2bOfferResponse","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/200/content/application~1json/example"]}}},{"code":"400","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/400/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/400/content/application~1json/example"]}}},{"code":"401","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/401/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/401/content/application~1json/example"]}}},{"code":"403","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/403/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/403/content/application~1json/example"]}}},{"code":"404","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/404/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/404/content/application~1json/example"]}}},{"code":"429","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/429/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/429/content/application~1json/example"]}}},{"code":"500","schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/500/content/application~1json/example"],"mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/Error","exampleIds":["paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/500/content/application~1json/example"]}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/credential-offers/get:b2b.getcredentialoffer"}],"panels":[]}]},"httpPath":"/b2b/v1/credential-offers/{offerId}"}],"content":{"contentType":"group","meta":{"name":"Credential Offers"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Credential Offers","showPageActions":true},{"nodeType":"markdoc","content":"Create and manage credential offers."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/b2b/v1/credential-offers","summary":"List credential offers.\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/credential-offers/get:b2b.listcredentialoffers","deprecated":false},{"title":"/b2b/v1/credential-offers","summary":"Create a credential offer.\n","prefix":{"name":"post","color":"post"},"badges":[],"link":"/credential-offers/post:b2b.createcredentialoffer","deprecated":false},{"title":"/b2b/v1/credential-offers/{offerId}","summary":"Get credential offer.\n","prefix":{"name":"get","color":"get"},"badges":[],"link":"/credential-offers/get:b2b.getcredentialoffer","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/Error":{"id":"components/schemas/Error","kind":"json-schema","title":"Error","data":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","description":"Machine-readable error code."},"message":{"type":"string","description":"Human-readable error description."},"details":{"type":"object","description":"Optional structured data with additional context."}}}},"components/schemas/b2b.b2bOfferResponse":{"id":"components/schemas/b2b.b2bOfferResponse","kind":"json-schema","title":"b2b.b2bOfferResponse","data":{"properties":{"claims":{"description":"Claim values for the credential.","type":"object"},"completed_at":{"format":"date-time","description":"Set when the offer leaves pending (issued, failed, or expired).","type":"string"},"created_at":{"format":"date-time","description":"When the offer was created (RFC3339).","type":"string"},"credential_definition":{"allOf":[{"$ref":"#/components/schemas/b2b.credentialDefinitionRef"}],"description":"Credential definition reference."},"credential_validity_seconds":{"format":"int64","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Credential lifetime to apply at issuance (SD-JWT exp = iat + N). Absent means the credential will be issued without an exp claim."},"children":[]}]}]}],"type":"integer"},"deeplink":{"description":"Only when status is pending: OID4VCI wallet deep link.","type":"string"},"environment":{"description":"Swiyu environment: \"beta\" or \"production\".","type":"string"},"error_code":{"description":"Machine-readable failure reason when status is failed or expired.","type":"string"},"error_description":{"description":"Human-readable error detail when status is failed or expired.","type":"string"},"expires_at":{"format":"date-time","description":"When a pending offer expires if not completed (RFC3339).","type":"string"},"id":{"type":"string","format":"uuid","example":"550e8400-e29b-41d4-a716-446655440000","description":"Offer id (matches the value returned at creation time). UUID v4 identifier."},"invitation_id":{"type":"string","format":"uuid","example":"550e8400-e29b-41d4-a716-446655440000","description":"InvitationID / SelfServiceRequestID expose the upstream lineage anchors when this offer was created from one. nil for plain portal or B2B offers."},"issued_credential_id":{"type":"string","format":"uuid","example":"550e8400-e29b-41d4-a716-446655440000","description":"Only when status is issued: ID of the issued credential. UUID v4 identifier."},"qr_content_base64":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Only when status is pending: Base64-encoded PNG QR code (240×240 px)."},"children":[]}]}]}],"type":"string"},"reference_id":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Your reference_id from the create request, if any."},"children":[]}]}]}],"type":"string"},"self_service_request_id":{"type":"string","format":"uuid","description":"UUID v4 identifier.","example":"550e8400-e29b-41d4-a716-446655440000"},"source":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Source records where this offer originated: \"portal\" (admin UI), \"b2b\" (API caller), \"invitation\" (redeemed email invitation), or \"self_service\" (admin approval of a public request). Stable at row level — captured at create and never mutated."},"children":[]}]}]}],"type":"string"},"status":{"allOf":[{"$ref":"#/components/schemas/issuer.OfferStatus"}],"description":"Current lifecycle state of the offer."}},"required":["id","environment","credential_definition","status","claims","expires_at","created_at","source"],"description":"The full detail of a credential offer.","type":"object"}},"components/schemas/b2b.credentialDefinitionRef":{"id":"components/schemas/b2b.credentialDefinitionRef","kind":"json-schema","title":"b2b.credentialDefinitionRef","data":{"properties":{"has_logo":{"description":"Whether the credential definition currently has an uploaded logo.","type":"boolean"},"id":{"type":"string","format":"uuid","example":"550e8400-e29b-41d4-a716-446655440000","description":"Credential definition UUID. UUID v4 identifier."},"name":{"description":"Human-readable credential definition name.","type":"string"},"vct":{"description":"Verifiable credential type (e.g. \"urn:ietf:params:oauth:vct:PersonId\").","type":"string"}},"required":["id","vct","name","has_logo"],"description":"A compact reference to the credential definition.","type":"object"}},"components/schemas/b2b.DeliverySpec":{"id":"components/schemas/b2b.DeliverySpec","kind":"json-schema","title":"b2b.DeliverySpec","data":{"properties":{"email":{"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Email recipient, required when via=email."},"children":[]}]}]}],"type":"string"},"via":{"description":"\"email\" is the only accepted value today; any other value rejects.","type":"string"}},"required":["via","email"],"description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"DeliverySpec selects an out-of-band delivery method for a freshly-created credential offer. Today only `via=email` is supported; future modes (sms, push) slot in here without changing the endpoint signature. Email is validated up-front so a bad input fails before we spend the work of creating the offer."},"children":[]}]}]}],"type":"object"}},"components/schemas/issuer.OfferStatus":{"id":"components/schemas/issuer.OfferStatus","kind":"json-schema","title":"issuer.OfferStatus","data":{"type":"string","enum":["pending","issued","accepted","expired","failed"],"description":"Lifecycle state of a credential offer."}},"schema_56":{"kind":"json-schema","data":{"format":"int64","type":"integer"},"id":"schema_56"},"schema_57":{"kind":"json-schema","data":{"type":"string"},"id":"schema_57"},"schema_58":{"kind":"json-schema","data":{"type":"string","format":"uuid"},"id":"schema_58"},"schema_59":{"kind":"json-schema","data":{"type":"string","enum":["beta","production"]},"id":"schema_59"},"schema_60":{"kind":"json-schema","data":{"properties":{"offers":{"items":{"$ref":"#/components/schemas/b2b.b2bOfferResponse"},"description":"Page of offers matching the list filters.","type":"array"},"total":{"format":"int64","description":"Total count matching filters (for pagination UI).","type":"integer"}},"required":["offers","total"],"type":"object"},"id":"schema_60"},"schema_61":{"kind":"json-schema","data":{"properties":{"claims":{"description":"Claim values for the credential. Key-value object of claim data for the credential. Keys must match the claim names defined in the credential definition, and values must match the expected types (string, boolean, integer, number). All mandatory claims from the credential definition must be provided.","type":"object"},"credential_definition_id":{"format":"uuid","description":"Credential definition to issue (UUID from the tenant's credential definition\ncatalog).","type":"string"},"delivery":{"$ref":"#/components/schemas/b2b.DeliverySpec"},"offer_validity_seconds":{"format":"int64","description":"Optional offer validity in seconds (default 600). This is the TTL of the QR/deeplink window before the wallet has to pick up the offer, not the lifetime of the credential itself.","type":"integer"},"reference_id":{"description":"Optional correlation identifier from your system; echoed on the resource.","type":"string"},"validity_seconds":{"format":"int64","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Optional credential lifetime in seconds (SD-JWT \"exp\" = iat + N). Omit to fall back to the credential definition's default_validity_seconds; when both are absent the credential is issued without an exp claim (never expires). Bounded by [60, 10 years]."},"children":[]}]}]}],"type":"integer"}},"required":["credential_definition_id","claims"],"type":"object"},"id":"schema_61"},"schema_62":{"kind":"json-schema","data":{"properties":{"claims":{"description":"Claim values for the credential (echoed from the request).","type":"object"},"created_at":{"format":"date-time","description":"When the offer was created (RFC3339).","type":"string"},"deeplink":{"description":"OID4VCI wallet deep link (e.g. openid-credential-offer://...).","type":"string"},"expires_at":{"format":"date-time","description":"Offer TTL deadline (RFC3339).","type":"string"},"id":{"type":"string","format":"uuid","description":"UUID v4 identifier.","example":"550e8400-e29b-41d4-a716-446655440000"},"qr_content_base64":{"description":"Base64-encoded PNG; QR payload is the same URI as deeplink.","type":"string"},"status":{"$ref":"#/components/schemas/issuer.OfferStatus"}},"required":["id","status","deeplink","qr_content_base64","claims","expires_at","created_at"],"type":"object"},"id":"schema_62"}},"exampleStore":{"paths/~1b2b~1v1~1credential-offers/get/responses/200/content/application~1json/example":{"value":{"offers":[{"id":"d4e5f6a7-b8c9-0123-4567-89abcdef0123","environment":"beta","credential_definition":{"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","vct":"person-id-vct","name":"Person ID"},"status":"issued","claims":{"given_name":"Max","family_name":"Mustermann","date_of_birth":"1990-01-15","is_over_18":true},"reference_id":"order-12345","issued_credential_id":"f1e2d3c4-b5a6-7890-1234-567890abcdef","expires_at":"2026-03-29T12:10:00Z","created_at":"2026-03-29T12:00:00Z","completed_at":"2026-03-29T12:01:30Z"},{"id":"e5f6a7b8-c9d0-1234-5678-9abcdef01234","environment":"beta","credential_definition":{"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","vct":"person-id-vct","name":"Person ID"},"status":"pending","deeplink":"openid-credential-offer://...","qr_content_base64":"iVBORw0KGgo...","claims":{"given_name":"Anna","family_name":"Schmidt","date_of_birth":"1985-07-22","is_over_18":true},"expires_at":"2026-03-29T12:30:00Z","created_at":"2026-03-29T12:20:00Z"}],"total":2},"id":"paths/~1b2b~1v1~1credential-offers/get/responses/200/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/get/responses/400/content/application~1json/example":{"value":{"code":"invalid_argument","message":"X-Org-Id header is required."},"id":"paths/~1b2b~1v1~1credential-offers/get/responses/400/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/get/responses/401/content/application~1json/example":{"value":{"code":"unauthenticated","message":"Missing or invalid Bearer token."},"id":"paths/~1b2b~1v1~1credential-offers/get/responses/401/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/get/responses/403/content/application~1json/example":{"value":{"code":"permission_denied","message":"Token lacks the required scope."},"id":"paths/~1b2b~1v1~1credential-offers/get/responses/403/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/get/responses/429/content/application~1json/example":{"value":{"code":"resource_exhausted","message":"Rate limit exceeded. Retry with backoff."},"id":"paths/~1b2b~1v1~1credential-offers/get/responses/429/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/get/responses/500/content/application~1json/example":{"value":{"code":"internal","message":"An unexpected error occurred."},"id":"paths/~1b2b~1v1~1credential-offers/get/responses/500/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/post/requestBody/content/application~1json/example":{"value":{"credential_definition_id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","claims":{"given_name":"Max","family_name":"Mustermann","date_of_birth":"1990-01-15","is_over_18":true},"reference_id":"order-12345","offer_validity_seconds":600},"id":"paths/~1b2b~1v1~1credential-offers/post/requestBody/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/post/responses/200/content/application~1json/example":{"value":{"id":"d4e5f6a7-b8c9-0123-4567-89abcdef0123","status":"pending","deeplink":"openid-credential-offer://credential_offer?credential_issuer=https%3A%2F%2Fapi.dev.deepcredentials.swiss%2Foid4vci%2F550e8400-e29b-41d4-a716-446655440000%2Fbeta&credential_configuration_ids=PersonId&grants=%7B%22urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Apre-authorized_code%22%3A%7B%22pre-authorized_code%22%3A%22abc123%22%7D%7D","qr_content_base64":"iVBORw0KGgo...","claims":{"given_name":"Max","family_name":"Mustermann","date_of_birth":"1990-01-15","is_over_18":true},"expires_at":"2026-03-29T12:10:00Z","created_at":"2026-03-29T12:00:00Z"},"id":"paths/~1b2b~1v1~1credential-offers/post/responses/200/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/post/responses/400/content/application~1json/example":{"value":{"code":"invalid_argument","message":"X-Org-Id header is required."},"id":"paths/~1b2b~1v1~1credential-offers/post/responses/400/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/post/responses/401/content/application~1json/example":{"value":{"code":"unauthenticated","message":"Missing or invalid Bearer token."},"id":"paths/~1b2b~1v1~1credential-offers/post/responses/401/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/post/responses/403/content/application~1json/example":{"value":{"code":"permission_denied","message":"Token lacks the required scope."},"id":"paths/~1b2b~1v1~1credential-offers/post/responses/403/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/post/responses/429/content/application~1json/example":{"value":{"code":"resource_exhausted","message":"Rate limit exceeded. Retry with backoff."},"id":"paths/~1b2b~1v1~1credential-offers/post/responses/429/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers/post/responses/500/content/application~1json/example":{"value":{"code":"internal","message":"An unexpected error occurred."},"id":"paths/~1b2b~1v1~1credential-offers/post/responses/500/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/200/content/application~1json/example":{"value":{"id":"d4e5f6a7-b8c9-0123-4567-89abcdef0123","environment":"beta","credential_definition":{"id":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","vct":"person-id-vct","name":"Person ID"},"status":"issued","claims":{"given_name":"Max","family_name":"Mustermann","date_of_birth":"1990-01-15","is_over_18":true},"reference_id":"order-12345","issued_credential_id":"f1e2d3c4-b5a6-7890-1234-567890abcdef","expires_at":"2026-03-29T12:10:00Z","created_at":"2026-03-29T12:00:00Z","completed_at":"2026-03-29T12:01:30Z"},"id":"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/200/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/400/content/application~1json/example":{"value":{"code":"invalid_argument","message":"X-Org-Id header is required."},"id":"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/400/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/401/content/application~1json/example":{"value":{"code":"unauthenticated","message":"Missing or invalid Bearer token."},"id":"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/401/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/403/content/application~1json/example":{"value":{"code":"permission_denied","message":"Token lacks the required scope."},"id":"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/403/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/404/content/application~1json/example":{"value":{"code":"not_found","message":"Resource not found."},"id":"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/404/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/429/content/application~1json/example":{"value":{"code":"resource_exhausted","message":"Rate limit exceeded. Retry with backoff."},"id":"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/429/content/application~1json/example"},"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/500/content/application~1json/example":{"value":{"code":"internal","message":"An unexpected error occurred."},"id":"paths/~1b2b~1v1~1credential-offers~1{offerId}/get/responses/500/content/application~1json/example"}},"securitySchemeStore":{"BearerAuth":{"id":"BearerAuth","type":"http","scheme":"bearer","bearerFormat":"JWT","description":"DeepAdmin-issued Keycloak access token obtained via the OAuth 2.0\nResource Owner Password Credentials grant against the DeepCloud SSO\nrealm. See the Service Users guide for the exchange flow."}},"servers":[{"url":"/_mock/docs/openapi/credential-offers-v1","isMockServer":true,"description":"Mock server"},{"url":"https://api.dev.deepcredentials.swiss","description":"Development"},{"url":"https://api.int.deepcredentials.swiss","description":"Integration"}]},"options":{"hideSidebar":true,"mockServer":{"url":"/_mock/docs/openapi/credential-offers-v1","position":"first","description":"Mock server"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/docs/openapi/credential-offers-v1.json?download"},{"url":"/_bundle/docs/openapi/credential-offers-v1.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Credential Offers API","description":"Create and manage credential offers"}},"baseSlug":"/docs/openapi/credential-offers-v1","routesMapping":{}}