getBestValueOffer

Returns the offer with the lowest recurring cost per month, comparing plans of different cadences on equal terms.

This is the "best value" badge on a paywall: a yearly plan at $59.99 beats a monthly at $9.99 because it normalizes to ~$5.00/month. Offers whose period or price could not be resolved are skipped.

Return

The cheapest-per-month offer, or null when none can be normalized.

Since

4.4.0

Parameters

productId

Subscription product id.