Payment session regulation parameters
Payment session regulation parameters
A mechanism exists for regulating the time allotted for payment from the Internet Resource's side. To use it, a parameter must be passed in the authorization request indicating the starting point for counting the allotted payment interval (default is 20 minutes).
The authorization request must include either:
- The
wsb_startsessdatetimeparameter with a value of typeDateTime(e.g.,2020-10-22T16:20:01+03:00) - Or the
wsb_startsesstimeparameter, which contains a value inUnixTimestampformat (e.g.,1603383601)
If both parameters are provided, wsb_startsessdatetime takes priority.
Example: A transaction starts on 22.10.2020 at 16:33:01. The Internet Resource wants the payment session to be valid for 7 minutes. The POST request must therefore contain the start time 22.10.2020 16:20:01.
<input type="hidden" name="wsb_startsesstime" value="1603383601">
<input type="hidden" name="wsb_startsessdatetime" value="2020-10-22T16:20:01+03:00">