Agreements with payment processors are needed to process payments on platforms like that, so it’s not a feasible thing for a small open source project to pull off IMO.
If you just want limits on virtual cards, some credit cards have that built in already, Citi for example.
They do that too, because they generate a unique virtual card number each time.