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(DynamicPricing): Accept precise_total_amount_cents when creating an event #2610

Merged
merged 2 commits into from
Sep 23, 2024

Conversation

vincent-pochet
Copy link
Collaborator

@vincent-pochet vincent-pochet commented Sep 20, 2024

Context

AI, CPaaS and Fintech customers can apply a price to a unit that fluctuates over time. Currently Lago does not support this usecase.

Description

This PR updates POST /api/v1/events and POST /api/v1/batch_events to accept the new precise_total_amount_cents field on event model.

@vincent-pochet vincent-pochet merged commit eab2aab into main Sep 23, 2024
6 checks passed
@vincent-pochet vincent-pochet deleted the event-precise-amount-cents branch September 23, 2024 09:47
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