> ## Documentation Index
> Fetch the complete documentation index at: https://developers.pcibooking.net/llms.txt
> Use this file to discover all available pages before exploring further.

# List Payment Gateway Credentials

> Retrieve a list of all stored payment gateway credentials.

<Card title="Gateway Credentials Guide" icon="book" href="/account-setup/gateway-credentials">
  Store and manage payment gateway credentials
</Card>

Returns all credential set IDs stored in your PCI Booking account. Use this to see which payment gateway credentials you have on file, for example before creating a token replacement request or when auditing your stored credential sets.

## Error Responses

| Code    | HTTP Status | Condition                      |
| ------- | ----------- | ------------------------------ |
| `-1003` | `401`       | API key is missing or invalid. |
| `-1003` | `401`       | User type is not `Booker`.     |
| `-125`  | `400`       | Bad input data.                |

## Parameters

### Headers

<ParamField header="Authorization" type="string" required>
  Your API key prefixed with `APIKEY`. Example: `APIKEY your-api-key`. See the [Authentication guide](/getting-started/authentication).
</ParamField>

<RequestExample>
  ```javascript Node.js theme={null}
  const response = await fetch('https://service.pcibooking.net/api/credentials', {
    headers: {
      'Authorization': 'APIKEY your-api-key'
    }
  });

  const data = await response.json();
  console.log(data);
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://service.pcibooking.net/api/credentials',
      headers={
          'Authorization': 'APIKEY your-api-key'
      }
  )

  print(response.json())
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 theme={null}
  [
      "my-stripe-credentials",
      "my-adyen-credentials",
      "hotel-booking-gateway"
  ]
  ```

  ```json 400 theme={null}
  {
      "code": -125,
      "message": "Bad input data",
      "moreInfo": "...",
      "errorList": null
  }
  ```
</ResponseExample>
