---
title: "Apple iOS and tvOS Purchase Validation (COPY)"
method: POST
path: "/storekit2/purchase-validation"
---

# Apple iOS and tvOS Purchase Validation (COPY)

`POST /storekit2/purchase-validation`

## Request

- Base URL: `https://mediastoreapi-sandbox.cleeng.com`
- URL: `https://mediastoreapi-sandbox.cleeng.com/storekit2/purchase-validation`
- Auth: API key in header `Authorization`

WORK IN PROGRESS Use this endpoint to validate an initial in-app purchase made via iOS/tvOS (for integrations using StoreKit 2 framework). **Note:** This endpoint uses <<glossary:JWT>> for [authorization](https://developers.cleeng.com/reference/getting-started#authorization).

## Headers

- `Authorization` string, required

## Request body

- object
  - `cleengCustomerId` integer, required: The identifier of Cleeng customer
  - `originalTransactionId` string, required: The original transaction identifier of a purchase.
  - `ipAddress` string: The IP address of a customer (an optional parameter).

## Response `202`

202

## Other responses

- `400`: 400
- `422`: 422
- `500`: 500

## Changes

- **2026-11-03** `b4b65aa4f14c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cleeng/apis/mediastore-api/changes/storekit2/purchase-validation/post.md)

---

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