{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/depixapp-com/json-schema/depixapp-com-webhook-log-list-response-schema.json",
  "title": "WebhookLogListResponse",
  "description": "The 50 most recent webhook delivery attempts for this account, newest first. Bodies are omitted here — fetch one log by id for the request/response payloads.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/depixapp-com-merchant-api-openapi.yml#/components/schemas/WebhookLogListResponse",
  "type": "object",
  "required": [
    "logs"
  ],
  "additionalProperties": false,
  "properties": {
    "logs": {
      "type": "array",
      "description": "Delivery attempts, newest first (fixed window of 50).",
      "items": {
        "type": "object",
        "description": "One delivery attempt (summary view, no bodies).",
        "required": [
          "id",
          "checkout_id",
          "event",
          "url",
          "status_code",
          "error",
          "attempt",
          "sent_at"
        ],
        "additionalProperties": false,
        "properties": {
          "id": {
            "type": "string",
            "description": "Delivery log id — use it on the detail endpoint."
          },
          "checkout_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Checkout id (chk_*) for checkout.* events; null for deposit.*/withdraw.* events."
          },
          "event": {
            "type": "string",
            "description": "Event name delivered (e.g. checkout.completed, deposit.depix_sent, withdraw.sent)."
          },
          "url": {
            "type": "string",
            "description": "The callback URL the event was delivered to."
          },
          "status_code": {
            "type": [
              "integer",
              "null"
            ],
            "description": "HTTP status answered by the receiver — null when the request failed before a response (timeout, connection error)."
          },
          "error": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transport/delivery error message, or null when a response was received."
          },
          "attempt": {
            "type": "integer",
            "description": "1-based attempt number within the retry schedule (max 6)."
          },
          "sent_at": {
            "type": "string",
            "description": "Delivery attempt timestamp (RFC 3339 UTC)."
          }
        }
      }
    }
  }
}