Use this endpoint to notify Cleeng about the successful iOS/tvOS in-app payment (Initial Purchase) and create a subscription in Cleeng.
The relevant endpoints are:
- Production: https://api.cleeng.com/apple/payment
- Sandbox: https://sandbox.cleeng.com/apple/payment
Note:
For integrations utilizing JWT authorization please use the MediaStore SDK API Apple iOS and tvOS Payment endpoint.
This documentation is for legacy Apple in-app purchase integration utilizing Apple’s StoreKit 1. For a tutorial on new integration of Apple in-app purchases, please visit Apple In-App Purchase - StoreKit 2 [Beta].
Please refer to Apple documentation for information about which Apple platforms and versions are supported for StoreKit 2.
Note
Response code “200” (“OK”) does NOT refer to the receipt validation result, it only confirms that the request structure and content is correct.
Important
Based on Apple's requirements, our endpoint offers the possibility to create a subscription through Apple sandbox receipt in the production environment. Please note that this will also be visible in ChurnIQ dashboard analytics.