Skip to main content

The pay config weekly rule object

A rule that applies every week, over the same days and hours.

end_time
string
required

Time of day this rule ends, in 24 hour format. Equal to start_time means it runs for the whole day.

Example:

"17:00"

id
string
required

Unique identifier for this rule, stable across edits to the config

Example:

"01G0J1EXE7AXZ2C93K61WBPYEH"

rate_cents
integer<int64>
required

Rate paid while this rule applies, in the lowest denomination of the config's currency

Example:

2400

start_time
string
required

Time of day this rule starts, in 24 hour format

Example:

"09:00"

weekdays
enum<string>[]
required

Days of the week this rule applies on

Weekdays for use within a schedule or escalation path

Available options:
monday,
tuesday,
wednesday,
thursday,
friday,
saturday,
sunday
Example: