Skip to content

Latest commit

 

History

History
46 lines (26 loc) · 1.3 KB

Session.md

File metadata and controls

46 lines (26 loc) · 1.3 KB

Session

Properties

Name Type Description Notes
key KeyEnum 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. [optional]
type TypeEnum This parameter is required to establish a new session. The session locks the redemption quantity by 1. [optional]
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. [optional]
ttlUnit TtlUnitEnum Defines the type of unit in which the session time is counted. [optional]

Enum: KeyEnum

Name Value
LOCK "LOCK"

Enum: TypeEnum

Name Value
LOCK "LOCK"

Enum: TtlUnitEnum

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