Holidays v2 - Transaction banking (deprecated)

Update holiday (deprecated)

DEPRECATED. Call the new Update holiday endpoint instead.

Update some holiday information. Only parameters that are passed are updated.

Note: This endpoint is designed for transaction banking. For more information, refer to Calendars and holidays in transaction banking.

put/holidays-core/v2/holiday/{holiday_id}

Request

  • Base URL
    https://sandbox.pismolabs.io/holidays-core
  • URL
    https://sandbox.pismolabs.io/holidays-core/holidays-core/v2/holiday/{holiday_id}
  • Auth
    HTTP bearer

Path parameters

holiday_idstring required
Example:8675309

Pismo-assigned holiday ID

Request body

namestring required

Holiday name

descriptionstring

Holiday description

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 request

{
  "name": "New Year's Day",
  "description": "Day to party like it's 1999"
}

Response

Updated holiday

idinteger

Holiday ID

namestring

Holiday name

descriptionstring

Holiday description

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

{
  "id": 8675309,
  "name": "New Year's Day",
  "description": "Day to party like it's 1999"
}

Changes

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