Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Adds customer parameter to test clock creation


Adds customer parameter to test clock creation

What’s new

You can now attach an existing customer when you create a test clock by using the new customer parameter.

The customer parameter accepts an existing customer ID and attaches that customer to the test clock during creation. After you attach a customer to a test clock, it can’t be removed.

Impact

You can now programmatically create test clocks that are pre-attached to specific customers, streamlining your testing workflows. This eliminates the need to use the Dashboard for this functionality and allows you to fully automate your test clock setup through the API.

If you previously relied on Dashboard-only functionality to attach customers to test clocks, you can now incorporate this step directly into your API-based testing processes.

Changes

ParameterChangeResources or endpoints
customerAddedTestHelpers. TestClock#create

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-05-27. dahlia
  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?