---
title: "Expires the pending payment link with the payment provider and updates the status to Expired"
method: PUT
path: "/booking/v0-nsfw/payment-account-actions/{paymentAccountId}/expire-payment-link"
tags: ["PaymentAccountActions"]
---

# Expires the pending payment link with the payment provider and updates the status to Expired

`PUT /booking/v0-nsfw/payment-account-actions/{paymentAccountId}/expire-payment-link`

## Request

- Base URL: `https://api.apaleo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.apaleo.com/booking/v0-nsfw/payment-account-actions/{paymentAccountId}/expire-payment-link`
- Auth: OAuth 2
  - Implicit: `https://identity.apaleo.com/connect/authorize`
  - Scopes: `payment-accounts.manage`, `admin`

<br>You must have this scope: 'payment-accounts.manage'.<br>For fine-grained clients, you must have this permission: 'core.payment_accounts.expire_payment_link'.

## Path parameters

- `paymentAccountId` string, required

## Response `204`

No Content

## Other responses

- `400`: Bad request.
- `401`: You are unauthorized.
- `403`: Forbidden.
- `404`: The Request-URI could not be found.
- `422`: Validation errors in the request body or query params.
- `499`: Client closed request.
- `500`: An unexpected error occurred.
- `503`: The server is currently unavailable. Please try later.

---

[API](https://skmtc.dev/apaleo/apis/apaleo-booking-api-not-safe-for-work.md) - [All operations](https://skmtc.dev/apaleo/apis/apaleo-booking-api-not-safe-for-work/llms.txt) - [OpenAPI document](https://skmtc.dev/apaleo/apis/apaleo-booking-api-not-safe-for-work/revisions/a1b6a2f6b879?raw)
