Update account balance history configuration

Updates account balance history configuration for divisionCode.

If Update account balance history config is called when current datetime is greater than cycle_config_validity.start, the new configuration is valid only after the end of two-cycle closing date.
Example:

  • division timezone: UTC
  • Update account balance history configuration called at: 2023-05-01T18:00:00Z
  • current cycle closing time: 22:00:00
  • current cycle closing date: 2023-04-30 (from 2023-04-30T22:00:00Z to 2023-05-01T22:00:00Z)
  • cycle config validity start datetime of the new config: 2023-05-02T22:00:00Z
  • current config stays valid until 2023-05-02T22:00:00Z

If Update account balance history configuration is called when current datetime is less than or equal to cycle_config_validity.start of the most recent config, the new configuration just overrides the the most recent configuration.
Example:

  • division timezone: UTC
  • Update account balance history configuration called at: 2023-05-01T19:00:00Z
  • cycle config validity start datetime of the most recent config: 2023-05-02T22:00:00Z
  • new config just overrides the most recent config, keeping the same cycle config validity start date 2023-05-01T22:00:00Z

This endpoint produces the Account balance history configuration changed event.

Language
Authorization
Bearer
JWT
Click Try It! to start a request and see the response here!