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

Merged
merged 1 commit into from
May 15, 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
82 changes: 80 additions & 2 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -37249,6 +37249,9 @@
"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).",
"type": "boolean"
},
"routing": {
"$ref": "#/components/schemas/payment_method_options_card_present_routing"
},
"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": [
Expand All @@ -37272,7 +37275,8 @@
"title": "PaymentIntentTypeSpecificPaymentMethodOptionsClient",
"type": "object",
"x-expandableFields": [
"installments"
"installments",
"routing"
]
},
"payment_link": {
Expand Down Expand Up @@ -43566,6 +43570,9 @@
"description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
"nullable": true,
"type": "boolean"
},
"routing": {
"$ref": "#/components/schemas/payment_method_options_card_present_routing"
}
},
"required": [
Expand All @@ -43574,7 +43581,33 @@
],
"title": "payment_method_options_card_present",
"type": "object",
"x-expandableFields": []
"x-expandableFields": [
"routing"
]
},
"payment_method_options_card_present_routing": {
"description": "",
"properties": {
"requested_priority": {
"description": "Requested routing priority",
"enum": [
"domestic",
"international"
],
"nullable": true,
"type": "string"
}
},
"required": [
"requested_priority"
],
"title": "payment_method_options_card_present_routing",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "Routing",
"in_package": ""
}
},
"payment_method_options_cashapp": {
"description": "",
Expand Down Expand Up @@ -137546,6 +137579,21 @@
"request_incremental_authorization_support": {
"description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
"type": "boolean"
},
"routing": {
"description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.",
"properties": {
"requested_priority": {
"description": "Routing requested priority",
"enum": [
"domestic",
"international"
],
"type": "string"
}
},
"title": "routing_payment_method_options_param",
"type": "object"
}
},
"title": "payment_method_options_param",
Expand Down Expand Up @@ -141725,6 +141773,21 @@
"request_incremental_authorization_support": {
"description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
"type": "boolean"
},
"routing": {
"description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.",
"properties": {
"requested_priority": {
"description": "Routing requested priority",
"enum": [
"domestic",
"international"
],
"type": "string"
}
},
"title": "routing_payment_method_options_param",
"type": "object"
}
},
"title": "payment_method_options_param",
Expand Down Expand Up @@ -146844,6 +146907,21 @@
"request_incremental_authorization_support": {
"description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
"type": "boolean"
},
"routing": {
"description": "Network routing priority on co-branded EMV cards supporting domestic debit and international card schemes.",
"properties": {
"requested_priority": {
"description": "Routing requested priority",
"enum": [
"domestic",
"international"
],
"type": "string"
}
},
"title": "routing_payment_method_options_param",
"type": "object"
}
},
"title": "payment_method_options_param",
Expand Down
67 changes: 66 additions & 1 deletion embedded/openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -25841,6 +25841,9 @@
"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).",
"type": "boolean"
},
"routing": {
"$ref": "#/components/schemas/payment_method_options_card_present_routing"
},
"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": [
Expand All @@ -25864,7 +25867,8 @@
"title": "PaymentIntentTypeSpecificPaymentMethodOptionsClient",
"type": "object",
"x-expandableFields": [
"installments"
"installments",
"routing"
]
},
"payment_link": {
Expand Down Expand Up @@ -31249,10 +31253,32 @@
"description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.",
"nullable": true,
"type": "boolean"
},
"routing": {
"$ref": "#/components/schemas/payment_method_options_card_present_routing"
}
},
"title": "payment_method_options_card_present",
"type": "object",
"x-expandableFields": [
"routing"
]
},
"payment_method_options_card_present_routing": {
"description": "",
"properties": {
"requested_priority": {
"description": "Requested routing priority",
"enum": [
"domestic",
"international"
],
"nullable": true,
"type": "string"
}
},
"title": "payment_method_options_card_present_routing",
"type": "object",
"x-expandableFields": []
},
"payment_method_options_cashapp": {
Expand Down Expand Up @@ -104717,6 +104743,19 @@
},
"request_incremental_authorization_support": {
"type": "boolean"
},
"routing": {
"properties": {
"requested_priority": {
"enum": [
"domestic",
"international"
],
"type": "string"
}
},
"title": "routing_payment_method_options_param",
"type": "object"
}
},
"title": "payment_method_options_param",
Expand Down Expand Up @@ -107431,6 +107470,19 @@
},
"request_incremental_authorization_support": {
"type": "boolean"
},
"routing": {
"properties": {
"requested_priority": {
"enum": [
"domestic",
"international"
],
"type": "string"
}
},
"title": "routing_payment_method_options_param",
"type": "object"
}
},
"title": "payment_method_options_param",
Expand Down Expand Up @@ -110289,6 +110341,19 @@
},
"request_incremental_authorization_support": {
"type": "boolean"
},
"routing": {
"properties": {
"requested_priority": {
"enum": [
"domestic",
"international"
],
"type": "string"
}
},
"title": "routing_payment_method_options_param",
"type": "object"
}
},
"title": "payment_method_options_param",
Expand Down
Loading