---
title: "Account Checkout Session"
method: POST
path: "/v1/account/checkout-session"
---

# Account Checkout Session

`POST /v1/account/checkout-session`

## Request

- Base URL: `https://api.exchangerate.dev` (the document declares no server; this is the origin it was published from)
- URL: `https://api.exchangerate.dev/v1/account/checkout-session`
- Auth: none declared

Website checkout: ownership comes exclusively from the verified login.

## Request body

- CheckoutRequest: Selected paid plan; account identity comes from verified server-side auth.
  - `plan` 'basic_2026' | 'plus_2026' | 'pro_2026', required
  - `interval` string

## Response `200`

Successful Response

- CheckoutResponse
  - `result` string
  - `action` string, required
  - `url` string, required
  - `expires_at` string, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-13** `d4848032950e`: 3 breaking, 3 info
  - removed the enum value `basic` of the request property `plan`
  - removed the enum value `pro` of the request property `plan`
  - removed the enum value `realtime` of the request property `plan`
  - added the new `basic_2026` enum value to the request property `plan`
  - …2 more
- **2026-10-10** `870fda3b2b54`: 1 breaking, 4 info
  - request property `plan` was restricted to a list of enum values
  - added the new `basic` enum value to the request property `plan`
  - added the new `pro` enum value to the request property `plan`
  - added the new `realtime` enum value to the request property `plan`
  - …1 more
- **2026-10-01** `d77be21453a9`: 1 warning
  - changed the pattern of the request property `plan` from `^(basic|pro|realtime)$` to `^(basic|pro|realtime|basic_2026|plus_2026|pro_2026)$`
- **2026-09-16** `55389dee7e4b`: 1 warning
  - changed the pattern of the request property `plan` from `^(basic|pro)$` to `^(basic|pro|realtime)$`
- **2026-09-14** `c6051bf62c95`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/exchangerate/apis/exchangerate-dev/changes/v1/account/checkout-session/post.md)

---

[API](https://skmtc.dev/exchangerate/apis/exchangerate-dev.md) - [All operations](https://skmtc.dev/exchangerate/apis/exchangerate-dev/llms.txt) - [OpenAPI document](https://skmtc.dev/exchangerate/apis/exchangerate-dev/revisions/87db12560e4a?raw)
