---
title: "Update Payment Link Status"
method: PUT
path: "/api/paymentLink/{payment_link_ref}/status/{link_status}"
tags: ["Payment APIs"]
---

# Update Payment Link Status

`PUT /api/paymentLink/{payment_link_ref}/status/{link_status}`

Update the status of the Payment Link. Currently only updating the "cancelled" status is supported.

## Path parameters

- `payment_link_ref` string, required
- `link_status` string, required

## Headers

- `X-Portone-Client-Key` string
- `Authorization` string

## Response `200`

Successful response

- object
  - `message` string — The extra message about the transaction
  - `status_code` string — The status_code for transaction of transaction creation
  - `status_reason` string — The status_reason for transaction of transaction creation

## Other responses

- `401` — Failure response

---

[API](https://skmtc.dev/portone/apis/payment-apis.md) · [All operations](https://skmtc.dev/portone/apis/payment-apis/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/portone/payment-apis/revisions/f3ccea652555/schema)
