Skip to content

Commit

Permalink
OpenAPI Update (#627)
Browse files Browse the repository at this point in the history
Update OpenAPI for 89f85ffd702ae066b77b1f5c1b64d5bd84c76535

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Jan 22, 2024
1 parent 69f6478 commit 90f33a8
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 2 deletions.
32 changes: 31 additions & 1 deletion embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -67391,6 +67391,10 @@
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"collection_options": {
"explode": true,
"style": "deepObject"
},
"expand": {
"explode": true,
"style": "deepObject"
Expand All @@ -67405,13 +67409,39 @@
"type": "string"
},
"collect": {
"description": "Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`.",
"description": "The collect parameter is deprecated. Use `collection_options` instead.",
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"collection_options": {
"description": "Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.",
"properties": {
"fields": {
"description": "Specifies whether the platform collects only currently_due requirements (`currently_due`) or both currently_due and eventually_due requirements (`eventually_due`). If you don't specify `collection_options`, the default value is `currently_due`.",
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"future_requirements": {
"description": "Options for collecting future_requirements in Connect Onboarding",
"enum": [
"include",
"omit"
],
"type": "string"
}
},
"required": [
"fields"
],
"title": "collection_options_params",
"type": "object"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
Expand Down
30 changes: 29 additions & 1 deletion embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -46133,6 +46133,10 @@
"content": {
"application/x-www-form-urlencoded": {
"encoding": {
"collection_options": {
"explode": true,
"style": "deepObject"
},
"expand": {
"explode": true,
"style": "deepObject"
Expand All @@ -46147,13 +46151,37 @@
"type": "string"
},
"collect": {
"description": "Which information the platform needs to collect from the user. One of `currently_due` or `eventually_due`. Default is `currently_due`.",
"description": "The collect parameter is deprecated. Use `collection_options` instead.",
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"collection_options": {
"description": "Specifies the requirements that Stripe collects from connected accounts in the Connect Onboarding flow.",
"properties": {
"fields": {
"enum": [
"currently_due",
"eventually_due"
],
"type": "string"
},
"future_requirements": {
"enum": [
"include",
"omit"
],
"type": "string"
}
},
"required": [
"fields"
],
"title": "collection_options_params",
"type": "object"
},
"expand": {
"description": "Specifies which fields in the response should be expanded.",
"items": {
Expand Down

0 comments on commit 90f33a8

Please sign in to comment.