First of all, I've used PlayFab a few years back and I totally loved it. But seeing how far you guys have come, wow! It's truly amazing to see the amazing changes this service has gone through. Congratz guys!
So, for my question. (Hopefully) soon I'll start the design and development of a new multiplayer game. And because I have had so many good times with PlayFab, I'll obviously choose PlayFab as the player management backend. Ofcourse my game will incorporate purchasable items and stuff like that, so I'd like to handle these using the CloudScript feature. Since CloudScript has full access of the server API it's able to remove VC, grant items, and other stuff. There was one thing I couldn't find however. That's the possibility to check the user's (or character's) current VC. I thought maybe the subtract currency will give an error if there isn't enough VC left, but I could only see errors for InvalidVirtualCurrency and InvalidParams.
Is there any way to check if there is enough VC left before subtracting it? Also, what will the SubtractVC function return if there isn't enough? Just 0?
Thanks for creating this awesome platforms guys!