Use this endpoint to notify Cleeng about the successful Roku in-app payment (Initial Purchase) and create a subscription in Cleeng. Note: This endpoint uses <glossary:JWT> for authorization.

post/roku/payment

Request

  • Base URL
    https://mediastoreapi-sandbox.cleeng.com
  • URL
    https://mediastoreapi-sandbox.cleeng.com/roku/payment
  • Auth
    API key in header Authorization

Request body

customerEmailstring required

Customer's email

offerIdstring required

An identifier of a Cleeng offer (e.g. E123123123_US)

ipAddressstring

Customer's IP address (an optional parameter).

Response

200

Example response

{
  "responseData": {
    "message": "OK"
  }
}

Changes

    • warning

      deleted the header request parameter Content-Type

    • warning

      deleted the header request parameter X-Publisher-Token

    • warning

      removed the optional property from the response with the status

    • info

      api operation id roku-payment removed and replaced with roku-payment-ms

    • info

      removed the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status