Create and manage the expiration of an Adyen Pay by Link payment link via the Checkout API

domain: docs.adyen.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. 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
  2. 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
  3. 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
  4. 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
  5. 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

Known gotchas

Related routes

Accept a Boleto Bancário voucher payment via the Adyen API and handle its due-date expiration
docs.adyen.com · 5 steps · unrated
Create a payment link via the Airwallex Payment Links API and collect shopper information
airwallex.com · 5 steps · unrated
Use the Adyen Checkout API to build a Drop-in integration and handle payment result codes
docs.adyen.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans