---
title: "Vizio"
method: POST
path: "/purchase-validation"
---

# Vizio

`POST /purchase-validation`

Use this endpoint to notify Cleeng about Vizio in-app payment and to validate the purchase. <br>  <br>Please note that **this endpoint can be authorized with a publisher (X-Publisher-Token) or JWT (Bearer) token**. Depending on how you integrate with Cleeng (directly or through middleware), use either a <<glossary:JWT>> or X-Publisher-Token header authorization. <br> <br> <span style="color:blue">**Please use JWT (Bearer) token to try out the endpoint in the API console in this documentation**.</span>

## Headers

- `JWT or X-Publisher-Token` string, required
- `Correlation-id` string

## Request body

- object
  - `cleengCustomerId` integer, required — Customer identifier at Cleeng.
  - `vizioSubscriptionId` string, required — Subscription identifier at Vizio.
  - `ipAddress` string — Customer's IP address. Accepted: IPv4, IPv6.

## Response `202`

202

- object
  - `message` string
  - `data` object
    - `correlationId` string

## Other responses

- `422` — 422
- `500` — 500

---

[API](https://skmtc.net/cleeng/apis/mediastore-api.md) · [All operations](https://skmtc.net/cleeng/apis/mediastore-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cleeng/mediastore-api/versions/00cbfe7998a4/schema)
