List Keys

Overview

This endpoint allows you to retrieve a list of all Bre-B key associated with your customers within the Passport API. The response includes key value, type, status, and associated entity details.

Endpoint Details

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

Query Parameters

Pagination Parameters

ParameterDescription
page_params.page_sizeNumber of records to return per page.
page_params.page_numberPage number to retrieve.
page_params.first_request_timestamp.secondsUTC seconds since Unix epoch (1970-01-01T00:00:00Z). Must be between 0001-01-01T00:00:00Z and 9999-12-31T23:59:59Z (inclusive).
page_params.first_request_timestamp.nanosNanosecond fraction (0 to 999,999,999). Must be a non-negative value and represents fractional seconds at nanosecond resolution.

Ordering Parameters

ParameterDescription
order_params.order_keyField used to sort the results.
order_params.order_directionSort direction. Allowed values: ORDER_DIRECTION_ENUM_UNSPECIFIED, ASC, DESC.

Key Filters

ParameterDescription
customer_idFilters by the customer identifier associated with the key.
account_idFilters by the account identifier associated with the key.
key_typeFilters by key type.
key_idFilters by the unique key identifier.
statusFilters by key status (for example, active or suspended)
key_valueFilters by the key value.

Request Body

  • No request body

Example Request

JSON
Copy

Response Body

  • HTTP Status Code: 200 OK.
  • The response will contain the list of keys, along with its unique identifiers and details.

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 list the Keys.
500 Internal Server ErrorServer ErrorAn unexpected error occurred sending the request.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard