---
title: "Update Payment Link"
method: PUT
path: "/payment-links/v1/{payment_link_id}"
tags: ["Payment Links"]
---

# Update Payment Link

`PUT /payment-links/v1/{payment_link_id}`

Changes the status of a payment link. 
Set status to `DISABLED` to immediately stop the link from accepting new payments, or `ACTIVE` to re-enable a previously disabled link. 
Links in `EXPIRED` or `USED` status cannot be reactivated.

## Path parameters

- `payment_link_id` string, uuid, required

## Request body

- UpdatePaymentLinkRequest — Request payload for updating a payment link
  - `status` 'ACTIVE' | 'DISABLED', required — The target status to set on a payment link. Only ACTIVE and DISABLED transitions are permitted via the update endpoint. - ACTIVE: Re-enables a previously disabled link so it can accept payments again. Cannot be set on links with EXPIRED or USED status. - DISABLED: Immediately prevents the link from accepting new payments. Can be re-enabled by setting status back to ACTIVE.

## Response `200`

Payment link updated successfully

---

[API](https://skmtc.net/leantech/apis/auth.md) · [All operations](https://skmtc.net/leantech/apis/auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/leantech/auth/versions/c2e46d54d886/schema)
