v1

latestOpenAPI 3.1.02026-07-241080412.6 KB

Vizio

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>

post/purchase-validation

Headers

JWT or X-Publisher-Tokenstring required

Use either a <glossary:JWT> or X-Publisher-Token header authorization, depending on how you integrate with Cleeng (directly or through middleware). <span style="color:blue">Please use JWT (Bearer) token to try out the endpoint in the API console in this documentation.</span>

Correlation-idstring

Internal identification number of the process. If not provided, it will be generated and returned in a response body. Format: uuid.

Request body

cleengCustomerIdinteger required

Customer identifier at Cleeng.

vizioSubscriptionIdstring required

Subscription identifier at Vizio.

ipAddressstring

Customer's IP address. Accepted: IPv4, IPv6.

Response

202

messagestring

Example response

{
  "message": "Purchase validated and accepted for processing",
  "data": {
    "correlationId": "a11111aa-1111-1aa1-1a11-1a1111aa111a"
  }
}