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(tresholds): Add serializers #2371

Merged
merged 1 commit into from
Aug 6, 2024
Merged

Conversation

ivannovosad
Copy link
Contributor

Roadmap Task

👉 https://getlago.canny.io/feature-requests/p/progressive-billing

Context

There's always a risk of customers not paying invoices generated at the end of a billing period. It would be beneficial to bill customers at given thresholds (units vs. amount) rather than waiting until the end of the period. This approach would allow for removing customer access if invoices are not paid and prevent having a highest amount of unpaid invoices.

Description

  • Add ProgressiveBillingTresholdSerializer
  • Update PlanSerializer wtih progressive_billing_tresholds

Base automatically changed from feat-tresholds-model to main August 5, 2024 13:24
@ivannovosad ivannovosad merged commit 94755fe into main Aug 6, 2024
6 checks passed
@ivannovosad ivannovosad deleted the feat-tresholds-serializers branch August 6, 2024 09:45
abdussamadbello pushed a commit to abdussamadbello/lago-api that referenced this pull request Aug 8, 2024
## Roadmap Task

👉  https://getlago.canny.io/feature-requests/p/progressive-billing

## Context

There's always a risk of customers not paying invoices generated at the
end of a billing period. It would be beneficial to bill customers at
given thresholds (units vs. amount) rather than waiting until the end of
the period. This approach would allow for removing customer access if
invoices are not paid and prevent having a highest amount of unpaid
invoices.

## Description

- Add `ProgressiveBillingTresholdSerializer`
- Update PlanSerializer wtih `progressive_billing_tresholds`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants