---
title: "Stripe Checkout"
method: POST
path: "/api/stripe/checkout"
tags: ["Stripe"]
---

# Stripe Checkout

`POST /api/stripe/checkout`

## Request

- Base URL: `https://api.dataroia.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dataroia.com/api/stripe/checkout`
- Auth: OAuth 2 (password, token URL `/api/auth/login`)

Crée une Stripe Checkout Session (CT0 inclus) et retourne l'URL, coupon optionnel.

## Request body

- CheckoutRequest
  - `offre_code` string, required
  - `coupon_code` string, nullable
  - `segment` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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