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

# List webhook endpoints



## OpenAPI

````yaml /openapi.json get /v1/webhook_endpoints
openapi: 3.1.0
info:
  title: One Pay API
  version: 0.1.0
  description: >-
    One API to collect payments and send payouts across Africa. Amounts are
    integers in minor units (XAF francs, NGN kobo). Guides: the One Pay
    developer docs.
servers:
  - url: https://onepay-api-eiy9.onrender.com
    description: One Pay (your key decides test or live)
  - url: http://localhost:3000
    description: Local development
security:
  - bearerAuth: []
paths:
  /v1/webhook_endpoints:
    get:
      tags:
        - Webhooks
      summary: List webhook endpoints
      operationId: getV1WebhookEndpoints
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookEndpointList'
        '401':
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    WebhookEndpointList:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              url:
                type: string
              events:
                type: array
                items:
                  type: string
              secret_hint:
                type: string
              enabled:
                type: boolean
              mode:
                type: string
                enum:
                  - test
                  - live
              created_at:
                type: string
                format: date-time
                pattern: >-
                  ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$
            required:
              - id
              - url
              - events
              - secret_hint
              - enabled
              - mode
              - created_at
            additionalProperties: false
      required:
        - data
      additionalProperties: false
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            request_id:
              type: string
          required:
            - code
            - message
            - request_id
          additionalProperties: false
      required:
        - error
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your secret key: sk_test_... or sk_live_...'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.