Skip to content

Commit

Permalink
OpenAPI Update (#561)
Browse files Browse the repository at this point in the history
Update OpenAPI for 4d7213971fd248ae8aa773ba58e639ca678332ba

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Dec 8, 2023
1 parent e7f9c9d commit b6e67be
Show file tree
Hide file tree
Showing 2 changed files with 388 additions and 4 deletions.
207 changes: 205 additions & 2 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -36241,6 +36241,15 @@
"payment_links_resource_consent_collection": {
"description": "",
"properties": {
"payment_method_reuse_agreement": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_links_resource_payment_method_reuse_agreement"
}
],
"description": "Settings related to the payment method reuse text shown in the Checkout UI.",
"nullable": true
},
"promotions": {
"description": "If set to `auto`, enables the collection of customer consent for promotional communications.",
"enum": [
Expand All @@ -36261,12 +36270,15 @@
}
},
"required": [
"payment_method_reuse_agreement",
"promotions",
"terms_of_service"
],
"title": "PaymentLinksResourceConsentCollection",
"type": "object",
"x-expandableFields": [],
"x-expandableFields": [
"payment_method_reuse_agreement"
],
"x-stripeResource": {
"class_name": "ConsentCollection",
"in_package": ""
Expand Down Expand Up @@ -36459,6 +36471,15 @@
"payment_links_resource_custom_text": {
"description": "",
"properties": {
"after_submit": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_links_resource_custom_text_position"
}
],
"description": "Custom text that should be displayed after the payment confirmation button.",
"nullable": true
},
"shipping_address": {
"anyOf": [
{
Expand Down Expand Up @@ -36488,13 +36509,15 @@
}
},
"required": [
"after_submit",
"shipping_address",
"submit",
"terms_of_service_acceptance"
],
"title": "PaymentLinksResourceCustomText",
"type": "object",
"x-expandableFields": [
"after_submit",
"shipping_address",
"submit",
"terms_of_service_acceptance"
Expand Down Expand Up @@ -36728,6 +36751,29 @@
"in_package": ""
}
},
"payment_links_resource_payment_method_reuse_agreement": {
"description": "",
"properties": {
"position": {
"description": "Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used.\n\nWhen set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.",
"enum": [
"auto",
"hidden"
],
"type": "string"
}
},
"required": [
"position"
],
"title": "PaymentLinksResourcePaymentMethodReuseAgreement",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "PaymentMethodReuseAgreement",
"in_package": ""
}
},
"payment_links_resource_phone_number_collection": {
"description": "",
"properties": {
Expand Down Expand Up @@ -43270,6 +43316,15 @@
"payment_pages_checkout_session_consent_collection": {
"description": "",
"properties": {
"payment_method_reuse_agreement": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_payment_method_reuse_agreement"
}
],
"description": "If set to `hidden`, it will hide legal text related to the reuse of a payment method.",
"nullable": true
},
"promotions": {
"description": "If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout\nSession will determine whether to display an option to opt into promotional communication\nfrom the merchant depending on the customer's locale. Only available to US merchants.",
"enum": [
Expand All @@ -43290,12 +43345,15 @@
}
},
"required": [
"payment_method_reuse_agreement",
"promotions",
"terms_of_service"
],
"title": "PaymentPagesCheckoutSessionConsentCollection",
"type": "object",
"x-expandableFields": [],
"x-expandableFields": [
"payment_method_reuse_agreement"
],
"x-stripeResource": {
"class_name": "ConsentCollection",
"in_package": ""
Expand Down Expand Up @@ -43545,6 +43603,15 @@
"payment_pages_checkout_session_custom_text": {
"description": "",
"properties": {
"after_submit": {
"anyOf": [
{
"$ref": "#/components/schemas/payment_pages_checkout_session_custom_text_position"
}
],
"description": "Custom text that should be displayed after the payment confirmation button.",
"nullable": true
},
"shipping_address": {
"anyOf": [
{
Expand Down Expand Up @@ -43574,13 +43641,15 @@
}
},
"required": [
"after_submit",
"shipping_address",
"submit",
"terms_of_service_acceptance"
],
"title": "PaymentPagesCheckoutSessionCustomText",
"type": "object",
"x-expandableFields": [
"after_submit",
"shipping_address",
"submit",
"terms_of_service_acceptance"
Expand Down Expand Up @@ -43804,6 +43873,29 @@
"in_package": ""
}
},
"payment_pages_checkout_session_payment_method_reuse_agreement": {
"description": "",
"properties": {
"position": {
"description": "Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's defaults will be used.\n\nWhen set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.",
"enum": [
"auto",
"hidden"
],
"type": "string"
}
},
"required": [
"position"
],
"title": "PaymentPagesCheckoutSessionPaymentMethodReuseAgreement",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "PaymentMethodReuseAgreement",
"in_package": ""
}
},
"payment_pages_checkout_session_phone_number_collection": {
"description": "",
"properties": {
Expand Down Expand Up @@ -84075,6 +84167,24 @@
"consent_collection": {
"description": "Configure fields for the Checkout Session to gather active consent from customers.",
"properties": {
"payment_method_reuse_agreement": {
"description": "Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method.",
"properties": {
"position": {
"description": "Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's\ndefaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.",
"enum": [
"auto",
"hidden"
],
"type": "string"
}
},
"required": [
"position"
],
"title": "payment_method_reuse_agreement_params",
"type": "object"
},
"promotions": {
"description": "If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout\nSession will determine whether to display an option to opt into promotional communication\nfrom the merchant depending on the customer's locale. Only available to US merchants.",
"enum": [
Expand Down Expand Up @@ -84222,6 +84332,31 @@
"custom_text": {
"description": "Display additional text for your customers using custom text.",
"properties": {
"after_submit": {
"anyOf": [
{
"properties": {
"message": {
"description": "Text may be up to 1200 characters in length.",
"maxLength": 1200,
"type": "string"
}
},
"required": [
"message"
],
"title": "custom_text_position_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Custom text that should be displayed after the payment confirmation button."
},
"shipping_address": {
"anyOf": [
{
Expand Down Expand Up @@ -137162,6 +137297,24 @@
"consent_collection": {
"description": "Configure fields to gather active consent from customers.",
"properties": {
"payment_method_reuse_agreement": {
"description": "Determines the display of payment method reuse agreement text in the UI. If set to `hidden`, it will hide legal text related to the reuse of a payment method.",
"properties": {
"position": {
"description": "Determines the position and visibility of the payment method reuse agreement in the UI. When set to `auto`, Stripe's\ndefaults will be used. When set to `hidden`, the payment method reuse agreement text will always be hidden in the UI.",
"enum": [
"auto",
"hidden"
],
"type": "string"
}
},
"required": [
"position"
],
"title": "payment_method_reuse_agreement_params",
"type": "object"
},
"promotions": {
"description": "If set to `auto`, enables the collection of customer consent for promotional communications. The Checkout\nSession will determine whether to display an option to opt into promotional communication\nfrom the merchant depending on the customer's locale. Only available to US merchants.",
"enum": [
Expand Down Expand Up @@ -137309,6 +137462,31 @@
"custom_text": {
"description": "Display additional text for your customers using custom text.",
"properties": {
"after_submit": {
"anyOf": [
{
"properties": {
"message": {
"description": "Text may be up to 1200 characters in length.",
"maxLength": 1200,
"type": "string"
}
},
"required": [
"message"
],
"title": "custom_text_position_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Custom text that should be displayed after the payment confirmation button."
},
"shipping_address": {
"anyOf": [
{
Expand Down Expand Up @@ -138552,6 +138730,31 @@
"custom_text": {
"description": "Display additional text for your customers using custom text.",
"properties": {
"after_submit": {
"anyOf": [
{
"properties": {
"message": {
"description": "Text may be up to 1200 characters in length.",
"maxLength": 1200,
"type": "string"
}
},
"required": [
"message"
],
"title": "custom_text_position_param",
"type": "object"
},
{
"enum": [
""
],
"type": "string"
}
],
"description": "Custom text that should be displayed after the payment confirmation button."
},
"shipping_address": {
"anyOf": [
{
Expand Down
Loading

0 comments on commit b6e67be

Please sign in to comment.