https://chatgpt.com/?promoCode=STRIPEATLASGPT4BIZ050126
免费ChatGPT 2个月 Business 领取
付款失败的在控制台输入以下代码,会有付款链接,进去付款即可
[upvote]
(async function () {
const session = await fetch("/api/auth/session").then(r => r.json());
if (!session.accessToken) throw new Error("未登录或 Token 获取失败");
const res = await fetch("https://chatgpt.com/backend-api/payments/checkout", {
method: "POST",
mode: "cors",
credentials: "include",
headers: {
"authorization": `Bearer ${session.accessToken}`,
"content-type": "application/json",
"chatgpt-account-id": session.user?.id ?? "",
"oai-language": "zh-CN",
},
referrer: "https://chatgpt.com/?promoCode=STRIPEATLASGPT4BIZ050126",
body: JSON.stringify({
entry_point: "team_workspace_purchase_modal",
plan_name: "chatgptteamplan",
team_plan_data: {
workspace_name: "XiChen",
price_interval: "month",
seat_quantity: 2
},
billing_details: { country: "US", currency: "USD" },
cancel_url: "https://chatgpt.com/?promoCode=STRIPEATLASGPT4BIZ050126",
promo_code: "STRIPEATLASGPT4BIZ050126"
})
});
const data = await res.json();
if (data.url) {
console.log("✅ 支付链接:", data.url);
} else {
console.error("❌ 失败:", data);
}
})();
[/upvote]
来源 https://t.me/pk_oa xigege ( @pastking ) 的tg频道,欢迎关注➕
23
152

152 条回复
排序