Apple iOS and tvOS Payment

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 JWT for authorization.

🚧

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.

Errors

HTTP Status codeError codeMessage
400REQ0001Invalid request body
401AUTH0001Missing required JWT
401AUTH0002Invalid JWT token
500SXXXX (X - number)Internal Server Error
Language
Credentials
Header
Click Try It! to start a request and see the response here!