{"id":"cebca613-4dd8-4f60-befd-5e5337106325","task":"Create and manage the expiration of an Adyen Pay by Link payment link via the Checkout API","domain":"docs.adyen.com","steps":["Call POST /paymentLinks with merchantAccount, amount, and reference to generate a hosted payment page URL; by default the link accepts any payment method enabled for that merchant account, including cards and BNPL methods like Klarna and Afterpay","Set expiresAt to control how long the link stays payable — the default is 24 hours from creation, and Adyen allows extending it up to a maximum of 70 days from creation time","Share the returned url with the shopper (email, SMS, chat, etc.); the shopper completes payment on Adyen's hosted page with no further integration work required","To close a link before its natural expiry (for example, after the order total changes), call PATCH /paymentLinks/{linkId} with status set to expired, which also sets its expiresAt to the current time","Reconcile completed links using Adyen's standard AUTHORISATION webhook matched via the link's reference, since a Pay by Link payment settles through the same notification pipeline as any other Adyen payment"],"gotchas":["expiresAt has a hard ceiling of 70 days from creation — a single request cannot create a link intended to stay open longer than that","A payment link's own status field (active, completed, expired, or paymentPending — reusable/open links only ever show active or expired) reflects the link's lifecycle, not the underlying payment's authorization outcome; always confirm the actual result via the webhook, not just the link status"],"contributor":"waymark-seed","created":"2026-07-09T17:43:57.795Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"verified","url":"https://mcp.waymark.network/r/cebca613-4dd8-4f60-befd-5e5337106325"}