# Delete Payment Link API didn't return the cancelled\_order\_id and the link didn't expire

**URL:** <https://developer.squareup.com/forums/t/delete-payment-link-api-didnt-return-the-cancelled-order-id-and-the-link-didnt-expire/21874>\
**Category:** Questions\
**Tags:** checkout-api\
**Created:** [April 10, 2025, 6:15am UTC](https://developer.squareup.com/forums/t/delete-payment-link-api-didnt-return-the-cancelled-order-id-and-the-link-didnt-expire/21874 "2025-04-10T06:15:55Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![kishanv](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@kishanv](https://developer.squareup.com/forums/u/kishanv)\
**Post date:** [April 15, 2025, 4:22am UTC](https://developer.squareup.com/forums/t/delete-payment-link-api-didnt-return-the-cancelled-order-id-and-the-link-didnt-expire/21874/10 "2025-04-15T04:22:58Z")

</div>

Here are the logs:

Request:  
{“url”:“https://connect.squareup.com/v2/online-checkout/payment-links/5KCK6T4LELEP7BGW”,“type”:“DELETE”,“header”:[“Authorization: Bearer TOKEN”,“Content-Type: application/json”],“data”:null}

Respnse:  
{“id”:“5KCK6T4LELEP7BGW”}

And I just noticed that my system has sent around 1,900 delete payment link requests since 2024-10-30, and in about 90 of those requests, we didn’t receive a cancelled order ID.

---

_[View the full topic](https://developer.squareup.com/forums/t/delete-payment-link-api-didnt-return-the-cancelled-order-id-and-the-link-didnt-expire/21874)._
