Payment Session Timeouts

Generally, sessions on Paystack never expire… meaning a customer can complete payments at their own convenience. However, we have observed that this may not be ideal for some businesses that rely on us for collections.

That said, we have introduced a way for them to tell Paystack (in seconds), how long to wait for a customer to complete their payment. Attempts after this point are ignored.

The endpoints below allow you retrieve and manipulate the timeouts using your secret key. Please click to view them.

Fetch Payment Session Timeout
Update Payment Session Timeout

A sample call from the terminal that would set it to 3000 (50 minutes) would look like so:

curl --request PUT --url https://api.paystack.co/integration/payment_session_timeout --header 'authorization: Bearer SECRET_KEY' --header 'content-type: application/x-www-form-urlencoded' --data timeout=3000

To return it to being infinite, please set a timeout of 0.