Upgrade Offers

Respond to Upgrade Offer

Changed on

Records the user's response to an upgrade offer for analytics purposes.

post/iap/upgrade-offer/respond

Request

  • Base URL
    https://api.zerosettle.io/v1
  • URL
    https://api.zerosettle.io/v1/iap/upgrade-offer/respond
  • Auth
    API key in header X-ZeroSettle-Key

Request body

user_idstring required

The user's external ID.

acceptedboolean

Whether the user accepted the upgrade offer.

variant_idinteger

Experiment variant ID, if the upgrade offer is part of an A/B test.

Response

Response recorded

statusstring

Example response

{
  "status": "ok"
}

Changes