Holidays (deprecated)

List non-business days (deprecated)

DEPRECATED. Call the Get non-business days endpoint instead.

Return a list of non-business days.

get/holidays-core/v1/non-business-days

Request

  • Base URL
    https://sandbox.pismolabs.io/holidays-core
  • URL
    https://sandbox.pismolabs.io/holidays-core/holidays-core/v1/non-business-days
  • Auth
    HTTP bearer

Query parameters

administrativeDivisionIdinteger required

Administrative Division ID filter

beginDatestring
Example:2025-12-24

Get results on or after this date.

This field indicates what part of the year to start searching for holidays, not when the holiday was created at Pismo.

Format = yyyy-mm-dd. Must be less than or equal to endDate.

endDatestring
Example:2025-11-02

Get holidays on or before this date.

This field indicates what part of the year to end searching for holidays, not when the holiday was created at Pismo.

Format: yyyy-mm-dd. Must be greater than or equal to beginDate."

Headers

x-tenantstring required

Organization/tenant ID

x-cidstring

The Correlation IDentifier UUID field links related API requests and events. The x-cid can help the Pismo engineering team track everything related to a call. If not passed, this field is automatically generated.

Response

OK

division_metadataMetadata

A valid JSON schema as specified in https://json-schema.org/specification.html. Used to register rules used to authorize the transaction.

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

{
  "dates": [
    {
      "date": "2023-01-20",
      "is_holiday": true,
      "is_weekend": true
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.