你们的英区48team这个月扣钱了吗?

luoye 2026-08-12 20:43 1

我和我朋友的这个月都是扣的0镑




这是为啥?

最新回复 (28)
  • Kingrz 08-12 20:44
    1

    ???


    难道是这个promote code升级了?


    我昨天扣的,还是11£

  • xzxc 08-12 20:45
    2

    我11o

  • ShowUNow 08-12 20:45
    3

    ?我俩都扣的11磅啊

  • luoye 楼主 08-12 20:51
    4

    上个月我记得搞过一个美国team的0元活动,但是我记得那个当时对已有team的是发额度的来着,难道也生效了?

  • 骑士斯诺70 08-12 20:57
    5

    @luoye #4 优惠码被覆盖了,你48月team没了 ^-^

  • Grok 08-12 20:58
    6

    扣了

  • luoye 楼主 08-12 20:58
    7

    @骑士斯诺70 #5 中计了? ^-^

  • musks 08-12 20:59
    8

    扣了11英镑

  • rxbs 08-12 21:00
    9

    楼主牛福,这是卡出来两席位免费bug了吗 ^-^ ^-^ ^-^

  • funnymudgopeee 08-12 21:00
    10

    @luoye #7 48个月英区用一个月免费美区优惠活动?被覆盖了吧?你可能亏大了

  • bestmjj 08-12 21:01
    11

    @luoye #4 楼主朋友也参加这个活动了吗

  • bscat 08-12 21:02
    12

    扣了11英镑

  • luoye 楼主 08-12 21:02
    13

    @bestmjj #11 是的

  • bestmjj 08-12 21:04
    14

    @luoye #13 大概率覆盖 只能再等出账单看了

  • luckyboy 08-12 21:11
    15

    @luoye #13


    (async () => {
    try {
    const sessionResp = await fetch('/api/auth/session', {
    credentials: 'include'
    });if (!sessionResp.ok)
    throw new Error('获取 session 失败,请先登录 chatgpt.com');
    const session = await sessionResp.json();
    const accessToken = session.accessToken;
    if (!accessToken)
    throw new Error('没有 accessToken,请先登录 chatgpt.com');

    const headers = {
    Authorization: `Bearer ${accessToken}`,
    Accept: 'application/json',
    'Content-Type': 'application/json',
    'oai-language': 'zh-Hant',
    'oai-device-id': crypto.randomUUID(),
    };

    const getJson = async (url, options = {}) => {
    const r = await fetch(url, { headers, ...options });
    const text = await r.text();
    if (!r.ok) {
    // 特殊处理权限错误
    if (r.status === 401 && text.includes('Only account owners can perform this action')) {
    console.warn(`⚠️ 权限不足:你不是该账户的 Owner,无法访问 ${url}`);
    return null; // 不抛出错误,让流程继续
    }
    throw new Error(`${url} HTTP ${r.status}: ${text.slice(0, 300)}`);
    }
    return JSON.parse(text);
    };

    // 获取账户列表
    const accountCheck = await getJson('/backend-api/accounts/check/v4-2023-04-27');
    const accounts = accountCheck.accounts || {};

    // 优先使用 session 中的主账户 ID(如果你是 Owner,这通常就是你自己的账户)
    const primaryAccountId = session.account?.id;

    // 如果没有主账户 ID,再尝试取第一个
    let accountId = primaryAccountId;
    if (!accountId) {
    const firstKey = Object.keys(accounts)[0];
    accountId = accounts[firstKey]?.account?.account_id || firstKey;
    }

    if (!accountId) throw new Error('未找到有效 account_id');

    console.log(`使用的 Account ID: ${accountId}`);
    console.log(`当前账户类型: ${session.account?.planType || '未知'}`);
    console.log('正在拉取账单信息(如果你不是 Owner,支付接口会跳过)...\n');

    // 并行请求,但支付类接口如果失败不会阻塞
    const [invoices, paymentMethods, billingInfo] = await Promise.all([
    getJson(`/backend-api/invoices?limit=10&account_id=${encodeURIComponent(accountId)}`),
    getJson(`/backend-api/payments/payment_methods?account_id=${encodeURIComponent(accountId)}`),
    getJson(`/backend-api/payments/billing_info?account_id=${encodeURIComponent(accountId)}`),
    ]);

    const result = {
    email: session.user?.email,
    plan: session.account?.planType || 'unknown',
    accountId,
    accessTokenStatus: 'exists (已自动获取)',
    invoices,
    paymentMethods,
    billingInfo,
    };

    console.log('✅ 账单提取结果:', result);
    if (invoices === null || paymentMethods === null || billingInfo === null) {
    console.warn('⚠️ 部分支付信息无法获取,因为你不是该账户的 Owner。');
    console.warn('👉 请让工作区 Owner 使用此脚本,或切换到个人订阅的账号。');
    }
    console.log('账单管理页:', `https://chatgpt.com/account/manage?account_id=${encodeURIComponent(accountId)}`);

    // 挂到全局方便查看
    window.__billingResult = result;
    return result;
    } catch (err) {console.error('❌ 脚本执行出错:', err.message);}})();

    控制台执行,可以看下月账单

  • cntink 08-12 21:14
    16

    @luckyboy #15

    何必这么麻烦,打开链接不就能看?https://chatgpt.com/admin/billing


  • luckyboy 08-12 21:15
    17

    @cntink #16 不懂就去问AI。这都不一样。都说了下月账单

  • rainman 08-12 21:18
    18

    @luckyboy #17 脚本可以看下个月的账单

  • 纠结伦 08-12 21:20
    19

    覆盖了的话不是亏麻了

  • inrocn 08-12 21:20
    20

    这个标记一下,感觉有用

  • tylerdd 08-12 21:20
    21

    扣了11

  • kkkku 08-12 21:22
    22

    11 磅 ^-^

  • luoye 楼主 08-12 21:34
    23

    @luckyboy #15 看了 下个月36磅 我亏麻了 ^-^

  • luckyboy 08-12 22:02
    24

    @luoye #23 哈哈,这个会顶掉之前的优惠码的

  • xiaojudy 08-12 22:25
    25

    上当了

  • Lanyu 08-13 00:55
    26

    看到结果 没绷住

  • skyil 08-13 01:00
    27

    看看下个月账单

  • LogicNova 08-13 07:56
    28

    看来都扣了11镑

* 帖子来源NodeSeek
返回