API Docs
API Keys
API ReferenceApi KeysRetrieve

Retrieve API Key

Retrieve details of an existing API key.

GET /api_keys/:merchant_id/:key_id

Path Parameters

ParameterTypeDescription
merchant_idstringRequired. Your merchant ID.
key_idstringRequired. The ID of the API key.

Request Example

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

Response

{
  "key_id": "key_1234567890",
  "merchant_id": "mer_123456",
  "name": "Production Key",
  "description": "Main production API key",
  "prefix": "snd_abc***",
  "created": "2024-01-22T10:00:00Z",
  "expiration": null
}