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 #949

Merged
merged 1 commit into from
Aug 9, 2024
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
143 changes: 122 additions & 21 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -38032,7 +38032,7 @@
"$ref": "#/components/schemas/payment_intent_payment_method_options_au_becs_debit"
},
"bacs_debit": {
"$ref": "#/components/schemas/payment_method_options_bacs_debit"
"$ref": "#/components/schemas/payment_intent_payment_method_options_bacs_debit"
},
"bancontact": {
"$ref": "#/components/schemas/payment_method_options_bancontact"
Expand Down Expand Up @@ -38232,6 +38232,28 @@
"type": "object",
"x-expandableFields": []
},
"payment_intent_payment_method_options_bacs_debit": {
"description": "",
"properties": {
"mandate_options": {
"$ref": "#/components/schemas/payment_intent_payment_method_options_mandate_options_bacs_debit"
},
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
"enum": [
"none",
"off_session",
"on_session"
],
"type": "string"
}
},
"title": "payment_intent_payment_method_options_bacs_debit",
"type": "object",
"x-expandableFields": [
"mandate_options"
]
},
"payment_intent_payment_method_options_blik": {
"description": "",
"properties": {
Expand Down Expand Up @@ -38477,6 +38499,17 @@
"type": "object",
"x-expandableFields": []
},
"payment_intent_payment_method_options_mandate_options_bacs_debit": {
"description": "",
"properties": {},
"title": "payment_intent_payment_method_options_mandate_options_bacs_debit",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "BacsDebitMandateOptions",
"in_package": ""
}
},
"payment_intent_payment_method_options_mandate_options_payto": {
"description": "",
"properties": {
Expand Down Expand Up @@ -45035,23 +45068,6 @@
"type": "object",
"x-expandableFields": []
},
"payment_method_options_bacs_debit": {
"description": "",
"properties": {
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).",
"enum": [
"none",
"off_session",
"on_session"
],
"type": "string"
}
},
"title": "payment_method_options_bacs_debit",
"type": "object",
"x-expandableFields": []
},
"payment_method_options_bancontact": {
"description": "",
"properties": {
Expand Down Expand Up @@ -58051,6 +58067,9 @@
"amazon_pay": {
"$ref": "#/components/schemas/setup_intent_payment_method_options_amazon_pay"
},
"bacs_debit": {
"$ref": "#/components/schemas/setup_intent_payment_method_options_bacs_debit"
},
"card": {
"$ref": "#/components/schemas/setup_intent_payment_method_options_card"
},
Expand Down Expand Up @@ -58078,6 +58097,7 @@
"x-expandableFields": [
"acss_debit",
"amazon_pay",
"bacs_debit",
"card",
"card_present",
"link",
Expand Down Expand Up @@ -58129,6 +58149,19 @@
"type": "object",
"x-expandableFields": []
},
"setup_intent_payment_method_options_bacs_debit": {
"description": "",
"properties": {
"mandate_options": {
"$ref": "#/components/schemas/setup_intent_payment_method_options_mandate_options_bacs_debit"
}
},
"title": "setup_intent_payment_method_options_bacs_debit",
"type": "object",
"x-expandableFields": [
"mandate_options"
]
},
"setup_intent_payment_method_options_card": {
"description": "",
"properties": {
Expand Down Expand Up @@ -58350,6 +58383,17 @@
"type": "object",
"x-expandableFields": []
},
"setup_intent_payment_method_options_mandate_options_bacs_debit": {
"description": "",
"properties": {},
"title": "setup_intent_payment_method_options_mandate_options_bacs_debit",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "BacsDebitMandateOptions",
"in_package": ""
}
},
"setup_intent_payment_method_options_mandate_options_payto": {
"description": "",
"properties": {
Expand Down Expand Up @@ -140448,6 +140492,12 @@
"anyOf": [
{
"properties": {
"mandate_options": {
"description": "Additional fields for Mandate creation",
"properties": {},
"title": "payment_method_options_mandate_options_param",
"type": "object"
},
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
"enum": [
Expand All @@ -140459,7 +140509,7 @@
"type": "string"
}
},
"title": "payment_method_options_param",
"title": "payment_intent_payment_method_options_param",
"type": "object"
},
{
Expand Down Expand Up @@ -144728,6 +144778,12 @@
"anyOf": [
{
"properties": {
"mandate_options": {
"description": "Additional fields for Mandate creation",
"properties": {},
"title": "payment_method_options_mandate_options_param",
"type": "object"
},
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
"enum": [
Expand All @@ -144739,7 +144795,7 @@
"type": "string"
}
},
"title": "payment_method_options_param",
"title": "payment_intent_payment_method_options_param",
"type": "object"
},
{
Expand Down Expand Up @@ -149992,6 +150048,12 @@
"anyOf": [
{
"properties": {
"mandate_options": {
"description": "Additional fields for Mandate creation",
"properties": {},
"title": "payment_method_options_mandate_options_param",
"type": "object"
},
"setup_future_usage": {
"description": "Indicates that you intend to make future payments with this PaymentIntent's payment method.\n\nIf you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](/api/payment_methods/attach) the payment method to a Customer after the transaction completes.\n\nIf the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.\n\nWhen processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](/strong-customer-authentication).\n\nIf you've already set `setup_future_usage` and you're performing a request using a publishable key, you can only update the value from `on_session` to `off_session`.",
"enum": [
Expand All @@ -150003,7 +150065,7 @@
"type": "string"
}
},
"title": "payment_method_options_param",
"title": "payment_intent_payment_method_options_param",
"type": "object"
},
{
Expand Down Expand Up @@ -175217,6 +175279,19 @@
"title": "setup_intent_payment_method_options_param",
"type": "object"
},
"bacs_debit": {
"description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.",
"properties": {
"mandate_options": {
"description": "Additional fields for Mandate creation",
"properties": {},
"title": "payment_method_options_mandate_options_param",
"type": "object"
}
},
"title": "setup_intent_payment_method_options_param",
"type": "object"
},
"card": {
"description": "Configuration for any card setup attempted on this SetupIntent.",
"properties": {
Expand Down Expand Up @@ -176772,6 +176847,19 @@
"title": "setup_intent_payment_method_options_param",
"type": "object"
},
"bacs_debit": {
"description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.",
"properties": {
"mandate_options": {
"description": "Additional fields for Mandate creation",
"properties": {},
"title": "payment_method_options_mandate_options_param",
"type": "object"
}
},
"title": "setup_intent_payment_method_options_param",
"type": "object"
},
"card": {
"description": "Configuration for any card setup attempted on this SetupIntent.",
"properties": {
Expand Down Expand Up @@ -178359,6 +178447,19 @@
"title": "setup_intent_payment_method_options_param",
"type": "object"
},
"bacs_debit": {
"description": "If this is a `bacs_debit` SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.",
"properties": {
"mandate_options": {
"description": "Additional fields for Mandate creation",
"properties": {},
"title": "payment_method_options_mandate_options_param",
"type": "object"
}
},
"title": "setup_intent_payment_method_options_param",
"type": "object"
},
"card": {
"description": "Configuration for any card setup attempted on this SetupIntent.",
"properties": {
Expand Down
Loading
Loading