Skip to main content
When processing payments through Cashfree Payments, orders and their associated payments progress through various states. Understanding these states helps you track transactions and handle different scenarios effectively. Understanding two critical timing parameters - Order Expiry Time and Payment Time to Live (TTL) - is essential for managing your payment flows effectively.

Order Expiry Time

The order_expiry_time parameter controls how long an order remains available for payment. Once this time elapses:
  • New payment attempts will be rejected. Customers cannot initiate new transactions.
  • The order state changes to EXPIRED

Payment Time to Live (TTL)

The Payment TTL feature helps you maintain strict control over transaction timeouts and automated refund handling. This mechanism automatically marks delayed successful transactions as CANCELLED and initiates immediate reversals for successful transactions exceeding TTL. This helps reduce payment uncertainty and simplifies transaction reconciliation.

Order States

Payment States