Skip to content

Commit d494f96

Browse files
Add stripeContext to RequestOptions interface (#2354)
* Add stripeContext to interface * Add to StripeConfig
1 parent 1a494b2 commit d494f96

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

types/lib.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,11 @@ declare module 'stripe' {
112112
* An account id on whose behalf you wish to make every request.
113113
*/
114114
stripeAccount?: string;
115+
116+
/**
117+
* An account on whose behalf you wish to make every request. See https://docs.corp.stripe.com/context for more information.
118+
*/
119+
stripeContext?: string;
115120
}
116121

117122
export interface RequestOptions {
@@ -131,6 +136,11 @@ declare module 'stripe' {
131136
*/
132137
stripeAccount?: string;
133138

139+
/**
140+
* An account on whose behalf you wish to make a request. See https://docs.corp.stripe.com/context for more information.
141+
*/
142+
stripeContext?: string;
143+
134144
/**
135145
* The [API Version](https://stripe.com/docs/upgrades) to use for a given request (e.g., '2020-03-02').
136146
*/

0 commit comments

Comments
 (0)