Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Makes metadata optional when creating a Batch Job v2


Public preview

Makes metadata optional when creating a Batch Job v2 Public preview

What’s new

Updates the metadata parameter to be optional when you create a Batch Job v2. Previously, metadata was required, meaning every create request had to include it even if you didn’t need to attach any key-value data to the job.

Impact

You no longer need to include metadata in every request to create a Batch Job v2. If you don’t need to attach custom key-value pairs to a job, you can omit the parameter entirely.

Changes

FieldChangeFrom → to
V2. Core. BatchJob#create. metadataChangedrequired → optional

Upgrade

  1. View your current API version in Workbench.
  2. If you use an SDK, upgrade to the corresponding SDK version for this API version.
  • If you don’t use an SDK, update your API requests to include Stripe-Version: 2026-06-24. preview
  1. Upgrade the API version used for webhook endpoints .
  2. Test your integration against the new version.
  3. If you use Connect, test your Connect integration .
  4. In Workbench, perform the upgrade . You can roll back the version for 72 hours.

Learn more about Stripe API upgrades.

Last verified 2026-09-24

Is this helpful?