Hello,
We are using the delete payment link api endpoint, when a user wants to cancel the payment session. It’s usually works, but sometimes doesn’t work as expected. We get HTTP 200 OK to the DELETE api call, but the response doesn’t contain the order id, only the payment link id. After this the payment link is still alive, the order is still in PROPOSED state. In this cases we can call the DELETE payment link endpoint multiple times, we always get the same answer.
What we noticed: its always happens when failed payment happened.
How can we delete the payment link in these cases?