Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #521

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -8109,6 +8109,57 @@
"in_package": ""
}
},
"checkout_paypal_payment_method_options": {
"description": "",
"properties": {
"capture_method": {
"description": "Controls when the funds will be captured from the customer's account.",
"enum": [
"manual"
],
"type": "string"
},
"preferred_locale": {
"description": "Preferred locale of the PayPal checkout page that the customer is redirected to.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"reference": {
"description": "A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"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",
"off_session"
],
"type": "string"
},
"subsellers": {
"description": "The Stripe connected account IDs of the sellers on the platform for this transaction (optional). Only allowed when [separate charges and transfers](https://stripe.com/docs/connect/separate-charges-and-transfers) are used.",
"items": {
"maxLength": 5000,
"type": "string"
},
"type": "array"
}
},
"required": [
"preferred_locale",
"reference"
],
"title": "CheckoutPaypalPaymentMethodOptions",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "Paypal",
"in_package": ""
}
},
"checkout_pix_payment_method_options": {
"description": "",
"properties": {
Expand Down Expand Up @@ -8230,6 +8281,9 @@
"paynow": {
"$ref": "#/components/schemas/checkout_paynow_payment_method_options"
},
"paypal": {
"$ref": "#/components/schemas/checkout_paypal_payment_method_options"
},
"pix": {
"$ref": "#/components/schemas/checkout_pix_payment_method_options"
},
Expand Down Expand Up @@ -8271,6 +8325,7 @@
"oxxo",
"p24",
"paynow",
"paypal",
"pix",
"revolut_pay",
"sepa_debit",
Expand Down
39 changes: 39 additions & 0 deletions embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -5269,6 +5269,41 @@
"type": "object",
"x-expandableFields": []
},
"checkout_paypal_payment_method_options": {
"description": "",
"properties": {
"capture_method": {
"description": "Controls when the funds will be captured from the customer's account.",
"enum": [
"manual"
],
"type": "string"
},
"preferred_locale": {
"description": "Preferred locale of the PayPal checkout page that the customer is redirected to.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"reference": {
"description": "A reference of the PayPal transaction visible to customer which is mapped to PayPal's invoice ID. This must be a globally unique ID if you have configured in your PayPal settings to block multiple payments per invoice ID.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"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",
"off_session"
],
"type": "string"
}
},
"title": "CheckoutPaypalPaymentMethodOptions",
"type": "object",
"x-expandableFields": []
},
"checkout_pix_payment_method_options": {
"description": "",
"properties": {
Expand Down Expand Up @@ -5375,6 +5410,9 @@
"paynow": {
"$ref": "#/components/schemas/checkout_paynow_payment_method_options"
},
"paypal": {
"$ref": "#/components/schemas/checkout_paypal_payment_method_options"
},
"pix": {
"$ref": "#/components/schemas/checkout_pix_payment_method_options"
},
Expand Down Expand Up @@ -5416,6 +5454,7 @@
"oxxo",
"p24",
"paynow",
"paypal",
"pix",
"revolut_pay",
"sepa_debit",
Expand Down