Replace webhook service with liquidity service
See original GitHub issueAll current (and future) webhook events involve depositing or withdrawing payment liquidity.
webhookService.send
could be replaced by liquidityService.deposit
/liquidityService.withdraw
so that callers do not need to manage the deposit/withdrawal.
However:
- Outgoing payments currently looks at the webhook response code to cancel a funding payment or requote a cancelled payment. How could liquidity service methods expose/support that?
- Outgoing payments currently send
outgoing_payment.cancelled
andoutgoing_payment.completed
events even if there is not a leftover balance to withdraw. Are such events necesary? If so, could we keep a basic webhook service that the outgoing payments service calls directly in those cases?
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Deploying APIs and Webhooks For B2B Speed - PYMNTS.com
This Deep Dive explores how companies are deploying APIs and webhooks to make instant payments a reality.
Read more >How Does Webhook Work on Blockchain | GetBlock.io
Specialized services help to track all changes in the blockchain network via API. Various webhook services can be used to track all operational...
Read more >Reporting APIs: How To Make Them Better, Stronger, Faster
Webhooks : A webhook is an event-triggered HTTP callback that sends data to a third party when a specific event occurs. These updates...
Read more >Mempool API - Blocknative Documentation
This documentation describes how to connect to and use Blocknative's transaction monitoring service using webhooks. The service delivers near real time ...
Read more >How in-app messaging can help marketplaces achieve liquidity
Nothing else so directly connects and facilitates communication between demand and supply, buyer and seller, or customer and service provider ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
More specifically, this is an issue if the transfer in question doesn’t have a timeout. If it has a timeout, then it can get cleaned up automatically by TigerBeetle.
Closing in favor of #225