Add support for custom_unit_amount during product creation
What’s new
Adds the custom_ parameter to a Product’s default_ parameter.
Added
custom_unit_amountobject
When set, provides configuration for the amount to be adjusted by the customer during Checkout Sessions and Payment Links. Required unless unit_ is provided.
Impact
This allows you to specify custom unit amounts when creating a product’s default price data. This change also benefits businesses that need specific price configurations tailored to their unique offerings.