Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(wallet): Handle method and target_ongoing_balance for recurring transaction rule #2051

Merged
merged 4 commits into from
May 23, 2024

Conversation

rsempe
Copy link
Collaborator

@rsempe rsempe commented May 21, 2024

Roadmap Task

👉 https://getlago.canny.io/feature-requests/p/define-a-target-balance-to-reach-for-recurring-top-up

Context

We want to allow users to top-up their wallets to reach a specific target balance.

We can currently define a fixed top-up but we want to add the ability to specify a dynamic top-up (target balance to reach).

Description

The goal of this PR is to:

  • add target_ongoing_balance to recurring_transaction_rules table
  • accept method and target_ongoing_balance on wallet creation (API & GraphQL)
  • accept method and target_ongoing_balance on wallet update (API & GraphQL)

@rsempe rsempe added the Wallet label May 21, 2024
@rsempe rsempe force-pushed the feat-wallet-target-topup branch 2 times, most recently from 8b4977f to 3e89eb3 Compare May 22, 2024 13:50
@rsempe rsempe force-pushed the feat-wallet-target-topup branch from 3e89eb3 to c0bc763 Compare May 23, 2024 08:33
@rsempe rsempe force-pushed the feat-wallet-target-topup branch from c0bc763 to 10cf908 Compare May 23, 2024 09:01
@rsempe rsempe force-pushed the feat-wallet-target-topup branch from 10cf908 to 9bb0e61 Compare May 23, 2024 09:06
@rsempe rsempe merged commit a9ec586 into main May 23, 2024
6 checks passed
@rsempe rsempe deleted the feat-wallet-target-topup branch May 23, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants