> ## 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.

# Get Payment Gateways

> Retrieve a list of supported payment gateways and their credential descriptions.

<Card title="Universal Payment Gateway Guide" icon="book" href="/use-tokens/universal-payment-gateway">
  Route payments through any supported gateway
</Card>

Returns the full list of payment gateways supported by PCI Booking, along with the credential fields each gateway requires. Use this to discover available gateways and determine what credentials you need to store before routing transactions through a specific gateway.

## Error Responses

| Code   | HTTP Status | Condition                                                 |
| ------ | ----------- | --------------------------------------------------------- |
| `-160` | `404`       | A specific gateway name was requested but does not exist. |

<Note>
  This is a public endpoint. No authentication is required.
</Note>

## 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/paymentGateway', {
    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/paymentGateway',
      headers={
          'Authorization': 'APIKEY your-api-key'
      }
  )

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

## Response

<ResponseExample>
  ```json 200 theme={null}
  [
      {
          "Name": "The name of the payment gateway",
          "Description": "A description of the payment gateway",
          "CredentialsNames": [
              "An array of parameters required by the specific payment gateway for authentication"
          ]
      },
      {
          "Name": "The name of the payment gateway",
          "Description": "A description of the payment gateway",
          "CredentialsNames": [
              "An array of parameters required by the specific payment gateway for authentication"
          ]
      },
    {...}
  ]
  ```

  ```json 404 theme={null}
  {
      "code": -160,
      "message": "Uri not found",
      "moreInfo": "Payment gateway not found",
      "errorList": null
  }
  ```
</ResponseExample>
