/capture-app-store-pre-purchase-information [POST]

Capture pre-purchase information for an exchange of an app store subscription for a worldsingles membership - protected.

Parameters

  • app_id (string) - the id of the app in its respective app store
  • app_platform (string) - app_ios or twa or app_android
  • app_product_id (string) - the id of the product in the app store that was purchased
  • country_code [optional] (string) - must be present for correctly identifying ios price point on backend
  • localized_price [optional] (string) - must be present for correctly identifying ios price point on backend
  • offer_id [optional] (string) - must be present if getting packages returned offer ids.
  • package_id (number) - the the id of the worldsingles package that this is a purchase of
  • promo_code [optional] (string, max 32 chars) - a valid promo code to apply to the rates returned.
  • version [optional] (number) - must have the same value as the version parameter that was used when getting packages.

Response Messages

200 OK - success

The body of the response will be a 37 character token that can be used to complete the exchange of an app store subscription for a worldsingles membership.