Update the status of a payment link
PATCH {{baseUrl}}/paymentLinks/:linkId
Updates the status of a payment link. Use this endpoint to force the expiry of a payment link.
Request Body
{"status"=>"expired"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"amount":{"currency":"EUR","value":8700},"countryCode":"NL","expiresAt":"2021-04-08T14:06:39Z","merchantAccount":"YOUR_MERCHANT_ACCOUNT","reference":"shopper-reference-ekvL83","shopperLocale":"hu-HU","shopperReference":"shopper-reference-LZfdWZ","status":"expired","url":"https://test.adyen.link/PL61C53A8B97E6915A","id":"PL61C53A8B97E6915A"}