Skip to content

Commit 4a02946

Browse files
Update OpenAPI specification
1 parent 3dbf4c7 commit 4a02946

File tree

2 files changed

+219
-0
lines changed

2 files changed

+219
-0
lines changed

openapi/spec3.beta.sdk.json

Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@
135135
"requirements": {
136136
"$ref": "#/components/schemas/account_requirements"
137137
},
138+
"risk_controls": {
139+
"$ref": "#/components/schemas/connect_risk_account_risk_controls"
140+
},
138141
"settings": {
139142
"anyOf": [
140143
{
@@ -173,6 +176,7 @@
173176
"future_requirements",
174177
"individual",
175178
"requirements",
179+
"risk_controls",
176180
"settings",
177181
"tos_acceptance"
178182
],
@@ -10139,6 +10143,41 @@
1013910143
"in_package": ""
1014010144
}
1014110145
},
10146+
"connect_risk_account_risk_control": {
10147+
"description": "",
10148+
"properties": {
10149+
"pause_requested": {
10150+
"type": "boolean"
10151+
}
10152+
},
10153+
"required": [
10154+
"pause_requested"
10155+
],
10156+
"title": "ConnectRiskAccountRiskControl",
10157+
"type": "object",
10158+
"x-expandableFields": []
10159+
},
10160+
"connect_risk_account_risk_controls": {
10161+
"description": "",
10162+
"properties": {
10163+
"charges": {
10164+
"$ref": "#/components/schemas/connect_risk_account_risk_control"
10165+
},
10166+
"payouts": {
10167+
"$ref": "#/components/schemas/connect_risk_account_risk_control"
10168+
}
10169+
},
10170+
"required": [
10171+
"charges",
10172+
"payouts"
10173+
],
10174+
"title": "ConnectRiskAccountRiskControls",
10175+
"type": "object",
10176+
"x-expandableFields": [
10177+
"charges",
10178+
"payouts"
10179+
]
10180+
},
1014210181
"country_spec": {
1014310182
"description": "Stripe needs to collect certain pieces of information about each account\ncreated. These requirements can differ depending on the account's country. The\nCountry Specs API makes these rules available to your integration.\n\nYou can also view the information from this API call as [an online\nguide](/docs/connect/required-verification-information).",
1014410183
"properties": {
@@ -71314,6 +71353,10 @@
7131471353
"explode": true,
7131571354
"style": "deepObject"
7131671355
},
71356+
"risk_controls": {
71357+
"explode": true,
71358+
"style": "deepObject"
71359+
},
7131771360
"settings": {
7131871361
"explode": true,
7131971362
"style": "deepObject"
@@ -72806,6 +72849,35 @@
7280672849
],
7280772850
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
7280872851
},
72852+
"risk_controls": {
72853+
"description": "A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).",
72854+
"properties": {
72855+
"charges": {
72856+
"description": "Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).",
72857+
"properties": {
72858+
"pause_requested": {
72859+
"description": "To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.\nThere can be a delay before the risk control is paused or unpaused.",
72860+
"type": "boolean"
72861+
}
72862+
},
72863+
"title": "risk_control_param",
72864+
"type": "object"
72865+
},
72866+
"payouts": {
72867+
"description": "Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).",
72868+
"properties": {
72869+
"pause_requested": {
72870+
"description": "To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.\nThere can be a delay before the risk control is paused or unpaused.",
72871+
"type": "boolean"
72872+
}
72873+
},
72874+
"title": "risk_control_param",
72875+
"type": "object"
72876+
}
72877+
},
72878+
"title": "risk_controls_hash_param",
72879+
"type": "object"
72880+
},
7280972881
"settings": {
7281072882
"description": "Options for customizing how the account functions within Stripe.",
7281172883
"properties": {
@@ -73316,6 +73388,10 @@
7331673388
"explode": true,
7331773389
"style": "deepObject"
7331873390
},
73391+
"risk_controls": {
73392+
"explode": true,
73393+
"style": "deepObject"
73394+
},
7331973395
"settings": {
7332073396
"explode": true,
7332173397
"style": "deepObject"
@@ -74758,6 +74834,35 @@
7475874834
],
7475974835
"description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`."
7476074836
},
74837+
"risk_controls": {
74838+
"description": "A hash to configure risk controls on the account. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).",
74839+
"properties": {
74840+
"charges": {
74841+
"description": "Represents the risk control status of charges. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).",
74842+
"properties": {
74843+
"pause_requested": {
74844+
"description": "To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.\nThere can be a delay before the risk control is paused or unpaused.",
74845+
"type": "boolean"
74846+
}
74847+
},
74848+
"title": "risk_control_param",
74849+
"type": "object"
74850+
},
74851+
"payouts": {
74852+
"description": "Represents the risk control status of payouts. Please see [this page for more details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).",
74853+
"properties": {
74854+
"pause_requested": {
74855+
"description": "To request to pause a risk control, pass `true`. To request to unpause a risk control, pass `false`.\nThere can be a delay before the risk control is paused or unpaused.",
74856+
"type": "boolean"
74857+
}
74858+
},
74859+
"title": "risk_control_param",
74860+
"type": "object"
74861+
}
74862+
},
74863+
"title": "risk_controls_hash_param",
74864+
"type": "object"
74865+
},
7476174866
"settings": {
7476274867
"description": "Options for customizing how the account functions within Stripe.",
7476374868
"properties": {

openapi/spec3.beta.sdk.yaml

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ components:
147147
type: boolean
148148
requirements:
149149
$ref: '#/components/schemas/account_requirements'
150+
risk_controls:
151+
$ref: '#/components/schemas/connect_risk_account_risk_controls'
150152
settings:
151153
anyOf:
152154
- $ref: '#/components/schemas/account_settings'
@@ -176,6 +178,7 @@ components:
176178
- future_requirements
177179
- individual
178180
- requirements
181+
- risk_controls
179182
- settings
180183
- tos_acceptance
181184
x-resourceId: account
@@ -9651,6 +9654,31 @@ components:
96519654
x-stripeResource:
96529655
class_name: PayoutsFeatures
96539656
in_package: ''
9657+
connect_risk_account_risk_control:
9658+
description: ''
9659+
properties:
9660+
pause_requested:
9661+
type: boolean
9662+
required:
9663+
- pause_requested
9664+
title: ConnectRiskAccountRiskControl
9665+
type: object
9666+
x-expandableFields: []
9667+
connect_risk_account_risk_controls:
9668+
description: ''
9669+
properties:
9670+
charges:
9671+
$ref: '#/components/schemas/connect_risk_account_risk_control'
9672+
payouts:
9673+
$ref: '#/components/schemas/connect_risk_account_risk_control'
9674+
required:
9675+
- charges
9676+
- payouts
9677+
title: ConnectRiskAccountRiskControls
9678+
type: object
9679+
x-expandableFields:
9680+
- charges
9681+
- payouts
96549682
country_spec:
96559683
description: >-
96569684
Stripe needs to collect certain pieces of information about each account
@@ -64246,6 +64274,9 @@ paths:
6424664274
metadata:
6424764275
explode: true
6424864276
style: deepObject
64277+
risk_controls:
64278+
explode: true
64279+
style: deepObject
6424964280
settings:
6425064281
explode: true
6425164282
style: deepObject
@@ -65919,6 +65950,46 @@ paths:
6591965950
format. Individual keys can be unset by posting an empty
6592065951
value to them. All keys can be unset by posting an empty
6592165952
value to `metadata`.
65953+
risk_controls:
65954+
description: >-
65955+
A hash to configure risk controls on the account. Please see
65956+
[this page for more
65957+
details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
65958+
properties:
65959+
charges:
65960+
description: >-
65961+
Represents the risk control status of charges. Please
65962+
see [this page for more
65963+
details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
65964+
properties:
65965+
pause_requested:
65966+
description: >-
65967+
To request to pause a risk control, pass `true`. To
65968+
request to unpause a risk control, pass `false`.
65969+
65970+
There can be a delay before the risk control is
65971+
paused or unpaused.
65972+
type: boolean
65973+
title: risk_control_param
65974+
type: object
65975+
payouts:
65976+
description: >-
65977+
Represents the risk control status of payouts. Please
65978+
see [this page for more
65979+
details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
65980+
properties:
65981+
pause_requested:
65982+
description: >-
65983+
To request to pause a risk control, pass `true`. To
65984+
request to unpause a risk control, pass `false`.
65985+
65986+
There can be a delay before the risk control is
65987+
paused or unpaused.
65988+
type: boolean
65989+
title: risk_control_param
65990+
type: object
65991+
title: risk_controls_hash_param
65992+
type: object
6592265993
settings:
6592365994
description: >-
6592465995
Options for customizing how the account functions within
@@ -66448,6 +66519,9 @@ paths:
6644866519
metadata:
6644966520
explode: true
6645066521
style: deepObject
66522+
risk_controls:
66523+
explode: true
66524+
style: deepObject
6645166525
settings:
6645266526
explode: true
6645366527
style: deepObject
@@ -68059,6 +68133,46 @@ paths:
6805968133
format. Individual keys can be unset by posting an empty
6806068134
value to them. All keys can be unset by posting an empty
6806168135
value to `metadata`.
68136+
risk_controls:
68137+
description: >-
68138+
A hash to configure risk controls on the account. Please see
68139+
[this page for more
68140+
details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
68141+
properties:
68142+
charges:
68143+
description: >-
68144+
Represents the risk control status of charges. Please
68145+
see [this page for more
68146+
details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
68147+
properties:
68148+
pause_requested:
68149+
description: >-
68150+
To request to pause a risk control, pass `true`. To
68151+
request to unpause a risk control, pass `false`.
68152+
68153+
There can be a delay before the risk control is
68154+
paused or unpaused.
68155+
type: boolean
68156+
title: risk_control_param
68157+
type: object
68158+
payouts:
68159+
description: >-
68160+
Represents the risk control status of payouts. Please
68161+
see [this page for more
68162+
details](https://stripe.com/docs/connect/pausing-payments-or-payouts-on-connected-accounts).
68163+
properties:
68164+
pause_requested:
68165+
description: >-
68166+
To request to pause a risk control, pass `true`. To
68167+
request to unpause a risk control, pass `false`.
68168+
68169+
There can be a delay before the risk control is
68170+
paused or unpaused.
68171+
type: boolean
68172+
title: risk_control_param
68173+
type: object
68174+
title: risk_controls_hash_param
68175+
type: object
6806268176
settings:
6806368177
description: >-
6806468178
Options for customizing how the account functions within

0 commit comments

Comments
 (0)