feat(localenv): cancel outgoing payment on created webhook
feat(graphql): cancel outgoing payment api
feat(outgoing-payment): cancel outgoing payment service implementation
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.
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
fixes #number