---
title: "Checkout"
method: POST
path: "/api/bps-set/checkout"
tags: ["Other"]
---

# Checkout

`POST /api/bps-set/checkout`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/bps-set/checkout`
- Auth: none declared

## Headers

- `X-API-Key` string, nullable

## Request body

- BpsCheckout
  - `lat` number, required
  - `lon` number, required
  - `location_name` string, required
  - `leap_day` string
  - `success_url` string, required
  - `cancel_url` string, required
  - `withdrawal_waiver` boolean
  - `years` integer[]

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-29** `d10fcbe2b573`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/epw/apis/epw-tools-api/changes/api/bps-set/checkout/post.md)

---

[API](https://skmtc.dev/epw/apis/epw-tools-api.md) - [All operations](https://skmtc.dev/epw/apis/epw-tools-api/llms.txt) - [OpenAPI document](https://skmtc.dev/epw/apis/epw-tools-api/revisions/d725849ac85e?raw)
