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

> ## Agent Instructions
> OwnPay is licensed under AGPL-3.0 and is completely free - no licensing fees.
> Production docs URL: https://ownpay.org/docs - append .md to any page URL for clean markdown.
> OwnPay requires PHP 8.3+, MySQL/MariaDB, and Redis.
> MCP server available at https://ownpay.org/docs/mcp for programmatic documentation queries.
> Use root-relative links (e.g. /quickstart) for internal navigation - do NOT include /docs prefix.
> Plugin development: consult /developer/plugin-types/ pages for correct interfaces and manifests.

# Webhook Delivery Log

> Retrieves the 50 most recent webhook delivery attempts logged for this brand. Useful for auditing and debugging integrations.




## OpenAPI

````yaml /api/merchant_api.yaml get /webhooks/deliveries
openapi: 3.1.0
info:
  title: OwnPay Merchant API
  description: >
    The OwnPay Merchant API enables merchants to programmatically interface with
    their white-labeled payment gateway.

    It exposes endpoints to initiate payments (creating payment intents), query
    transaction statuses, issue full or partial refunds, manage customer
    profiles securely in compliance with GDPR and OWASP, generate and revoke API
    keys, and test/audit webhook delivery attempts.


    ### Authentication

    Authentication is performed via HTTP Bearer token in the `Authorization`
    header.

    ```http

    Authorization: Bearer your_api_key_here

    ```

    API keys carry specific privilege scopes (e.g., `read`, `write`, `admin`).

    Some administrative operations (like listing/generating API keys) require
    **both** `write` and `admin` scopes, as well as passing a valid platform
    super-administrator's email address in the `X-Super-Admin-Email` header for
    safety.
  version: 1.0.0
servers:
  - url: https://{brand_domain}/api/v1
    description: Sandbox or Production white-labeled brand gateway API server.
    variables:
      brand_domain:
        default: ownpay.org
        description: The custom domain configured for your white-labeled brand.
security:
  - BearerAuth: []
paths:
  /webhooks/deliveries:
    get:
      summary: Webhook Delivery Log
      description: >
        Retrieves the 50 most recent webhook delivery attempts logged for this
        brand. Useful for auditing and debugging integrations.
      operationId: listWebhookDeliveries
      responses:
        '200':
          description: Webhook delivery logs array retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WebhookDeliveriesResponse'
components:
  schemas:
    WebhookDeliveriesResponse:
      type: object
      properties:
        success:
          type: boolean
          example: true
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: integer
                example: 1024
              transaction_id:
                type: integer
                example: 45
              event:
                type: string
                example: payment.completed
              url:
                type: string
                format: uri
                example: https://my-store.com/webhooks/ownpay
              payload:
                type: string
                description: JSON string payload containing notification data.
                example: >-
                  {"event":"payment.completed","data":{"trx_id":"OP-481029304","amount":"500.00"}}
              response_status:
                type: integer
                example: 200
              response_body:
                type: string
                example: OK
              attempts:
                type: integer
                example: 1
              status:
                type: string
                example: success
              created_at:
                type: string
                format: date-time
                example: '2026-06-23T14:17:15Z'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Provide the Bearer API Key generated for your brand.

````

## Related topics

- [Retry Outbound SMS](/docs/api-reference/retry-outbound-sms.md)
- [Node.js SDK - TypeScript-First Payment Integration](/docs/developer/integration/nodejs.md)
- [List Refunds](/docs/api-reference/list-refunds.md)
- [List Outbound SMS Queue](/docs/api-reference/list-outbound-sms-queue.md)
- [Retrieve Dashboard Summary](/docs/api-reference/retrieve-dashboard-summary.md)
