---
title: "Collect credential associated with the bearer token and the transaction id. This endpoint is used for deferred issuance."
method: POST
path: "/oid4vci/api/deferred_credential"
tags: ["Issuer OID4VCI API"]
---

# Collect credential associated with the bearer token and the transaction id. This endpoint is used for deferred issuance.

`POST /oid4vci/api/deferred_credential`

Issues a credential for a deferred transaction. Requires a valid bearer token and transaction details in the request body.

## Headers

- `Authorization` string, required
- `DPoP` string

## Request body

- DeferredCredentialEndpointRequest — Request to the deferred credential endpoint.
  - `transaction_id` string, uuid, required — Id received from the create credential request for the deferred flow.
  - `credential_response_encryption` CredentialResponseEncryption
    - `jwk` object, required
    - `enc` string, required

## Response `200`

Credential issued successfully

- CredentialEndpointResponse
  - `credentials` CredentialObjectDto[]
    - `credential` string — One sdjwt credential as string, if multiple credentials are issued each is wrapped in a separate CredentialObjectDto object.

## Other responses

- `202` — Credential issuance still pending — retry with the transaction_id
- `400` — Invalid request or validation error
- `401` — Unauthorized

---

[API](https://skmtc.net/swiyu/apis/issuer-service-api.md) · [All operations](https://skmtc.net/swiyu/apis/issuer-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/swiyu/issuer-service-api/revisions/3335603aa636/schema)
