Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.09 KB

Session.md

File metadata and controls

38 lines (22 loc) · 1.09 KB

Session

Properties

Name Type Description
key String The session unique ID assigned by Voucherify or your own unique session ID. Sending an existing ID will result in overwriting an existing session. If no session key is provided, then a new ID will be generated.
type TypeEnum This parameter is required to establish a new session.
ttl BigDecimal Value for the period of time that the session is active. Units for this parameter are defined by the session.ttl_unit parameter.
ttlUnit TtlUnitEnum Defines the type of unit in which the session time is counted.

Enum: TypeEnum

Name Value
LOCK "LOCK"

Enum: TtlUnitEnum

Name Value
DAYS "DAYS"
HOURS "HOURS"
MICROSECONDS "MICROSECONDS"
MILLISECONDS "MILLISECONDS"
MINUTES "MINUTES"
NANOSECONDS "NANOSECONDS"
SECONDS "SECONDS"