Open evq opened 6 years ago
in a call with uphold earlier today, they indicated that webhook support will be deployed to the sandbox next week. when that happens, i think we can re-visit this issue for a really good fix!
that's great news!
we should still have the client poll the balance server though right? seems like we should have the balance server use the webhook to automatically update / create a cached value, but still set a TTL / fail over to poll through just in case there is a temporary issue with the hook.
currently there is a branch that fetches from the ledger server if payment is overdue. since this is a fairly common case (wallets with zero balance) the ledger server is getting hit much more than it should