Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Apr 20, 2023
1 parent 289fc35 commit fbaf6c5
Show file tree
Hide file tree
Showing 2 changed files with 265 additions and 2 deletions.
100 changes: 98 additions & 2 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -27566,6 +27566,9 @@
},
"wechat_pay": {
"$ref": "#/components/schemas/payment_method_options_wechat_pay"
},
"zip": {
"$ref": "#/components/schemas/payment_method_options_zip"
}
},
"title": "PaymentIntentPaymentMethodOptions",
Expand Down Expand Up @@ -27602,7 +27605,8 @@
"sepa_debit",
"sofort",
"us_bank_account",
"wechat_pay"
"wechat_pay",
"zip"
],
"x-stripeResource": {
"class_name": "PaymentMethodOptions",
Expand Down Expand Up @@ -27642,7 +27646,8 @@
"payment_method_options_pix",
"payment_method_options_promptpay",
"payment_method_options_sofort",
"payment_method_options_wechat_pay"
"payment_method_options_wechat_pay",
"payment_method_options_zip"
]
}
},
Expand Down Expand Up @@ -33953,6 +33958,25 @@
"in_class": "payment_intent_payment_method_options"
}
},
"payment_method_options_zip": {
"description": "",
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).",
"enum": [
"none"
],
"type": "string"
}
},
"title": "payment_method_options_zip",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "Zip",
"in_class": "payment_intent_payment_method_options"
}
},
"payment_method_oxxo": {
"description": "",
"properties": {},
Expand Down Expand Up @@ -102141,6 +102165,30 @@
}
],
"description": "If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options."
},
"zip": {
"anyOf": [
{
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
"enum": [
"none"
],
"type": "string"
}
},
"title": "payment_method_options_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options."
}
},
"title": "payment_method_options_param",
Expand Down Expand Up @@ -104767,6 +104815,30 @@
}
],
"description": "If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options."
},
"zip": {
"anyOf": [
{
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
"enum": [
"none"
],
"type": "string"
}
},
"title": "payment_method_options_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options."
}
},
"title": "payment_method_options_param",
Expand Down Expand Up @@ -107468,6 +107540,30 @@
}
],
"description": "If this is a `wechat_pay` PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options."
},
"zip": {
"anyOf": [
{
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nProviding this parameter will [attach the payment method](https://stripe.com/docs/payments/save-during-payment) to the PaymentIntent's Customer, if present, after the PaymentIntent is confirmed and any required actions from the user are complete. If no Customer was provided, the payment method can still be [attached](https://stripe.com/docs/api/payment_methods/attach) to a Customer after the transaction completes.\n\nWhen processing card payments, Stripe also uses `setup_future_usage` to dynamically optimize your payment flow and comply with regional legislation and network rules, such as [SCA](https://stripe.com/docs/strong-customer-authentication).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
"enum": [
"none"
],
"type": "string"
}
},
"title": "payment_method_options_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "If this is a `zip` PaymentMethod, this sub-hash contains details about the Zip payment method options."
}
},
"title": "payment_method_options_param",
Expand Down
167 changes: 167 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25034,6 +25034,8 @@ components:
#/components/schemas/payment_intent_payment_method_options_us_bank_account
wechat_pay:
$ref: '#/components/schemas/payment_method_options_wechat_pay'
zip:
$ref: '#/components/schemas/payment_method_options_zip'
title: PaymentIntentPaymentMethodOptions
type: object
x-expandableFields:
Expand Down Expand Up @@ -25069,6 +25071,7 @@ components:
- sofort
- us_bank_account
- wechat_pay
- zip
x-stripeResource:
class_name: PaymentMethodOptions
in_class: payment_intent
Expand Down Expand Up @@ -25108,6 +25111,7 @@ components:
- payment_method_options_promptpay
- payment_method_options_sofort
- payment_method_options_wechat_pay
- payment_method_options_zip
payment_intent_payment_method_options_acss_debit:
description: ''
properties:
Expand Down Expand Up @@ -31281,6 +31285,37 @@ components:
x-stripeResource:
class_name: WechatPay
in_class: payment_intent_payment_method_options
payment_method_options_zip:
description: ''
properties:
setup_future_usage:
description: >-
Indicates that you intend to make future payments with this
PaymentIntent's payment method.


Providing this parameter will [attach the payment
method](https://stripe.com/docs/payments/save-during-payment) to the
PaymentIntent's Customer, if present, after the PaymentIntent is
confirmed and any required actions from the user are complete. If no
Customer was provided, the payment method can still be
[attached](https://stripe.com/docs/api/payment_methods/attach) to a
Customer after the transaction completes.


When processing card payments, Stripe also uses `setup_future_usage`
to dynamically optimize your payment flow and comply with regional
legislation and network rules, such as
[SCA](https://stripe.com/docs/strong-customer-authentication).
enum:
- none
type: string
title: payment_method_options_zip
type: object
x-expandableFields: []
x-stripeResource:
class_name: Zip
in_class: payment_intent_payment_method_options
payment_method_oxxo:
description: ''
properties: {}
Expand Down Expand Up @@ -94806,6 +94841,50 @@ paths:
If this is a `wechat_pay` PaymentMethod, this sub-hash
contains details about the WeChat Pay payment method
options.
zip:
anyOf:
- properties:
setup_future_usage:
description: >-
Indicates that you intend to make future
payments with this PaymentIntent's payment
method.


Providing this parameter will [attach the
payment
method](https://stripe.com/docs/payments/save-during-payment)
to the PaymentIntent's Customer, if present,
after the PaymentIntent is confirmed and any
required actions from the user are complete. If
no Customer was provided, the payment method can
still be
[attached](https://stripe.com/docs/api/payment_methods/attach)
to a Customer after the transaction completes.


When processing card payments, Stripe also uses
`setup_future_usage` to dynamically optimize
your payment flow and comply with regional
legislation and network rules, such as
[SCA](https://stripe.com/docs/strong-customer-authentication).


If `setup_future_usage` is already set and you
are performing a request using a publishable
key, you may only update the value from
`on_session` to `off_session`.
enum:
- none
type: string
title: payment_method_options_param
type: object
- enum:
- ''
type: string
description: >-
If this is a `zip` PaymentMethod, this sub-hash contains
details about the Zip payment method options.
title: payment_method_options_param
type: object
payment_method_types:
Expand Down Expand Up @@ -98218,6 +98297,50 @@ paths:
If this is a `wechat_pay` PaymentMethod, this sub-hash
contains details about the WeChat Pay payment method
options.
zip:
anyOf:
- properties:
setup_future_usage:
description: >-
Indicates that you intend to make future
payments with this PaymentIntent's payment
method.


Providing this parameter will [attach the
payment
method](https://stripe.com/docs/payments/save-during-payment)
to the PaymentIntent's Customer, if present,
after the PaymentIntent is confirmed and any
required actions from the user are complete. If
no Customer was provided, the payment method can
still be
[attached](https://stripe.com/docs/api/payment_methods/attach)
to a Customer after the transaction completes.


When processing card payments, Stripe also uses
`setup_future_usage` to dynamically optimize
your payment flow and comply with regional
legislation and network rules, such as
[SCA](https://stripe.com/docs/strong-customer-authentication).


If `setup_future_usage` is already set and you
are performing a request using a publishable
key, you may only update the value from
`on_session` to `off_session`.
enum:
- none
type: string
title: payment_method_options_param
type: object
- enum:
- ''
type: string
description: >-
If this is a `zip` PaymentMethod, this sub-hash contains
details about the Zip payment method options.
title: payment_method_options_param
type: object
payment_method_types:
Expand Down Expand Up @@ -101703,6 +101826,50 @@ paths:
If this is a `wechat_pay` PaymentMethod, this sub-hash
contains details about the WeChat Pay payment method
options.
zip:
anyOf:
- properties:
setup_future_usage:
description: >-
Indicates that you intend to make future
payments with this PaymentIntent's payment
method.


Providing this parameter will [attach the
payment
method](https://stripe.com/docs/payments/save-during-payment)
to the PaymentIntent's Customer, if present,
after the PaymentIntent is confirmed and any
required actions from the user are complete. If
no Customer was provided, the payment method can
still be
[attached](https://stripe.com/docs/api/payment_methods/attach)
to a Customer after the transaction completes.


When processing card payments, Stripe also uses
`setup_future_usage` to dynamically optimize
your payment flow and comply with regional
legislation and network rules, such as
[SCA](https://stripe.com/docs/strong-customer-authentication).


If `setup_future_usage` is already set and you
are performing a request using a publishable
key, you may only update the value from
`on_session` to `off_session`.
enum:
- none
type: string
title: payment_method_options_param
type: object
- enum:
- ''
type: string
description: >-
If this is a `zip` PaymentMethod, this sub-hash contains
details about the Zip payment method options.
title: payment_method_options_param
type: object
radar_options:
Expand Down

0 comments on commit fbaf6c5

Please sign in to comment.