Skip to content

Commit 3dbf4c7

Browse files
Update OpenAPI specification
1 parent 10650e7 commit 3dbf4c7

File tree

6 files changed

+347
-17
lines changed

6 files changed

+347
-17
lines changed

openapi/spec3.beta.sdk.json

Lines changed: 62 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39217,6 +39217,9 @@
3921739217
},
3921839218
"wechat_pay": {
3921939219
"$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
39220+
},
39221+
"zip": {
39222+
"$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
3922039223
}
3922139224
},
3922239225
"required": [
@@ -39266,7 +39269,8 @@
3926639269
"sepa_debit",
3926739270
"sofort",
3926839271
"us_bank_account",
39269-
"wechat_pay"
39272+
"wechat_pay",
39273+
"zip"
3927039274
],
3927139275
"x-resourceId": "payment_method_configuration",
3927239276
"x-stripeOperations": [
@@ -104910,7 +104914,7 @@
104910104914
"type": "string"
104911104915
}
104912104916
],
104913-
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts."
104917+
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the subscription or customer. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts."
104914104918
},
104915104919
"expand": {
104916104920
"description": "Specifies which fields in the response should be expanded.",
@@ -107709,7 +107713,7 @@
107709107713
"style": "deepObject"
107710107714
},
107711107715
{
107712-
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
107716+
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the subscription or customer. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
107713107717
"explode": true,
107714107718
"in": "query",
107715107719
"name": "discounts",
@@ -110964,7 +110968,7 @@
110964110968
"style": "deepObject"
110965110969
},
110966110970
{
110967-
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
110971+
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the subscription or customer. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
110968110972
"explode": true,
110969110973
"in": "query",
110970110974
"name": "discounts",
@@ -148991,6 +148995,10 @@
148991148995
"wechat_pay": {
148992148996
"explode": true,
148993148997
"style": "deepObject"
148998+
},
148999+
"zip": {
149000+
"explode": true,
149001+
"style": "deepObject"
148994149002
}
148995149003
},
148996149004
"schema": {
@@ -149841,6 +149849,29 @@
149841149849
},
149842149850
"title": "payment_method_param",
149843149851
"type": "object"
149852+
},
149853+
"zip": {
149854+
"description": "Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.",
149855+
"properties": {
149856+
"display_preference": {
149857+
"description": "Whether or not the payment method should be displayed.",
149858+
"properties": {
149859+
"preference": {
149860+
"description": "The account's preference for whether or not to display this payment method.",
149861+
"enum": [
149862+
"none",
149863+
"off",
149864+
"on"
149865+
],
149866+
"type": "string"
149867+
}
149868+
},
149869+
"title": "display_preference_param",
149870+
"type": "object"
149871+
}
149872+
},
149873+
"title": "payment_method_param",
149874+
"type": "object"
149844149875
}
149845149876
},
149846149877
"type": "object"
@@ -150106,6 +150137,10 @@
150106150137
"wechat_pay": {
150107150138
"explode": true,
150108150139
"style": "deepObject"
150140+
},
150141+
"zip": {
150142+
"explode": true,
150143+
"style": "deepObject"
150109150144
}
150110150145
},
150111150146
"schema": {
@@ -150955,6 +150990,29 @@
150955150990
},
150956150991
"title": "payment_method_param",
150957150992
"type": "object"
150993+
},
150994+
"zip": {
150995+
"description": "Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.",
150996+
"properties": {
150997+
"display_preference": {
150998+
"description": "Whether or not the payment method should be displayed.",
150999+
"properties": {
151000+
"preference": {
151001+
"description": "The account's preference for whether or not to display this payment method.",
151002+
"enum": [
151003+
"none",
151004+
"off",
151005+
"on"
151006+
],
151007+
"type": "string"
151008+
}
151009+
},
151010+
"title": "display_preference_param",
151011+
"type": "object"
151012+
}
151013+
},
151014+
"title": "payment_method_param",
151015+
"type": "object"
150958151016
}
150959151017
},
150960151018
"type": "object"

openapi/spec3.beta.sdk.yaml

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35575,6 +35575,9 @@ components:
3557535575
wechat_pay:
3557635576
$ref: >-
3557735577
#/components/schemas/payment_method_config_resource_payment_method_properties
35578+
zip:
35579+
$ref: >-
35580+
#/components/schemas/payment_method_config_resource_payment_method_properties
3557835581
required:
3557935582
- active
3558035583
- application
@@ -35622,6 +35625,7 @@ components:
3562235625
- sofort
3562335626
- us_bank_account
3562435627
- wechat_pay
35628+
- zip
3562535629
x-resourceId: payment_method_configuration
3562635630
x-stripeOperations:
3562735631
- method_name: list
@@ -94802,7 +94806,7 @@ paths:
9480294806
description: >-
9480394807
The coupons to redeem into discounts for the invoice
9480494808
preview. If not specified, inherits the discount from the
94805-
customer or subscription. This works for both coupons
94809+
subscription or customer. This works for both coupons
9480694810
directly applied to an invoice and coupons applied to a
9480794811
subscription. Pass an empty string to avoid inheriting any
9480894812
discounts.
@@ -97778,7 +97782,7 @@ paths:
9777897782
style: deepObject
9777997783
- description: >-
9778097784
The coupons to redeem into discounts for the invoice preview. If not
97781-
specified, inherits the discount from the customer or subscription.
97785+
specified, inherits the discount from the subscription or customer.
9778297786
This works for both coupons directly applied to an invoice and
9778397787
coupons applied to a subscription. Pass an empty string to avoid
9778497788
inheriting any discounts.
@@ -101097,7 +101101,7 @@ paths:
101097101101
style: deepObject
101098101102
- description: >-
101099101103
The coupons to redeem into discounts for the invoice preview. If not
101100-
specified, inherits the discount from the customer or subscription.
101104+
specified, inherits the discount from the subscription or customer.
101101101105
This works for both coupons directly applied to an invoice and
101102101106
coupons applied to a subscription. Pass an empty string to avoid
101103101107
inheriting any discounts.
@@ -141176,6 +141180,9 @@ paths:
141176141180
wechat_pay:
141177141181
explode: true
141178141182
style: deepObject
141183+
zip:
141184+
explode: true
141185+
style: deepObject
141179141186
schema:
141180141187
additionalProperties: false
141181141188
properties:
@@ -142103,6 +142110,29 @@ paths:
142103142110
type: object
142104142111
title: payment_method_param
142105142112
type: object
142113+
zip:
142114+
description: >-
142115+
Zip gives your customers a way to split purchases over a
142116+
series of payments. Check this
142117+
[page](https://stripe.com/docs/payments/zip) for more
142118+
details like country availability.
142119+
properties:
142120+
display_preference:
142121+
description: Whether or not the payment method should be displayed.
142122+
properties:
142123+
preference:
142124+
description: >-
142125+
The account's preference for whether or not to
142126+
display this payment method.
142127+
enum:
142128+
- none
142129+
- 'off'
142130+
- 'on'
142131+
type: string
142132+
title: display_preference_param
142133+
type: object
142134+
title: payment_method_param
142135+
type: object
142106142136
type: object
142107142137
required: false
142108142138
responses:
@@ -142289,6 +142319,9 @@ paths:
142289142319
wechat_pay:
142290142320
explode: true
142291142321
style: deepObject
142322+
zip:
142323+
explode: true
142324+
style: deepObject
142292142325
schema:
142293142326
additionalProperties: false
142294142327
properties:
@@ -143213,6 +143246,29 @@ paths:
143213143246
type: object
143214143247
title: payment_method_param
143215143248
type: object
143249+
zip:
143250+
description: >-
143251+
Zip gives your customers a way to split purchases over a
143252+
series of payments. Check this
143253+
[page](https://stripe.com/docs/payments/zip) for more
143254+
details like country availability.
143255+
properties:
143256+
display_preference:
143257+
description: Whether or not the payment method should be displayed.
143258+
properties:
143259+
preference:
143260+
description: >-
143261+
The account's preference for whether or not to
143262+
display this payment method.
143263+
enum:
143264+
- none
143265+
- 'off'
143266+
- 'on'
143267+
type: string
143268+
title: display_preference_param
143269+
type: object
143270+
title: payment_method_param
143271+
type: object
143216143272
type: object
143217143273
required: false
143218143274
responses:

openapi/spec3.json

Lines changed: 57 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27525,6 +27525,9 @@
2752527525
},
2752627526
"wechat_pay": {
2752727527
"$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
27528+
},
27529+
"zip": {
27530+
"$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
2752827531
}
2752927532
},
2753027533
"required": [
@@ -27571,7 +27574,8 @@
2757127574
"sepa_debit",
2757227575
"sofort",
2757327576
"us_bank_account",
27574-
"wechat_pay"
27577+
"wechat_pay",
27578+
"zip"
2757527579
],
2757627580
"x-resourceId": "payment_method_configuration"
2757727581
},
@@ -83801,7 +83805,7 @@
8380183805
"style": "deepObject"
8380283806
},
8380383807
{
83804-
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
83808+
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the subscription or customer. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
8380583809
"explode": true,
8380683810
"in": "query",
8380783811
"name": "discounts",
@@ -84801,7 +84805,7 @@
8480184805
"style": "deepObject"
8480284806
},
8480384807
{
84804-
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the customer or subscription. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
84808+
"description": "The coupons to redeem into discounts for the invoice preview. If not specified, inherits the discount from the subscription or customer. This works for both coupons directly applied to an invoice and coupons applied to a subscription. Pass an empty string to avoid inheriting any discounts.",
8480584809
"explode": true,
8480684810
"in": "query",
8480784811
"name": "discounts",
@@ -109153,6 +109157,10 @@
109153109157
"wechat_pay": {
109154109158
"explode": true,
109155109159
"style": "deepObject"
109160+
},
109161+
"zip": {
109162+
"explode": true,
109163+
"style": "deepObject"
109156109164
}
109157109165
},
109158109166
"schema": {
@@ -109910,6 +109918,27 @@
109910109918
},
109911109919
"title": "payment_method_param",
109912109920
"type": "object"
109921+
},
109922+
"zip": {
109923+
"description": "Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.",
109924+
"properties": {
109925+
"display_preference": {
109926+
"properties": {
109927+
"preference": {
109928+
"enum": [
109929+
"none",
109930+
"off",
109931+
"on"
109932+
],
109933+
"type": "string"
109934+
}
109935+
},
109936+
"title": "display_preference_param",
109937+
"type": "object"
109938+
}
109939+
},
109940+
"title": "payment_method_param",
109941+
"type": "object"
109913109942
}
109914109943
},
109915109944
"type": "object"
@@ -110171,6 +110200,10 @@
110171110200
"wechat_pay": {
110172110201
"explode": true,
110173110202
"style": "deepObject"
110203+
},
110204+
"zip": {
110205+
"explode": true,
110206+
"style": "deepObject"
110174110207
}
110175110208
},
110176110209
"schema": {
@@ -110927,6 +110960,27 @@
110927110960
},
110928110961
"title": "payment_method_param",
110929110962
"type": "object"
110963+
},
110964+
"zip": {
110965+
"description": "Zip gives your customers a way to split purchases over a series of payments. Check this [page](https://stripe.com/docs/payments/zip) for more details like country availability.",
110966+
"properties": {
110967+
"display_preference": {
110968+
"properties": {
110969+
"preference": {
110970+
"enum": [
110971+
"none",
110972+
"off",
110973+
"on"
110974+
],
110975+
"type": "string"
110976+
}
110977+
},
110978+
"title": "display_preference_param",
110979+
"type": "object"
110980+
}
110981+
},
110982+
"title": "payment_method_param",
110983+
"type": "object"
110930110984
}
110931110985
},
110932110986
"type": "object"

0 commit comments

Comments
 (0)