Version
DESTRUCTIVE

create_copilot_credits_pack

Open the purchase of a pack of Copilot Credits and get the Stripe Checkout URL the creator pays on — nothing is charged until they do.

Open a pack purchase for the creator behind the token and answer the Stripe Checkout URL to send them to, with the pack's paid_cents and bonus_cents. The money is paid on Stripe's page by a person: nothing is charged and no credit lands until they pay there, the card they pay with is saved for the auto top-up, and the pending purchase is credited, bonus included, when Stripe reports the session paid. copilot_credits.purchased fires then, not now.

pack is one of the packs get_copilot_credits lists on sale: starter ($10), regular ($25 with $2.50 free), plus ($50 with $7.50 free) or max ($100 with $15 free).

A link, not a charge

This tool cannot buy credit by itself, and that is the point: an agent can put the right pack in front of the creator, but only the creator pays. A session nobody pays expires on its own and grants nothing.

Requires ability

The token behind the MCP session must hold it, or the call is refused with TOKEN_MISSING_ABILITY.

Runs the same action as

The REST endpoint and this tool share one action, so validation, permissions and events are identical.

Annotations

DestructiveOpen world

A client that honours annotations asks a person before running it. It reaches beyond Subscriby: a connector, a provider or a member.

Arguments

pack*string

The pack to buy: "starter" ($10), "regular" ($25 with $2.50 free), "plus" ($50 with $7.50 free) or "max" ($100 with $15 free).

What it returns

{  "data": {    "pack": "regular",    "label": "Regular Pack",    "paid_cents": 2500,    "bonus_cents": 250,    "checkout_url": "https://checkout.stripe.com/c/pay/cs_live_…"  }}

How it fails

VALIDATION_FAILED

pack is missing, not one of the four, or names a pack with no price in this environment.

AUTHENTICATION_REQUIRED

no authenticated user on the request.

TOKEN_MISSING_ABILITY

token lacks account:write.

How is this guide?

Last updated on