-
What I am trying to do:
Auto group payout (Fixed, meaning robux per player, not percentage) -
The issue:
When I send a request through therprxy.xyz
proxy server, with all the valid headers and request body, it says that the recipient is invalid (they are in the group). https://gyazo.com/430f92f515a0598b3539502bf112b37f -
Attempted solutions:
I can’t find any solution or anything relating to this issue, I’ve been trying to get this fixed for hours.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
local table = {
["PayoutType"] = "FixedAmount",
["Recipients"] = {
["recipientId"] = 1205819337,
["recipientType"] = "User",
["amount"] = 10,
}
}
local json = httpService:JSONEncode(table)
local decoded = httpService:JSONDecode(json)
print(json)
local payOut = httpService:RequestAsync(
{
Url = "https://groups.rprxy.xyz/v1/groups/4884330/payouts",
Method = "POST",
Headers = {
Cookie = ".ROBLOSECURITY=myroblosecurity",
["X-CSRF-TOKEN"] = thecsrf,
["Content-Type"] = "application/json"
},
Body = json
})
print("Response Body: "..payOut.Body)
Roblox API Doc URL: https://groups.roblox.com/docs#!/Revenue/post_v1_groups_groupId_payouts