Skip to main content
POST
Typescript (SDK)

Body Parameters

Response

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-api-version
string
default:2.6.0
required

Body

application/json
customer_id
string
required

The ID of the customer whose Stripe test clock to advance.

Minimum string length: 1
frozen_time
integer
required

Target time as a Unix timestamp in milliseconds. Rounded down to whole seconds; must be later than the current clock time.

Required range: 0 <= x <= 9007199254740991

Response

200 - application/json

OK

customer_id
string
required
frozen_time
integer
required

The Stripe test clock's frozen time in milliseconds.

Required range: -9007199254740991 <= x <= 9007199254740991
status
enum<string>
required
Available options:
advancing,
internal_failure,
ready