---
title: "Get credential"
method: GET
path: "/rest/accesses/{access-id}/credentials/{credential-id}"
tags: ["Accesses"]
---

# Get credential

`GET /rest/accesses/{access-id}/credentials/{credential-id}`

Retrieve the details of a specific credential of a provider access identified by its ID.

## Path parameters

- `credential-id` string, UUID, required — UUID of the credential.

## Parameters

- `#/paths/~1rest~1accesses~1%7Baccess-id%7D/get/parameters/0` — unresolved $ref
- `#/paths/~1catalog/get/parameters/0` — unresolved $ref

## Response `200`

Credential details.

- object — Customer credentials attached to the access.
  - `id` Schema, required — unresolved $ref
  - `type` 'BASIC' | 'CONSENT' | 'OAUTH', required — Type of the credential. * BASIC: username/password pair * CONSENT: PSD2 consent configuration as confirmed by the bank * OAUTH: OAuth2 token
  - `status` 'ACTIVE' | 'REVOKED' | 'EXPIRED' | 'PENDING', required — Validity status of the credential.
  - `config` Consent — unresolved $ref
  - `created_at` EndedAt, required — unresolved $ref
  - `expires_at` EndedAt — unresolved $ref
  - `revoked_at` EndedAt — unresolved $ref

## Other responses

- `401` — unresolved $ref
- `404` — unresolved $ref

---

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