ACINQ / phoenixd

https://phoenix.acinq.co/server
Apache License 2.0
117 stars 15 forks source link

Added a delete payment by paymentHash #52

Closed raymond98 closed 4 months ago

raymond98 commented 6 months ago

This pull request adds an endpoint to delete an incoming payment based on its payment hash.

Endpoint: DELETE /payments/incoming/{paymentHash}

Response:

200 OK: Payment successfully deleted. 404 Not Found: Payment not found or failed to delete.