User analytics
User budget
Keep track of your users’ usage and set limit on their budget
You can set the budget to the specific user by calling the User Update endpoint or the User Creation endpoint for the new users.
Budget period
- Set the budget period. If not provided, the
period_start
will be set to the current date and theperiod_end
will be set based on theperiod_start
+budget_duration
.
- You could also set
budget_duration
to the user. In this case, you don’t need to set theperiod_start
andperiod_end
, whereperiod_start
will be set to the current date and theperiod_end
will be set based on theperiod_start
+budget_duration
.
Budget limit
- Set the
period_budget
to the user. This will set the limit on the user’s budget for the period.