# Renames Embedded Checkout initialization method

## What’s new

Renames the `stripe.initEmbeddedCheckout()` method to [stripe.createEmbeddedCheckoutPage()](https://docs.stripe.com/js/embedded_checkout/create). The options and return type remain the same as for `initEmbeddedCheckout()`.

## Why is this a breaking change?

`stripe.initEmbeddedCheckout()` has been renamed, so calling it throws an `IntegrationError`. If your integration uses [Embedded Checkout](https://docs.stripe.com/checkout/embedded/quickstart.md) and calls `initEmbeddedCheckout()`, you need to update your code to instead call `createEmbeddedCheckoutPage()`.

For example:

```javascript
const checkout = await stripe.createEmbeddedCheckoutPage({fetchClientSecret});
```

## Related changes

- [Changes the Address Element state field to default to Latin-formatted characters](https://docs.stripe.com/changelog/dahlia/2026-03-25/address-element-getvalue-and-change-event-formatting.md)
- [Updates the elements.update() method to return a Promise](https://docs.stripe.com/changelog/dahlia/2026-03-25/elements-update-returns-promise.md)
- [Removes support for boolean values in options.layout.radios](https://docs.stripe.com/changelog/dahlia/2026-03-25/disallow-booleans-for-radios.md)
- [Removes deprecated Payment Intents, Setup Intents, and Sources methods from Stripe.js](https://docs.stripe.com/changelog/dahlia/2026-03-25/remove-legacy-stripejs-methods.md)
- [Renames Checkout initialization method](https://docs.stripe.com/changelog/dahlia/2026-03-25/rename-init-checkout-to-init-checkout-elements.md)
