Copilot Credits API
Copilot Credits are the prepaid pool that pays for Subscriby Copilot once the month's free allowance is used: paid credit from packs of $10, $25, $50 and $100, and free credit, the bonus the three larger packs add, a promotion or goodwill, spent before the paid part.
Copilot Credits are the prepaid pool that pays for Subscriby Copilot once the month's free allowance is used: paid credit from packs of $10, $25, $50 and $100, and free credit, the bonus the three larger packs add, a promotion or goodwill, spent before the paid part. Every plan includes free operator turns and member answers each month; past them a turn, an inbox suggestion or a member answer draws its price from the pool. The pool is the creator's own, never a project's, and never touches the Stripe customer balance or a plan invoice.
These routes are about the caller's own credits, so they live under /v1/me and need no project or team in the path. The two reads need account:read, the two writes account:write. Every amount is an integer in US cents.
Buying is a redirect, not a charge.
POST /v1/me/copilot-credits/packsopens a Stripe Checkout session and answers its URL. Nothing is charged and no credit lands until the creator pays on that page; the session reports back through Stripe's webhook, andcopilot_credits.purchasedfires when the credit is granted. A pack cannot be bought from a server alone.
Endpoints
/v1/me/copilot-creditsYour Copilot CreditsGET/v1/me/copilot-credits/statementYour statementPOST/v1/me/copilot-credits/packsBuy a packPATCH/v1/me/copilot-credits/settingsChange the auto top-up and the capRelated
How is this guide?
Last updated on