interledger / rafiki

An open-source, comprehensive Interledger service for wallet providers, enabling them to provide Interledger functionality to their users.
https://rafiki.dev/
Apache License 2.0
226 stars 77 forks source link

feat(api): cancel outgoing payment #2694

Closed golobitch closed 1 month ago

golobitch commented 1 month ago

Changes proposed in this pull request

Add an API for canceling outgoing payment. This can be possible only if outgoing payment is in funding state. Normally, this API would be called by ASE to cancel the outgoing payment. It can be canceled due too numerous reasons like account not having enough balance or like his KYC is not valid, etc. ASE can also specify cancelation reason, and it will be written in meta under cancellationReason key.

Context

fixes #2688

Checklist

netlify[bot] commented 1 month ago

Deploy Preview for brilliant-pasca-3e80ec canceled.

Name Link
Latest commit 33ae5548f86cb27bfc3a638d5c34b38ca0cebca2
Latest deploy log https://app.netlify.com/sites/brilliant-pasca-3e80ec/deploys/663aa17d16cc8d00081eae3f