OptionaldomainOptionalmaxThe expiration time for transaction cookies in seconds. If not provided, defaults to 1 hour (3600 seconds).
OptionalpathThe path attribute of the transaction cookie. Will be set to '/' by default.
OptionalprefixThe prefix of the cookie used to store the transaction state.
Default: __txn_{state}.
OptionalsameThe sameSite attribute of the transaction cookie.
Default: lax.
OptionalsecureThe secure attribute of the transaction cookie.
Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.
Specifies the value for the Set-Cookie attribute. By default, no domain is set, and most clients will consider the cookie to apply to only the current domain.