Name | Type | Description | Notes |
---|---|---|---|
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. | [optional][default to 'LOCK'] |
type | String | This parameter is required to establish a new session. The session locks the redemption quantity by 1. | [optional][default to 'LOCK'] |
ttl | Float | Value for the period of time that the session is active. Units for this parameter are defined by the session.ttl_unit parameter. | [optional] |
ttl_unit | String | Defines the type of unit in which the session time is counted. | [optional] |