I have a question related to pricing if you can help me

Hi,
I am building saas mobile and web apllication. And now my clients wants to add option for video calls, conference calls… I will use premiom options for openvidu because I do have servers to make it work on my servers. So my question is, did openvidu have option for this: user from some team make a room or session, then when he complete this session, openvidu send me some webhook how much time that session lasted and how much it will costs? To I can make invoice for that team which user made that session and know how much it costs.
And one more question. Is openvidu charge right a way after session completed or at the end of month or some billing interval?

Pricing information is here: OpenVidu Pricing

Pricing does not work per session, but per core used in your OpenVidu installation while OpenVidu Server is running. You don’t need to calculate any invoice based on session, you can simply take into account the number of cores of your system, and multiply by 24hours to know the price per hour. You have examples of pricing in the previous link.

Regarding your webhook logic, you need to develop an application which does that. OpenVidu offers a webhook service, so technically you can receive a webhook when a session is finished (OpenVidu Webhook - OpenVidu Docs).