Skip to content

Commit

Permalink
OpenAPI Update (#824)
Browse files Browse the repository at this point in the history
Update OpenAPI for 9e660f28bb0c4eeaa41552a8996211b606cbbfe5

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed May 15, 2024
1 parent 0a25c6e commit aadf423
Show file tree
Hide file tree
Showing 2 changed files with 146 additions and 3 deletions.
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

0 comments on commit aadf423

Please sign in to comment.