Since a payment link is created, it is a live entity with a specific state. Based on actions to a payment link, it can transition from one state to another (e.g. from ready when the link is created to paid when the link is paid by a customer).
The following diagram depicts the lifecycle of a payment link.
The link has been created and ready for consumption.
The link has been consumed by a customer and payment was successful. It cannot be consumed.
The link has been cancelled by the merchant. It cannot be consumed.
The link has been consumed and declined by the customer. It cannot be consumed.
The link has expired. It cannot be consumed.
Payment takes some extra time to be processed. It cannot be consumed.
Updated over 2 years ago