Ga naar inhoud

Status of a credential request

GET
/issuer/requests/{id}
curl --request GET \
--url https://example.com/issuer/requests/example \
--header 'Authorization: Bearer <token>'

DCP 1.0 Credential Request Status API: a CredentialStatus, only for the holder that made the request.

id
required
string

The issuer’s id of the request (issuerPid).

A CredentialStatus message.

Media typeapplication/json

A DCP message in the OpenAPI descriptions: JSON-LD as the protocol defines it, checked by the handler (documentation only).

object

Example generated

{}

Not authenticated.

Media typeapplication/json

The body of every failed call to a management API.

object
error
required
object
code
required

Stable, machine-readable: invalid_request, unauthenticated, forbidden, not_found, conflict, upstream_unavailable, unavailable, internal, or a more specific code of the operation.

string
message
required

For people; may change between versions.

string

Example

{
"error": {
"code": "not_found",
"message": "unknown negotiation"
}
}

The request belongs to another holder.

Media typeapplication/json

The body of every failed call to a management API.

object
error
required
object
code
required

Stable, machine-readable: invalid_request, unauthenticated, forbidden, not_found, conflict, upstream_unavailable, unavailable, internal, or a more specific code of the operation.

string
message
required

For people; may change between versions.

string

Example

{
"error": {
"code": "not_found",
"message": "unknown negotiation"
}
}

Not found.

Media typeapplication/json

The body of every failed call to a management API.

object
error
required
object
code
required

Stable, machine-readable: invalid_request, unauthenticated, forbidden, not_found, conflict, upstream_unavailable, unavailable, internal, or a more specific code of the operation.

string
message
required

For people; may change between versions.

string

Example

{
"error": {
"code": "not_found",
"message": "unknown negotiation"
}
}