A payment plan line becomes an Adyen payment link
The manager picks Adyen on a line of the deal payment plan. Krokul calls the Adyen Pay by Link API with the merchant account, the amount in minor units and the deal number as the reference, and receives the link ID, its URL and the expiry time. A link without an explicit expiry lives for 24 hours, so Krokul sets the date the manager agreed with the client.