---
title: "Create Dodo Order"
method: POST
path: "/api/dodo/v1/pay"
tags: ["pay"]
---

# Create Dodo Order

`POST /api/dodo/v1/pay`

## Request

- Base URL: `https://api.videofaceswap.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.videofaceswap.io/api/dodo/v1/pay`
- Auth: HTTP bearer

## Query parameters

- `app_id` string, required

## Request body

- DodoPayItem
  - `plan_id` string, required: 套餐id
  - `user_id` string, required: 用户id
  - `email` string, required: 邮箱
  - `transaction_id` string, required: 前端生成的交易id
  - `external_result_page_url` string: 支付完成最终跳转的外站结果页面
  - `redirect` boolean: 支付完成是否进行页面跳转

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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