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

# Create Onerway Order

`POST /api/onerway/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/onerway/v1/pay`
- Auth: HTTP bearer

## 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/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)
