A payment link expires by default after 1 week. The expiration date can be adjusted up to a maximum of 2 weeks. This can be specified when creating the payment link.
If you do not want the payment link to expire, you can enable the option "Without expiration date". This is only possible with the "Expert" plan.