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 9, 2024
1 parent 7f897dc commit 9e596c4
Show file tree
Hide file tree
Showing 6 changed files with 723 additions and 180 deletions.
143 changes: 122 additions & 21 deletions 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

0 comments on commit 9e596c4

Please sign in to comment.