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 Aug 4, 2023
1 parent 95290f0 commit 19b2574
Show file tree
Hide file tree
Showing 2 changed files with 116 additions and 0 deletions.
58 changes: 58 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -31145,6 +31145,9 @@
"paynow": {
"$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
},
"paypal": {
"$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
},
"promptpay": {
"$ref": "#/components/schemas/payment_method_config_resource_payment_method_properties"
},
Expand Down Expand Up @@ -31207,6 +31210,7 @@
"p24",
"pay_by_bank",
"paynow",
"paypal",
"promptpay",
"sepa_debit",
"sofort",
Expand Down Expand Up @@ -116203,6 +116207,10 @@
"explode": true,
"style": "deepObject"
},
"paypal": {
"explode": true,
"style": "deepObject"
},
"promptpay": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -116866,6 +116874,29 @@
"title": "payment_method_param",
"type": "object"
},
"paypal": {
"description": "PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.",
"properties": {
"display_preference": {
"description": "Whether or not the payment method should be displayed.",
"properties": {
"preference": {
"description": "The account's preference for whether or not to display this payment method.",
"enum": [
"none",
"off",
"on"
],
"type": "string"
}
},
"title": "display_preference_param",
"type": "object"
}
},
"title": "payment_method_param",
"type": "object"
},
"promptpay": {
"description": "PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.",
"properties": {
Expand Down Expand Up @@ -117210,6 +117241,10 @@
"explode": true,
"style": "deepObject"
},
"paypal": {
"explode": true,
"style": "deepObject"
},
"promptpay": {
"explode": true,
"style": "deepObject"
Expand Down Expand Up @@ -117872,6 +117907,29 @@
"title": "payment_method_param",
"type": "object"
},
"paypal": {
"description": "PayPal, a digital wallet popular with customers in Europe, allows your customers worldwide to pay using their PayPal account. Check this [page](https://stripe.com/docs/payments/paypal) for more details.",
"properties": {
"display_preference": {
"description": "Whether or not the payment method should be displayed.",
"properties": {
"preference": {
"description": "The account's preference for whether or not to display this payment method.",
"enum": [
"none",
"off",
"on"
],
"type": "string"
}
},
"title": "display_preference_param",
"type": "object"
}
},
"title": "payment_method_param",
"type": "object"
},
"promptpay": {
"description": "PromptPay is a Thailand-based payment method that allows customers to make a payment using their preferred app from participating banks. Check this [page](https://stripe.com/docs/payments/promptpay) for more details.",
"properties": {
Expand Down
58 changes: 58 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28436,6 +28436,9 @@ components:
paynow:
$ref: >-
#/components/schemas/payment_method_config_resource_payment_method_properties
paypal:
$ref: >-
#/components/schemas/payment_method_config_resource_payment_method_properties
promptpay:
$ref: >-
#/components/schemas/payment_method_config_resource_payment_method_properties
Expand Down Expand Up @@ -28496,6 +28499,7 @@ components:
- p24
- pay_by_bank
- paynow
- paypal
- promptpay
- sepa_debit
- sofort
Expand Down Expand Up @@ -110043,6 +110047,9 @@ paths:
paynow:
explode: true
style: deepObject
paypal:
explode: true
style: deepObject
promptpay:
explode: true
style: deepObject
Expand Down Expand Up @@ -110755,6 +110762,30 @@ paths:
type: object
title: payment_method_param
type: object
paypal:
description: >-
PayPal, a digital wallet popular with customers in Europe,
allows your customers worldwide to pay using their PayPal
account. Check this
[page](https://stripe.com/docs/payments/paypal) for more
details.
properties:
display_preference:
description: Whether or not the payment method should be displayed.
properties:
preference:
description: >-
The account's preference for whether or not to
display this payment method.
enum:
- none
- 'off'
- 'on'
type: string
title: display_preference_param
type: object
title: payment_method_param
type: object
promptpay:
description: >-
PromptPay is a Thailand-based payment method that allows
Expand Down Expand Up @@ -111045,6 +111076,9 @@ paths:
paynow:
explode: true
style: deepObject
paypal:
explode: true
style: deepObject
promptpay:
explode: true
style: deepObject
Expand Down Expand Up @@ -111754,6 +111788,30 @@ paths:
type: object
title: payment_method_param
type: object
paypal:
description: >-
PayPal, a digital wallet popular with customers in Europe,
allows your customers worldwide to pay using their PayPal
account. Check this
[page](https://stripe.com/docs/payments/paypal) for more
details.
properties:
display_preference:
description: Whether or not the payment method should be displayed.
properties:
preference:
description: >-
The account's preference for whether or not to
display this payment method.
enum:
- none
- 'off'
- 'on'
type: string
title: display_preference_param
type: object
title: payment_method_param
type: object
promptpay:
description: >-
PromptPay is a Thailand-based payment method that allows
Expand Down

0 comments on commit 19b2574

Please sign in to comment.