GET
/
api_keys
/
{merchant_id}
/
list
curl --request GET \
  --url https://sandbox.hyperswitch.io/api_keys/{merchant_id}/list \
  --header 'api-key: <api-key>'
[
  {
    "key_id": "5hEEqkgJUyuxgSKGArHA4mWSnX",
    "merchant_id": "y3oqhf46pyzuxjbcn2giaqnb44",
    "name": "Sandbox integration key",
    "description": "Key used by our developers to integrate with the sandbox environment",
    "prefix": "<string>",
    "created": "2022-09-10T10:11:12Z",
    "expiration": "never"
  }
]

Authorizations

api-key
string
header
required

Admin API keys allow you to perform some privileged actions such as creating a merchant account and Merchant Connector account.

Path Parameters

merchant_id
string
required

The unique identifier for the merchant account

Query Parameters

limit
integer | null

The maximum number of API Keys to include in the response

skip
integer | null

The number of API Keys to skip when retrieving the list of API keys.

Response

200 - application/json
List of API Keys retrieved successfully
key_id
string
required

The identifier for the API Key.

Maximum length: 64
merchant_id
string
required

The identifier for the Merchant Account.

Maximum length: 64
name
string
required

The unique name for the API Key to help you identify it.

Maximum length: 64
prefix
string
required

The first few characters of the plaintext API Key to help you identify it.

Maximum length: 64
created
string
required

The time at which the API Key was created.

expiration
required
Available options:
never
description
string | null

The description to provide more context about the API Key.

Maximum length: 256