Android Payment [Deprecated]

Changed on

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

post/android/payment

Request

  • Base URL
    https://mediastoreapi-sandbox.cleeng.com
  • URL
    https://mediastoreapi-sandbox.cleeng.com/android/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).

couponCodestring

A coupon code modifies the reported amount (an optional parameter, used in introductory offers)

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 android-1 removed and replaced with android-payment

    • 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