provider POST /v1/test_helpers/test_clocks/{test_clock}/advance
@utdk/stripe /v1/test_helpers/test_clocks/{test_clock}/advance
Advance a test clock
<p>Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to <code>Ready</code>.</p>
test_clock path required
string

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

posttesthelperstestclockstestclockadvance
POST/v1/test_helpers/test_clocks/{test_clock}/advance
<p>Starts advancing a test clock to a specified time in the future. Advancement is done when status changes to <code>Ready</code>.</p>

Parameters

required

Input

Specifies which fields in the response should be expanded.

required

The time to advance the test clock. Must be after the test clock's current frozen time. Cannot be more than two intervals in the future from the shortest subscription in this test clock. If there are no subscriptions in this test clock, it cannot be more than two years in the future.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.posttesthelperstestclockstestclockadvance()