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

# List company gateway credentials

> Returns all configured gateway credentials for the authenticated company. The secret key is masked.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/company/gateways
openapi: 3.0.0
info:
  title: PlugToPay API
  description: API to make payments easy in multiple gateways.
  version: 1.0.0
servers:
  - url: http://localhost:7701
    description: Test Server
security: []
paths:
  /api/v1/company/gateways:
    get:
      tags:
        - Company Gateways
      summary: List company gateway credentials
      description: >-
        Returns all configured gateway credentials for the authenticated
        company. The secret key is masked.
      operationId: a7c42ecc497bf434c7ebd8a63eebe7c3
      parameters:
        - $ref: '#/components/parameters/XClientId'
      responses:
        '200':
          description: List of company gateways
          content:
            application/json:
              schema:
                properties:
                  data:
                    type: array
                    items:
                      properties:
                        id:
                          type: integer
                          example: 1
                        client_id:
                          type: string
                          example: client_xyz
                          nullable: true
                        secret_key:
                          type: string
                          example: '************a1b2'
                        gateway:
                          properties:
                            id:
                              type: integer
                              example: 1
                            name:
                              type: string
                              example: Pagarme
                            slug:
                              type: string
                              example: pagarme
                            has_split:
                              type: boolean
                              example: true
                            is_active:
                              type: boolean
                              example: true
                          type: object
                      type: object
                type: object
        '401':
          description: Unauthorized
      security:
        - ApiKeyAuth: []
components:
  parameters:
    XClientId:
      name: x-client-id
      in: header
      description: Client identifier for the company in the request.
      required: true
      schema:
        type: string
        example: client_abc123
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      description: Company API key. Send in the X-API-Key header.
      name: X-API-Key
      in: header

````