---
title: "Dodo Checkout"
method: POST
path: "/api/payments/dodo/checkout"
---

# Dodo Checkout

`POST /api/payments/dodo/checkout`

## Request

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

## Request body

- DodoCheckoutRequest
  - `birthInput` object, nullable
  - `freeInsightId` string, nullable
  - `freeChartRunId` string, nullable
  - `purchaseMode` string
  - `packCode` string, nullable
  - `advisorPlan` string, nullable
  - `returnTo` string, nullable
  - `reportChartId` string, nullable
  - `reportChartFingerprint` string, nullable
  - `reportPointsCost` integer, nullable
  - `attribution` DodoCheckoutAttribution
    - `visitorId` string, required
    - `sessionId` string, required
  - `locale` 'zh-CN' | 'zh-Hant' | 'en'

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi.md) · [All operations](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi/llms.txt) · [OpenAPI document](https://skmtc.dev/yuanzizhiyi/apis/yuanzi-zhiyi/revisions/d063fae7ac16?raw)
