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. |
Name | Value |
---|---|
LOCK | "LOCK" |
Name | Value |
---|---|
DAYS | "DAYS" |
HOURS | "HOURS" |
MICROSECONDS | "MICROSECONDS" |
MILLISECONDS | "MILLISECONDS" |
MINUTES | "MINUTES" |
NANOSECONDS | "NANOSECONDS" |
SECONDS | "SECONDS" |