Retrieve Key

Overview

This endpoint allows you to retrieve details of a specific Bre-B key within the Passport API using the key's unique ID. The response includes key value, type, status, and associated entity details.

Endpoint Details

DefinitionDescription
Endpointhttps://api.paas.sandbox.co.passportfintech.com/v1/keys/:key_id
MethodGET
HeadersContent-Type: application/json, Authorization
AuthenticationAccess Token (Bearer Token)

Request Body

  • No request body

Example Request

JSON
Copy

Response Body

  • HTTP Status Code: 200 OK.
  • The response will contain the key details along with its unique identifier.

Example of Response

JSON
Copy

Common Errors and Handling

HTTP Status CodeMeaningDescription
400 Bad RequestInvalid DataRequired fields are missing or contain incorrect values.
401 UnauthorizedExpired TokenThe access token is invalid or has expired.
403 ForbiddenAccess DeniedThe request is not authorized to retrieve a Key.
500 Internal Server ErrorServer ErrorAn unexpected error occurred while retrieving the Key.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard