Hi! I am using group APIs v1. What I want to do is to create a script in js that will allow me to withdraw Robux from my group to some users. I created(shown in the image below.)
I already created code just problem is that I don’t know how to authorization be valid. I don’t know even where to put it. I would really appreciate your help.
That type of requests need authentication so you need to pass in the headers of the request the .ROBLOSECURITY cookie of the account you are using to give robux.
Well I don’t know how the library you are using works but that is how headers are sent you should try to read the documentation to understand how it works and how to send headers. I suggest using axios which is also easier.
send your new code so we can see how you are doing it. i would also suggest to test this with the code runner that is provided in the documentation you sent
I have no experience with the currently library and usually just use noblox or something along those lines for all Roblox stuff, it makes stuff like this pretty much foolproof and pretty impossible to mess up on. I’ll try giving it a go in a bit and probably have a solution for you when I get the time to if you’re still experiencing this.
Just a quick question though, have you considered using noblox for this? They have something for group payouts. If so, is there a reason you’ve decided not to use noblox? I could provide some sample code using noblox if you wanted or another library I’m familiar with.