---
title: "Apple Signature"
method: POST
path: "/appleSignature"
tags: ["Pay"]
---

# Apple Signature

`POST /appleSignature`

响应契约：SignatureResult。

需要登录。 需要请求签名。 响应会经过加密中间件。

认证要求：需要登录。

签名要求：需要请求签名。

响应处理：默认会经过响应加密。

## Headers

- `lang` string — 语言代码，例如 en、zh、es。
- `device_number` string — 设备唯一标识。
- `app_version` string — 客户端版本号。
- `timestamp` integer — 请求时间戳（秒）。
- `signature` string — 接口签名。

## Request body

- object
  - `appBundleID` string
  - `productIdentifier` string
  - `offerIdentifier` string
  - `applicationUsername` string
  - `appAccountToken` string

## Response `200`

请求成功

- object
  - `code` integer, required
  - `msg` string, required
  - `data` SignatureResult, required
    - `signature` string
    - `nonce` string
    - `timestamp` integer
    - `keyIdentifier` string
  - `info` object, required
  - `is_encrypt` 0 | 1, required
  - `request_id` string, required
  - `response_time` integer, required
  - `original_data` object

## Other responses

- `400` — 请求失败

---

[API](https://skmtc.dev/flextv/apis/flextv-api.md) · [All operations](https://skmtc.dev/flextv/apis/flextv-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flextv/flextv-api/revisions/84f55eb57fd0/schema)
