---
title: "Create Checkout"
method: POST
path: "/api/v1/payments/stripe/checkout"
tags: ["Payments"]
---

# Create Checkout

`POST /api/v1/payments/stripe/checkout`

## Request

- Base URL: `https://cryptodataapi.com`
- URL: `https://cryptodataapi.com/api/v1/payments/stripe/checkout`
- Auth: API key in header `X-API-Key`

Start a recurring card subscription. Returns a Stripe Checkout URL to redirect to.

## Request body

- StripeCheckoutRequest: Start a Stripe Checkout session for a recurring card subscription.
  - `plan` 'monthly' | 'monthly_plus' | 'annual' | 'annual_plus', required
  - `discount_code` string, nullable

## Response `200`

Successful Response

- StripeCheckoutResponse
  - `checkout_url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/cryptodataapi/apis/crypto-data-api.md) · [All operations](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cryptodataapi/apis/crypto-data-api/revisions/8628b754ca81?raw)
