Apple iOS and tvOS Payment [Deprecated]

This endpoint is deprecated.

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.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
❗️

Deprecated

This documentation is for legacy Apple in-app purchase integration utilizing Apple’s StoreKit 1, which is now deprecated.

We recommend using our new Apple In-App Purchase - StoreKit 2 integration. For our existing clients, we offer a seamless migration process for a smooth transition.

For details on which Apple platforms and versions are supported for StoreKit 2, please refer to the official Apple documentation.

🚧

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
Body Params
string
required

Customer's email

string
required

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

receipt
object
required
string
enum
required

An Apple device, either iOS or tvOS

Allowed:
string

Customer's IP address (an optional parameter).

string

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

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json