Skip to content

Commit 08f76a1

Browse files
OpenAPI Update (#614)
Update OpenAPI for f156467cb3647839c0df70a078e30cce915f3f40 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 9a2fdca commit 08f76a1

File tree

2 files changed

+210
-2
lines changed

2 files changed

+210
-2
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56066,7 +56066,8 @@
5606656066
}
5606756067
},
5606856068
"required": [
56069-
"enabled"
56069+
"enabled",
56070+
"liability"
5607056071
],
5607156072
"title": "SubscriptionAutomaticTax",
5607256073
"type": "object",

embedded/openapi/spec3.json

Lines changed: 208 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38372,14 +38372,25 @@
3837238372
"enabled": {
3837338373
"description": "Whether Stripe automatically computes tax on this subscription.",
3837438374
"type": "boolean"
38375+
},
38376+
"liability": {
38377+
"anyOf": [
38378+
{
38379+
"$ref": "#/components/schemas/connect_account_reference"
38380+
}
38381+
],
38382+
"description": "The account that's liable for tax. If set, the business address and tax registrations required to perform the tax calculation are loaded from this account. The tax transaction is returned in the report of the connected account.",
38383+
"nullable": true
3837538384
}
3837638385
},
3837738386
"required": [
3837838387
"enabled"
3837938388
],
3838038389
"title": "SubscriptionAutomaticTax",
3838138390
"type": "object",
38382-
"x-expandableFields": []
38391+
"x-expandableFields": [
38392+
"liability"
38393+
]
3838338394
},
3838438395
"subscription_billing_thresholds": {
3838538396
"description": "",
@@ -70918,6 +70929,10 @@
7091870929
"explode": true,
7091970930
"style": "deepObject"
7092070931
},
70932+
"invoice_settings": {
70933+
"explode": true,
70934+
"style": "deepObject"
70935+
},
7092170936
"items": {
7092270937
"explode": true,
7092370938
"style": "deepObject"
@@ -71025,6 +71040,25 @@
7102571040
"properties": {
7102671041
"enabled": {
7102771042
"type": "boolean"
71043+
},
71044+
"liability": {
71045+
"properties": {
71046+
"account": {
71047+
"type": "string"
71048+
},
71049+
"type": {
71050+
"enum": [
71051+
"account",
71052+
"self"
71053+
],
71054+
"type": "string"
71055+
}
71056+
},
71057+
"required": [
71058+
"type"
71059+
],
71060+
"title": "param",
71061+
"type": "object"
7102871062
}
7102971063
},
7103071064
"required": [
@@ -71133,6 +71167,32 @@
7113371167
},
7113471168
"type": "array"
7113571169
},
71170+
"invoice_settings": {
71171+
"description": "All invoices will be billed using the specified settings.",
71172+
"properties": {
71173+
"issuer": {
71174+
"properties": {
71175+
"account": {
71176+
"type": "string"
71177+
},
71178+
"type": {
71179+
"enum": [
71180+
"account",
71181+
"self"
71182+
],
71183+
"type": "string"
71184+
}
71185+
},
71186+
"required": [
71187+
"type"
71188+
],
71189+
"title": "param",
71190+
"type": "object"
71191+
}
71192+
},
71193+
"title": "invoice_settings_param",
71194+
"type": "object"
71195+
},
7113671196
"items": {
7113771197
"description": "A list of up to 20 subscription items, each with an attached price.",
7113871198
"items": {
@@ -71945,6 +72005,10 @@
7194572005
"explode": true,
7194672006
"style": "deepObject"
7194772007
},
72008+
"invoice_settings": {
72009+
"explode": true,
72010+
"style": "deepObject"
72011+
},
7194872012
"items": {
7194972013
"explode": true,
7195072014
"style": "deepObject"
@@ -72056,6 +72120,25 @@
7205672120
"properties": {
7205772121
"enabled": {
7205872122
"type": "boolean"
72123+
},
72124+
"liability": {
72125+
"properties": {
72126+
"account": {
72127+
"type": "string"
72128+
},
72129+
"type": {
72130+
"enum": [
72131+
"account",
72132+
"self"
72133+
],
72134+
"type": "string"
72135+
}
72136+
},
72137+
"required": [
72138+
"type"
72139+
],
72140+
"title": "param",
72141+
"type": "object"
7205972142
}
7206072143
},
7206172144
"required": [
@@ -72214,6 +72297,32 @@
7221472297
},
7221572298
"type": "array"
7221672299
},
72300+
"invoice_settings": {
72301+
"description": "All invoices will be billed using the specified settings.",
72302+
"properties": {
72303+
"issuer": {
72304+
"properties": {
72305+
"account": {
72306+
"type": "string"
72307+
},
72308+
"type": {
72309+
"enum": [
72310+
"account",
72311+
"self"
72312+
],
72313+
"type": "string"
72314+
}
72315+
},
72316+
"required": [
72317+
"type"
72318+
],
72319+
"title": "param",
72320+
"type": "object"
72321+
}
72322+
},
72323+
"title": "invoice_settings_param",
72324+
"type": "object"
72325+
},
7221772326
"items": {
7221872327
"description": "A list of up to 20 subscription items, each with an attached price.",
7221972328
"items": {
@@ -125005,6 +125114,10 @@
125005125114
"explode": true,
125006125115
"style": "deepObject"
125007125116
},
125117+
"invoice_settings": {
125118+
"explode": true,
125119+
"style": "deepObject"
125120+
},
125008125121
"items": {
125009125122
"explode": true,
125010125123
"style": "deepObject"
@@ -125116,6 +125229,25 @@
125116125229
"properties": {
125117125230
"enabled": {
125118125231
"type": "boolean"
125232+
},
125233+
"liability": {
125234+
"properties": {
125235+
"account": {
125236+
"type": "string"
125237+
},
125238+
"type": {
125239+
"enum": [
125240+
"account",
125241+
"self"
125242+
],
125243+
"type": "string"
125244+
}
125245+
},
125246+
"required": [
125247+
"type"
125248+
],
125249+
"title": "param",
125250+
"type": "object"
125119125251
}
125120125252
},
125121125253
"required": [
@@ -125259,6 +125391,32 @@
125259125391
},
125260125392
"type": "array"
125261125393
},
125394+
"invoice_settings": {
125395+
"description": "All invoices will be billed using the specified settings.",
125396+
"properties": {
125397+
"issuer": {
125398+
"properties": {
125399+
"account": {
125400+
"type": "string"
125401+
},
125402+
"type": {
125403+
"enum": [
125404+
"account",
125405+
"self"
125406+
],
125407+
"type": "string"
125408+
}
125409+
},
125410+
"required": [
125411+
"type"
125412+
],
125413+
"title": "param",
125414+
"type": "object"
125415+
}
125416+
},
125417+
"title": "invoice_settings_param",
125418+
"type": "object"
125419+
},
125262125420
"items": {
125263125421
"description": "A list of up to 20 subscription items, each with an attached price.",
125264125422
"items": {
@@ -126233,6 +126391,10 @@
126233126391
"explode": true,
126234126392
"style": "deepObject"
126235126393
},
126394+
"invoice_settings": {
126395+
"explode": true,
126396+
"style": "deepObject"
126397+
},
126236126398
"items": {
126237126399
"explode": true,
126238126400
"style": "deepObject"
@@ -126348,6 +126510,25 @@
126348126510
"properties": {
126349126511
"enabled": {
126350126512
"type": "boolean"
126513+
},
126514+
"liability": {
126515+
"properties": {
126516+
"account": {
126517+
"type": "string"
126518+
},
126519+
"type": {
126520+
"enum": [
126521+
"account",
126522+
"self"
126523+
],
126524+
"type": "string"
126525+
}
126526+
},
126527+
"required": [
126528+
"type"
126529+
],
126530+
"title": "param",
126531+
"type": "object"
126351126532
}
126352126533
},
126353126534
"required": [
@@ -126521,6 +126702,32 @@
126521126702
},
126522126703
"type": "array"
126523126704
},
126705+
"invoice_settings": {
126706+
"description": "All invoices will be billed using the specified settings.",
126707+
"properties": {
126708+
"issuer": {
126709+
"properties": {
126710+
"account": {
126711+
"type": "string"
126712+
},
126713+
"type": {
126714+
"enum": [
126715+
"account",
126716+
"self"
126717+
],
126718+
"type": "string"
126719+
}
126720+
},
126721+
"required": [
126722+
"type"
126723+
],
126724+
"title": "param",
126725+
"type": "object"
126726+
}
126727+
},
126728+
"title": "invoice_settings_param",
126729+
"type": "object"
126730+
},
126524126731
"items": {
126525126732
"description": "A list of up to 20 subscription items, each with an attached price.",
126526126733
"items": {

0 commit comments

Comments
 (0)