API Docs
API Keys
API ReferenceApi KeysList

List API Keys

Retrieve a list of all API keys for your merchant account.

GET /api_keys/:merchant_id/list

Path Parameters

ParameterTypeDescription
merchant_idstringRequired. Your merchant ID.

Request Example

curl 'https://api.v2.paychtec.com/api_keys/mer_123456/list' \  -H "api-key: admin_YOUR_ADMIN_KEY"

Response

[
  {
    "key_id": "key_1234567890",
    "name": "Production Key",
    "prefix": "snd_abc***",
    "created": "2024-01-22T10:00:00Z",
    "expiration": null
  },
  {
    "key_id": "key_0987654321",
    "name": "Test Key",
    "prefix": "snd_xyz***",
    "created": "2024-01-20T08:00:00Z",
    "expiration": "2025-01-20T08:00:00Z"
  }
]