---
updatedAt: 2026-06-12T20:28:13.000Z
---

Fetch the complete documentation index at: https://developers.pismo.io/pismo-docs/llms.txt. Use this file to discover all available pages before exploring further.

# List holidays (deprecated)

**DEPRECATED**. Call the new [List holidays](ref:get-holiday-new) endpoint instead.

This endpoint is deprecated starting April 30, 2026, and final removal from both test (EXT) and production environments on October 30, 2026.

Return a paginated list of holidays registered for an organization. 

**Note:** This endpoint is designed for transaction banking. For more information, refer to [Calendars and holidays in transaction banking](doc:calendars-and-holidays-in-transaction-banking).


# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Platform setup - Holidays",
    "description": "Manage business and non-business days by organization",
    "version": "v1.0",
    "contact": {
      "name": "Pismo Support",
      "url": "https://developers.pismo.io/support/"
    },
    "license": {
      "name": "Copyright Pismo"
    }
  },
  "servers": [
    {
      "url": "https://sandbox.pismolabs.io/holidays-core",
      "description": "API sandbox server for testing"
    }
  ],
  "security": [
    {
      "S2SAuthentication": []
    }
  ],
  "tags": [
    {
      "name": "Holidays v2 - Transaction banking (deprecated)",
      "description": "View and manage business and non-business days configurations (for Transaction banking only)"
    }
  ],
  "components": {
    "parameters": {
      "AdminDivisionIDQuery": {
        "name": "administrativeDivisionId",
        "in": "query",
        "description": "Administrative Division ID filter",
        "required": true,
        "schema": {
          "type": "integer",
          "format": "int32"
        }
      },
      "BeginDateQuery": {
        "name": "beginDate",
        "in": "query",
        "description": "Get results on or after this date. \n\nThis field indicates what part of the year to start searching for holidays, not when the holiday was created at Pismo.\n\nFormat = yyyy-mm-dd. Must be less than or equal to `endDate`.\n",
        "schema": {
          "type": "string",
          "example": "2025-12-24"
        }
      },
      "DeletedHolidaysQuery": {
        "name": "deleted",
        "in": "query",
        "description": "Deleted holidays filter. This field is for internal use only, deleted holidays are not returned,",
        "schema": {
          "type": "boolean"
        }
      },
      "EndDateQuery": {
        "name": "endDate",
        "in": "query",
        "description": "Get holidays on or before this date. \n\nThis field indicates what part of the year to end searching for holidays, not when the holiday was created at Pismo.\n\nFormat: yyyy-mm-dd. Must be greater than or equal to `beginDate`.\"\n",
        "schema": {
          "type": "string",
          "example": "2025-11-02"
        }
      },
      "HolidayDateQuery": {
        "name": "holidayDate",
        "in": "query",
        "description": "Holiday date filter. Format = yyyy-mm-dd.",
        "schema": {
          "type": "string",
          "example": "2023-01-01"
        }
      },
      "HolidayNameQuery": {
        "name": "name",
        "in": "query",
        "description": "Holiday name filter",
        "schema": {
          "type": "string",
          "maxLength": 80,
          "example": "New Year's Day"
        }
      },
      "OrderByQuery": {
        "name": "orderBy",
        "in": "query",
        "description": "Sort by `ID` or `NAME`. Default = `ID`.",
        "schema": {
          "type": "string",
          "enum": [
            "ID",
            "NAME"
          ],
          "example": "ID"
        }
      },
      "OrderQuery": {
        "name": "order",
        "in": "query",
        "description": "Sort order: `ASC` (ascending) or `DESC` (descending). Default = `ASC`.\n",
        "schema": {
          "type": "string",
          "enum": [
            "ASC",
            "DESC"
          ],
          "example": "ASC"
        }
      },
      "PageNumberQuery": {
        "name": "page",
        "in": "query",
        "description": "Page number.  Default = `1`.",
        "schema": {
          "type": "integer",
          "minimum": 1,
          "format": "int32",
          "example": 5
        }
      },
      "PerPageQuery": {
        "name": "perPage",
        "in": "query",
        "description": "Items per page. Default =  `10`. Maximum = `100`.",
        "schema": {
          "type": "integer",
          "format": "int32",
          "minimum": 1,
          "maximum": 100,
          "example": 30
        }
      }
    },
    "schemas": {
      "CreatedAt": {
        "type": "string",
        "format": "datetime",
        "description": "Date and time the holiday was created. Format = yyyy-mm-ddTHH:mm:ss.",
        "example": "2024-04-30T17:24:03"
      },
      "CurrentPage": {
        "type": "integer",
        "description": "Current result page",
        "example": 1
      },
      "handler.HTTPError": {
        "description": "Error",
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "description": "Error code"
          },
          "message": {
            "type": "string",
            "description": "Error message"
          }
        }
      },
      "HolidayDate": {
        "type": "string",
        "description": "Holiday date. Format = yyyy-mm-dd.",
        "example": "2023-12-01"
      },
      "HolidayDescription": {
        "type": "string",
        "description": "Holiday description",
        "maxLength": 500,
        "example": "Day to party like it's 1999"
      },
      "HolidayID": {
        "type": "integer",
        "description": "Holiday ID",
        "example": 8675309
      },
      "HolidayName": {
        "type": "string",
        "description": "Holiday name",
        "example": "New Year's Day",
        "maxLength": 80,
        "minLength": 1
      },
      "Metadata": {
        "type": "object",
        "description": "A valid JSON schema as specified in https://json-schema.org/specification.html. Used to register rules used to authorize the transaction.\n\n**Note**: This field must not be used to send Personally Identifiable Information (PII), Payment Card Industry (PCI) data, or any sensitive/regulated information. Metadata fields are intended for operational, non-sensitive data only. For sensitive data, use the specific parameters designed for that purpose. For more information, refer to [Get started with Pismo APIs](https://developers.pismo.io/pismo-docs/reference/get-started-with-pismo-apis#metadata).\n"
      },
      "Pages": {
        "type": "integer",
        "description": "Total number of result pages.",
        "example": 1
      },
      "pagination.v2.Pagination": {
        "type": "object",
        "properties": {
          "current_page": {
            "$ref": "#/components/schemas/CurrentPage"
          },
          "items": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/presenter.HolidayV2Response"
            }
          },
          "pages": {
            "$ref": "#/components/schemas/Pages"
          },
          "per_page": {
            "$ref": "#/components/schemas/PerPage"
          },
          "total_items": {
            "$ref": "#/components/schemas/TotalItems"
          }
        }
      },
      "PerPage": {
        "type": "integer",
        "description": "Maximum results per page",
        "example": 10
      },
      "presenter.AdministrativeDivisionResponse": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "description": "Administrative division ID",
            "example": 1111
          },
          "name": {
            "description": "Administrative division name",
            "type": "string",
            "example": "Brazil"
          }
        }
      },
      "presenter.HolidayV2Response": {
        "type": "object",
        "properties": {
          "administrative_division": {
            "$ref": "#/components/schemas/presenter.AdministrativeDivisionResponse"
          },
          "id": {
            "$ref": "#/components/schemas/HolidayID"
          },
          "name": {
            "$ref": "#/components/schemas/HolidayName"
          },
          "description": {
            "$ref": "#/components/schemas/HolidayDescription"
          },
          "holiday_date": {
            "$ref": "#/components/schemas/HolidayDate"
          },
          "working_date": {
            "$ref": "#/components/schemas/WorkingDate"
          },
          "metadata": {
            "$ref": "#/components/schemas/Metadata"
          },
          "created_at": {
            "$ref": "#/components/schemas/CreatedAt"
          }
        }
      },
      "TotalItems": {
        "type": "integer",
        "description": "Total number of result items",
        "example": 11
      },
      "WorkingDate": {
        "type": "string",
        "format": "date",
        "description": "Next work day following the holiday. Format = yyyy-mm-dd.",
        "example": "2023-01-02"
      }
    },
    "responses": {
      "400BadRequest": {
        "description": "Bad request",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/handler.HTTPError"
            },
            "examples": {
              "missing-x-tenant-header": {
                "$ref": "#/components/examples/BadRequestResponseMissingHeader"
              },
              "invalid-id-params": {
                "$ref": "#/components/examples/BadRequestResponseInvalidParams"
              }
            }
          }
        }
      },
      "401UnauthorizedError": {
        "description": "Access token missing or invalid"
      },
      "404NotFound": {
        "description": "Not found",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/handler.HTTPError"
            },
            "examples": {
              "response-missing-tenant": {
                "$ref": "#/components/examples/NotFoundResponse"
              }
            }
          }
        }
      },
      "500InternalServerError": {
        "description": "Internal server error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/handler.HTTPError"
            },
            "examples": {
              "generic-internal-error": {
                "$ref": "#/components/examples/InternalServerErrorResponse"
              }
            }
          }
        }
      }
    },
    "securitySchemes": {
      "S2SAuthentication": {
        "type": "http",
        "scheme": "bearer",
        "description": "All requests must pass an [account-specific token](https://developers.pismo.io/pismo-docs/docs/account-specific-access-tokens).\n"
      }
    },
    "examples": {
      "InternalServerErrorResponse": {
        "value": {
          "code": "EHLD0001",
          "message": "Something went wrong - please try again"
        }
      },
      "BadRequestResponseMissingHeader": {
        "value": {
          "code": "EHLD0016",
          "message": "Missing x-tenant header"
        }
      },
      "BadRequestResponseInvalidParams": {
        "value": {
          "code": "400",
          "message": "Invalid parameter value: {parameter name}"
        }
      },
      "NotFoundResponse": {
        "value": {
          "code": "404",
          "message": "{target name} not found"
        }
      }
    }
  },
  "paths": {
    "/holidays-core/v2/holiday": {
      "get": {
        "summary": "List holidays (deprecated)",
        "description": "**DEPRECATED**. Call the new [List holidays](https://developers.pismo.io/pismo-docs/reference/get-holiday-new) endpoint instead.\n\nThis endpoint is deprecated starting April 30, 2026, and final removal from both test (EXT) and production environments on October 30, 2026.\n\nReturn a paginated list of holidays registered for an organization. \n\n**Note:** This endpoint is designed for transaction banking. For more information, refer to [Calendars and holidays in transaction banking](https://developers.pismo.io/pismo-docs/docs/calendars-and-holidays-in-transaction-banking).\n",
        "operationId": "get-v2-holidays",
        "deprecated": true,
        "tags": [
          "Holidays v2 - Transaction banking (deprecated)"
        ],
        "parameters": [
          {
            "$ref": "#/components/parameters/PageNumberQuery"
          },
          {
            "$ref": "#/components/parameters/PerPageQuery"
          },
          {
            "$ref": "#/components/parameters/OrderQuery"
          },
          {
            "$ref": "#/components/parameters/OrderByQuery"
          },
          {
            "$ref": "#/components/parameters/AdminDivisionIDQuery"
          },
          {
            "$ref": "#/components/parameters/HolidayNameQuery"
          },
          {
            "$ref": "#/components/parameters/HolidayDateQuery"
          },
          {
            "$ref": "#/components/parameters/BeginDateQuery"
          },
          {
            "$ref": "#/components/parameters/EndDateQuery"
          },
          {
            "$ref": "#/components/parameters/DeletedHolidaysQuery"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/pagination.v2.Pagination"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/400BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/401UnauthorizedError"
          },
          "404": {
            "$ref": "#/components/responses/404NotFound"
          },
          "500": {
            "$ref": "#/components/responses/500InternalServerError"
          }
        }
      }
    }
  }
}
```