v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Holidays (deprecated)

Check if business day (deprecated)

DEPRECATED. Call the Get business day endpoint instead.

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

Check if a specific date is a business day for an administrative division.

Note: The response could contain outdated information until at least one minute after an administrative division update.

post/holidays-core/v1/search-business-day

Request body

current_datestring required

Holiday date. Format = yyyy-mm-dd.

division_idinteger required

Division ID

Example request

{
  "current_date": "2023-12-01"
}

Response

OK

division_idinteger

Division ID

namestring

Holiday name

descriptionstring

Holiday description

current_datestring date

Current date. Format = yyyy-mm-dd.

next_business_datestring date

Next work day following the holiday. Format = yyyy-mm-dd.

prior_business_datestring date

Business day prior to holiday. Format = yyyy-mm-dd.

is_holidayboolean

Is this a holiday?

is_weekendboolean

Is this a weekend day?

holiday_metadatastring

Any data object with key/value pairs. No limit on length.

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.

division_metadatastring

Any data object with key/value pairs. No limit on length.

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.

Example response

{
  "division_id": 100,
  "name": "New Year's Day",
  "description": "Day to party like it's 1999",
  "current_date": "2023-01-02",
  "next_business_date": "2023-01-02",
  "prior_business_date": "2023-01-02",
  "is_holiday": true,
  "is_weekend": true,
  "holiday_metadata": "{ \"key\": \"value\"}",
  "division_metadata": "{ \"key\": \"value\"}"
}