Cancel Flow

Accept Cancel Flow Offer

Changed on

Accepts the retention offer shown during the cancel flow, applying a discount to the user's subscription.

post/iap/cancel-flow/accept-offer

Request

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

Request body

user_idstring required

The user's external ID.

product_idstring required

The product the offer applies to.

Response

Offer accepted

statusstring
discount_appliedboolean

Whether the discount was successfully applied.

Example response

{
  "status": "ok"
}

Changes