This is a new issue in comparison to my old post. So, I’m trying to make it so it will purchase a limited in python. I get status code 200 when I print the request’s status code but it doesn’t charge my account nor give me the limited item. I don’t get any errors. Maybe I’m using the wrong type of item/asset id? Here is my current code:
xsrfRequest = requests.post(authurl, cookies={
'.ROBLOSECURITY': cookie
})
buyreq = requests.post(
"https://economy.roblox.com/v1/purchases/products/" + str(assetid), cookies = {'.ROBLOSECURITY': cookie}, data={"expectedCurrency": 1, "expectedPrice": seller['price'],"expectedSellerId": seller['seller']['id']}, headers={
"X-CSRF-TOKEN": xsrfRequest.headers["x-csrf-token"],
"Content-Type": "application/json ; charset=utf-8"
}
)
I hope someone can help.