Purchase credits
Changed onPurchases credits for a Vercel team using the default payment method on file. The purchase is charged immediately via Stripe invoice. Supported credit types are v0, gateway, and agent. The amount field specifies the number of credits to purchase and must be a positive integer. An optional source query parameter can be provided to identify the caller. Defaults to api if not specified. This is only available for Owner, Member, Developer, Security, and Billing roles for the supplied team.
Request
- Base URL: https://api.vercel.com
- URL: https://api.vercel.com/v1/billing/buy
- Auth: HTTP bearer
Query parameters
The source of the purchase request. Defaults to api if not specified.
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Request body
Response
Changes
- info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
/////to the response with the status
- info
- breaking
added
subschema #1subschema #2subschema #3subschema #4to the//response propertyoneOflist for the response status - info
removed
subschema #1subschema #2subschema #3subschema #4from the//response propertyoneOflist for the response status
- breaking