登录官网,浏览器按F12或者右键点击检查,点击第二个选项卡,Console/控制台,输入下面的代码。
记得Bearer ey…..要换成自己的ey开头的字符。
await fetch("https://chat.openai.com/backend-api/payments/checkout", {
method: "POST",
headers: {
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36",
"Authorization": "Bearer ey....."
},
redirect: 'follow',
referrerPolicy: 'no-referrer'
})
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));
就能获得支付链接,之后走Stripe绑卡支付就可以了