Stripe.api_key = ‘sk_test_lyBexS1uvCkP4AsPNuwBGWq6’ configuration = Stripe::BillingPortal::Configuration.create({ business_profile: { privacy_policy_url: ‘https://example.com/privacy’, terms_of_service_url: ‘https://example.com/terms’, }, features: { invoice_history: { enabled: true, }, }, })