v1

latestOpenAPI 3.1.0Copyright Pismo2026-07-247702,7523.1 MB
Programs

Update program

Update a program.

This endpoint generates a Program updated event.

Note: Due date is a REQUIRED field for Full balance credit programs types.

patch/programs/v1/programs/{id}

Path parameters

programIdinteger required
Example:6912345

Program ID

Request body

namestring

Program name

timezonestring

IANA Time Zone database, such as "America/New_York". This attribute is used to evaluate the flex control using the desired time zone for condition attributes such as week_day, month_day, time_now, and reset_period. If time_zone is empty, the control is evaluated using the UTC time zone.

country_codestring

<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-3" target="_blank">ISO 3166 Alpha-3</a> program country code. For example, BRA = Brazil.

language'pt-BR' | 'en-US'

Program Language:

  • en-US - US English
  • pt-BR - Brazilian Portuguese

Default is en-US

cycle_closingstring

Program cicle closing.

This field is used for things like accrual basis, interest calculation, taxes, penalties, tiers, and more.

Format = HH:MM:SS. Default is null.

holiday_calendar_idstring

Program holiday calendar ID

Example request

{
  "bin": {
    "start_range": "0",
    "end_range": "999999999",
    "value": "999999"
  },
  "name": "Digital wallet program",
  "timezone": "America/Sao_Paulo",
  "country_code": "BRA",
  "due_dates": [
    {
      "active": true,
      "day": 10
    }
  ],
  "language": "en-US",
  "cycle_closing": "23:59:59",
  "holiday_calendar_id": "0c78714f-3e88-40f3-9eda-debd356faabc"
}

Response

No Content