Choose threshold under costs and uncertainty | Stripe