You'll need to write a custom native extension for that. You can use
this as reference on how to communicate with Steam API from C++ and have the functions callable from GML.
Update: For anyone coming here from search, apparently the only game-side event in microtransaction flow is auth response so I added
an event for that to my Steam API extension, and the rest
must be done by your authoritative server.