For the complete documentation index, see llms.txt. This page is also available as Markdown.

Payment Session Timeout

The API allows you manage the session timeout of the transaction

Fetch Timeout

GET https://api.lahza.io/payment_session_timeout

Fetch the payment session timeout

Headers

Name
Type
Description

authorization*

String

Set value to Bearer SECRET_KEY

{
  "status": true,
  "message": "Payment session timeout retrieved",
  "data": {
    "payment_session_timeout": 30
  }
}

Update Timeout

PUT https://api.lahza.io/payment_session_timeout

Update the payment session timeout

Headers

Name
Type
Description

authorization*

String

Set value to Bearer SECRET_KEY

content-type*

String

Set value to application/json

Request Body

Name
Type
Description

timeout*

Integer

Time before stopping session (in seconds). Set to 0 to cancel session timeouts

Last updated