---
title: "Autonomous Agent Plan Upgrade & Refill"
method: POST
path: "/api/v1/agent/checkout"
---

# Autonomous Agent Plan Upgrade & Refill

`POST /api/v1/agent/checkout`

## Request

- Base URL: `https://seminara.online`
- URL: `https://seminara.online/api/v1/agent/checkout`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (scopes: `checkout:write`)

Allows an AI agent to initiate a plan upgrade or credit refill.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `planId` 'pro' | 'scale'

## Response `200`

Checkout session created

- object
  - `checkout_id` string
  - `payment_url` string

---

[API](https://skmtc.dev/seminara/apis/seminara-online-openapi-3-1-specification-rest-api-reference.md) · [All operations](https://skmtc.dev/seminara/apis/seminara-online-openapi-3-1-specification-rest-api-reference/llms.txt) · [OpenAPI document](https://skmtc.dev/seminara/apis/seminara-online-openapi-3-1-specification-rest-api-reference/revisions/3e030fb36cef?raw)
