VPN Server Accounting Setup

I have configured All VPNs, PPTP, L2TP and OVPN. I am intending to give out accounts for users. But I like to keep accounting, for example, If I give an account to a user for one month period, I want Mikrotik to keep the track of the time and disconnect the user after one month. And when he pays his monthly fee, then his account to be renewed. What option of the MikroTik should be configured to have this possibility? Please help me to configure the required option. Simply you can name which option I need, I will do search and find out how to set it up. (Any tutorial links will be more helpful as well)

Regards,
justa

accounting is billing system’s task. RouterOS is simple NAS. you may look at MikroTik UserManager or some other solutions

RADIUS