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

# Create Onerway Order

`POST /api/onerway/v1/pay`

## Query parameters

- `app_id` string, required

## Request body

- OnerwayItem
  - `plan_id` string, required — 套餐id
  - `email` string, required — 邮箱
  - `country` string — 国家
  - `transactionIp` string, required — ip
  - `javaEnabled` boolean — javaEnabled
  - `screenHeight` string, required — 屏幕高度
  - `colorDepth` string, required — 颜色深度
  - `screenWidth` string, required — 屏幕宽度
  - `timeZoneOffset` string, required — 时区偏移
  - `accept` string, required — accept
  - `userAgent` string, required — userAgent
  - `contentLength` string, required — contentLength
  - `language` string, required — 语言
  - `onerway_redirect_url` string — 回调地址

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/videofaceswap/apis/fastapi.md) · [All operations](https://skmtc.dev/videofaceswap/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/videofaceswap/fastapi/revisions/76b11ccab8af/schema)
