Skip to content

Commit

Permalink
OpenAPI Update (#521)
Browse files Browse the repository at this point in the history
Update OpenAPI for 7af3dcd2049852879d09bb8a89b872778c0ba807

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Nov 14, 2023
1 parent c20044a commit e7a80ed
Show file tree
Hide file tree
Showing 2 changed files with 94 additions and 0 deletions.
55 changes: 55 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
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
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

0 comments on commit e7a80ed

Please sign in to comment.