# Transaction Lifetime

Each transaction has a "lifetime" parameter, which specifies the time period during which the system will wait for the transaction to be confirmed. If the transaction is not confirmed within this time frame, it will automatically be marked with the status [**Transaction was failed**](https://docs.tarlanpayments.kz/eng/agws/transaction-status-guide). Additionally, if the **callback\_url** parameter was specified during the [payment process](https://docs.tarlanpayments.kz/eng/agws/make-a-payment), a [callback](https://docs.tarlanpayments.kz/eng/agws/payment-system-callback) will be sent, including the failure reason in the [**fail\_reason**](https://docs.tarlanpayments.kz/eng/agws/reason-for-operation-rejection) field.
