Apple iOS and tvOS Payment [Deprecated]

Changed on

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

post/apple/payment

Request

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

appType'ios' | 'tvos' required

An Apple device, either iOS or tvOS

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