Hello Alireza,
Yes, your assumption is correct. I wasn't able to find a more appropriate RADIUS attribute, but it shouldn't be difficult to accomplish your task using ERX-Service-Volume attribute.
For example, you can configure a subscriber with a firewall filter that denies all traffic, and activate a dynamic service with firewall filter with better preference that allows everything ("any any"). ERX-Service-Volume attribute can be used to manage volume of traffic that can be consumed by this subscriber.
HTH
Best regards,
Sergii
-------------------------------------------------------------------
Please accept the solution if your problem is resolved
-------------------------------------------------------------------