create_checkout_link
ChatGPT’s tool list does not include
create_checkout_link. Claude and other clients that do not identify themselves as OpenAI-hosted clients keep this tool.plan and creditPackage. Only a workspace owner can buy, and the link expires after 24 hours.
A plan can only be bought for a workspace without a paid plan yet. To change an existing plan, or for an education discount, use the billing page.
pro_monthly, pro_yearly, premium_monthly or premium_yearly. Any paid plan exports in 4K and generates AI images and video; 60 FPS needs Premium, or Pro for videos up to 5 minutes. See pricing.A credit package id: the number of credits in thousands, such as
25k, 100k or 1000k. An unknown id fails with every package on offer and its price.url, the amountCents and currency due now (before tax) and, for a plan, its billing interval and seats (one per workspace member), or for a credit package, the credits it adds.
Credits bought this way are the same one-time packages sold on the billing page. The monthly credit top-up isn’t available here; change it on the billing page.
list_invoices
List the workspace’s invoices, newest first, as the Stripe billing portal under Settings → Plans & Billing shows them. Only a workspace owner can list them. Drafts are left out, so a page can hold fewer invoices thanlimit.
Returns invoices and nextCursor, which is null on the last page. Each invoice has its id, number, status (open, paid, void or uncollectible), currency, total, amountDue and amountPaid in the currency’s smallest unit (cents for USD), createdAt, periodStart and periodEnd (the span its line items bill for: a renewal covers the period ahead, though one carrying proration credits starts in the period before; only the first 10 line items count; null when it has none), hostedInvoiceUrl (Stripe’s page to view or pay it) and invoicePdfUrl (the PDF). Anyone with one of those links can open it. A workspace on its free trial may have only a $0 invoice for the trial.
If a cursor is no longer valid, the call fails; list again from the first page.
The same list is available over the REST API at GET /v1/workspace/invoices.