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

# Checkout

`POST /api/v1/payments/create-checkout-session`

## Request

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

Create a Stripe Checkout session for a subscription tier.

## Request body

- CheckoutRequest
  - `tier` string, required
  - `interval` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/africadb/apis/africa-data-bank-api.md) · [All operations](https://skmtc.dev/africadb/apis/africa-data-bank-api/llms.txt) · [OpenAPI document](https://skmtc.dev/africadb/apis/africa-data-bank-api/revisions/2a50da82945b?raw)
