---
title: "Create a human Stripe checkout that preserves the trial account and project"
method: POST
path: "/trials/{trialId}/upgrade"
---

# Create a human Stripe checkout that preserves the trial account and project

`POST /trials/{trialId}/upgrade`

## Request

- Base URL: `https://platform.digitalpublic.com/api/commercial`
- URL: `https://platform.digitalpublic.com/api/commercial/trials/{trialId}/upgrade`
- Auth: HTTP bearer

## Path parameters

- `trialId` string, required

## Request body

- object
  - `plan` 'observer' | 'operator' | 'partner', required

## Response `200`

Human checkout URL

## Other responses

- `409`: Email verification or trial account is incomplete

---

[API](https://skmtc.dev/digitalpublic/apis/digitalpublic-commercial-api.md) · [All operations](https://skmtc.dev/digitalpublic/apis/digitalpublic-commercial-api/llms.txt) · [OpenAPI document](https://skmtc.dev/digitalpublic/apis/digitalpublic-commercial-api/revisions/45f28be9a8e2?raw)
