v1

latestOpenAPI 3.1.02026-07-241080412.6 KB

Android [Deprecated]

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. <br><br> The relevant endpoints are: <br> - Production URL: https://api.cleeng.com/android/payment <br>- Sandbox URL: https://api.sandbox.cleeng.com/android/payment <br><br> Note: <br> For integrations utilizing <glossary:JWT> authorization please use the MediaStore SDK API Android Payment endpoint.

post/android/payment

Headers

Content-Typestring
X-Publisher-Tokenstring

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). Accepted: IPv4, IPv6.

couponCodestring

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

Response

200

messagestring

Example response

{
  "message": "OK"
}