Replaces line item parameters from the Create Checkout Session endpointBreaking changes
What’s new
Removes the following parameters from the Create Checkout Session endpoint:
line_items[amount] line_items[currency] line_items[name] line_items[description] line_items[images]
Use the price and price_ parameters instead.
Impact
Defines line items for Checkout Sessions using the price and price_ parameters, instead of the previously available individual line_ parameters. This simplifies the Checkout Session creation process by providing a more consolidated way to specify line item details.