put https://api.accelevents.com/rest/host/event//chargebee/billing
This API is used to update billing settings through Chargebee. This endpoint can be accessed by users with event admin access or greater. We need to request body of ActiveModulesDto, query param of token, country code. In ActiveModulesDto pass a module Name like RAFFLE, TEXT_TO_GIVE etc and plan name like Starter, Professional, etc and quantity, needToActivate.
if the API is executed successfully. it returns a Success response.
Here are the possible error messages, which return if any condition gets failed or required data is missing for processing.
Error Code | Error Description |
---|---|
4060005 | Please select one module to active |
4060528 | Card token not found |
4040104 | White Label Admin required for text-to-give subscription |
4060523 | Text-to-give subscription is not created |
4060006 | Country code required to active module |
4040200 | Event not found. |