Skip to content

Commit e784d66

Browse files
OpenAPI Update (#650)
Update OpenAPI for de4fea8614a0c04d74f2bd8f0174f59619e2fa51 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent a011a96 commit e784d66

File tree

2 files changed

+87
-0
lines changed

2 files changed

+87
-0
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8880,6 +8880,15 @@
88808880
]
88818881
}
88828882
},
8883+
"payment_method_options": {
8884+
"anyOf": [
8885+
{
8886+
"$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_options"
8887+
}
8888+
],
8889+
"description": "Payment-method-specific configuration for this ConfirmationToken.",
8890+
"nullable": true
8891+
},
88838892
"payment_method_preview": {
88848893
"anyOf": [
88858894
{
@@ -8929,6 +8938,7 @@
89298938
"object",
89308939
"payment_intent",
89318940
"payment_method",
8941+
"payment_method_options",
89328942
"payment_method_preview",
89338943
"return_url",
89348944
"setup_future_usage",
@@ -8940,6 +8950,7 @@
89408950
"x-expandableFields": [
89418951
"mandate_data",
89428952
"payment_method",
8953+
"payment_method_options",
89438954
"payment_method_preview",
89448955
"shipping"
89458956
],
@@ -9026,6 +9037,45 @@
90269037
"type": "object",
90279038
"x-expandableFields": []
90289039
},
9040+
"confirmation_tokens_resource_payment_method_options": {
9041+
"description": "Payment-method-specific configuration",
9042+
"properties": {
9043+
"card": {
9044+
"anyOf": [
9045+
{
9046+
"$ref": "#/components/schemas/confirmation_tokens_resource_payment_method_options_resource_card"
9047+
}
9048+
],
9049+
"description": "This hash contains the card payment method options.",
9050+
"nullable": true
9051+
}
9052+
},
9053+
"required": [
9054+
"card"
9055+
],
9056+
"title": "ConfirmationTokensResourcePaymentMethodOptions",
9057+
"type": "object",
9058+
"x-expandableFields": [
9059+
"card"
9060+
]
9061+
},
9062+
"confirmation_tokens_resource_payment_method_options_resource_card": {
9063+
"description": "This hash contains the card payment method options.",
9064+
"properties": {
9065+
"cvc_token": {
9066+
"description": "The `cvc_update` Token collected from the Payment Element.",
9067+
"maxLength": 5000,
9068+
"nullable": true,
9069+
"type": "string"
9070+
}
9071+
},
9072+
"required": [
9073+
"cvc_token"
9074+
],
9075+
"title": "ConfirmationTokensResourcePaymentMethodOptionsResourceCard",
9076+
"type": "object",
9077+
"x-expandableFields": []
9078+
},
90299079
"confirmation_tokens_resource_payment_method_preview": {
90309080
"description": "Details of the PaymentMethod collected by Payment Element",
90319081
"properties": {
@@ -35047,6 +35097,10 @@
3504735097
"type": "string",
3504835098
"x-stripeBypassValidation": true
3504935099
},
35100+
"require_cvc_recollection": {
35101+
"description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
35102+
"type": "boolean"
35103+
},
3505035104
"setup_future_usage": {
3505135105
"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).",
3505235106
"enum": [
@@ -35336,6 +35390,10 @@
3533635390
"installments": {
3533735391
"$ref": "#/components/schemas/payment_flows_installment_options"
3533835392
},
35393+
"require_cvc_recollection": {
35394+
"description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
35395+
"type": "boolean"
35396+
},
3533935397
"setup_future_usage": {
3534035398
"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).",
3534135399
"enum": [
@@ -131095,6 +131153,10 @@
131095131153
"type": "string",
131096131154
"x-stripeBypassValidation": true
131097131155
},
131156+
"require_cvc_recollection": {
131157+
"description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
131158+
"type": "boolean"
131159+
},
131098131160
"setup_future_usage": {
131099131161
"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).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
131100131162
"enum": [
@@ -134952,6 +135014,10 @@
134952135014
"type": "string",
134953135015
"x-stripeBypassValidation": true
134954135016
},
135017+
"require_cvc_recollection": {
135018+
"description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
135019+
"type": "boolean"
135020+
},
134955135021
"setup_future_usage": {
134956135022
"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).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
134957135023
"enum": [
@@ -139745,6 +139811,10 @@
139745139811
"type": "string",
139746139812
"x-stripeBypassValidation": true
139747139813
},
139814+
"require_cvc_recollection": {
139815+
"description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
139816+
"type": "boolean"
139817+
},
139748139818
"setup_future_usage": {
139749139819
"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).\n\nIf `setup_future_usage` is already set and you are performing a request using a publishable key, you may only update the value from `on_session` to `off_session`.",
139750139820
"enum": [

embedded/openapi/spec3.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23150,6 +23150,10 @@
2315023150
"type": "string",
2315123151
"x-stripeBypassValidation": true
2315223152
},
23153+
"require_cvc_recollection": {
23154+
"description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
23155+
"type": "boolean"
23156+
},
2315323157
"setup_future_usage": {
2315423158
"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).",
2315523159
"enum": [
@@ -23403,6 +23407,10 @@
2340323407
"installments": {
2340423408
"$ref": "#/components/schemas/payment_flows_installment_options"
2340523409
},
23410+
"require_cvc_recollection": {
23411+
"description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).",
23412+
"type": "boolean"
23413+
},
2340623414
"setup_future_usage": {
2340723415
"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).",
2340823416
"enum": [
@@ -94671,6 +94679,9 @@
9467194679
"type": "string",
9467294680
"x-stripeBypassValidation": true
9467394681
},
94682+
"require_cvc_recollection": {
94683+
"type": "boolean"
94684+
},
9467494685
"setup_future_usage": {
9467594686
"enum": [
9467694687
"",
@@ -97285,6 +97296,9 @@
9728597296
"type": "string",
9728697297
"x-stripeBypassValidation": true
9728797298
},
97299+
"require_cvc_recollection": {
97300+
"type": "boolean"
97301+
},
9728897302
"setup_future_usage": {
9728997303
"enum": [
9729097304
"",
@@ -100038,6 +100052,9 @@
100038100052
"type": "string",
100039100053
"x-stripeBypassValidation": true
100040100054
},
100055+
"require_cvc_recollection": {
100056+
"type": "boolean"
100057+
},
100041100058
"setup_future_usage": {
100042100059
"enum": [
100043100060
"",

0 commit comments

Comments
 (0)