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 May 15, 2024
1 parent 7ab72d7 commit 9e660f2
Show file tree
Hide file tree
Showing 6 changed files with 404 additions and 5 deletions.
82 changes: 80 additions & 2 deletions 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
66 changes: 66 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33859,6 +33859,8 @@ components:
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
Expand Down Expand Up @@ -33895,6 +33897,7 @@ components:
type: object
x-expandableFields:
- installments
- routing
payment_link:
description: >-
A payment link is a shareable URL that will take your customers to a
Expand Down Expand Up @@ -39843,12 +39846,33 @@ components:
response to verify support.
nullable: true
type: boolean
routing:
$ref: '#/components/schemas/payment_method_options_card_present_routing'
required:
- request_extended_authorization
- request_incremental_authorization_support
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
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: ''
properties:
Expand Down Expand Up @@ -127588,6 +127612,20 @@ paths:
[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
type: object
- enum:
Expand Down Expand Up @@ -132750,6 +132788,20 @@ paths:
[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
type: object
- enum:
Expand Down Expand Up @@ -138808,6 +138860,20 @@ paths:
[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
type: object
- enum:
Expand Down
67 changes: 66 additions & 1 deletion 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

0 comments on commit 9e660f2

Please sign in to comment.