capabilities.work

Create Payment Link and Expire It

A 2-step recipe with Adyen. We can help you get access.

Recipe · 2 steps

Create Payment Link and Expire It

with Adyen · Payment Initiation Management

Create a payment link and then expire it by id.

  1. Create a Pay by Link payment link for the supplied amount and reference, returning a link id and an active status.
  2. Update the payment link status to expired using its id so it can no longer be used to complete a payment.
What you'll need to have ready
  • merchantAccount: The merchant account identifier that processes the link.
  • amount: The amount object with currency and value (minor units).
  • reference: Your unique reference for the payment link.
  • countryCode: The shopper country code (e.g. NL).
For your developer

Arazzo workflow adyen:payment-link-create-and-expire, 2 operations: post-paymentLinks → patch-paymentLinks-linkId. Specs on APIs.io.