diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index cd16c0c5..8ee8d1e0 100644 --- a/openapi/spec3.beta.sdk.json +++ b/openapi/spec3.beta.sdk.json @@ -138838,7 +138838,6 @@ "style": "form" }, { - "description": "Tax Transaction ID.", "in": "path", "name": "transaction", "required": true, diff --git a/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 8af27f86..ee38cb33 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -131163,8 +131163,7 @@ paths: maxLength: 500 type: string style: form - - description: Tax Transaction ID. - in: path + - in: path name: transaction required: true schema: diff --git a/openapi/spec3.json b/openapi/spec3.json index 05c88e48..e068356e 100644 --- a/openapi/spec3.json +++ b/openapi/spec3.json @@ -4075,6 +4075,15 @@ "nullable": true, "type": "string" }, + "currency_conversion": { + "anyOf": [ + { + "$ref": "#/components/schemas/payment_pages_checkout_session_currency_conversion" + } + ], + "description": "Currency conversion details for automatic currency conversion sessions", + "nullable": true + }, "custom_fields": { "description": "Collect additional information from your customer using custom fields. Up to 2 fields are supported.", "items": { @@ -4516,6 +4525,7 @@ "automatic_tax", "consent", "consent_collection", + "currency_conversion", "custom_fields", "custom_text", "customer", @@ -25475,6 +25485,38 @@ "type": "object", "x-expandableFields": [] }, + "payment_pages_checkout_session_currency_conversion": { + "description": "", + "properties": { + "amount_subtotal": { + "description": "Total of all items in source currency before discounts or taxes are applied.", + "type": "integer" + }, + "amount_total": { + "description": "Total of all items in source currency after discounts and taxes are applied.", + "type": "integer" + }, + "fx_rate": { + "description": "Exchange rate used to convert source currency amounts to customer currency amounts", + "format": "decimal", + "type": "string" + }, + "source_currency": { + "description": "Creation currency of the CheckoutSession before localization", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "amount_subtotal", + "amount_total", + "fx_rate", + "source_currency" + ], + "title": "PaymentPagesCheckoutSessionCurrencyConversion", + "type": "object", + "x-expandableFields": [] + }, "payment_pages_checkout_session_custom_fields": { "description": "", "properties": { diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index c0ab2b9d..ae16177e 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -4980,6 +4980,15 @@ "nullable": true, "type": "string" }, + "currency_conversion": { + "anyOf": [ + { + "$ref": "#/components/schemas/payment_pages_checkout_session_currency_conversion" + } + ], + "description": "Currency conversion details for automatic currency conversion sessions", + "nullable": true + }, "custom_fields": { "description": "Collect additional information from your customer using custom fields. Up to 2 fields are supported.", "items": { @@ -5453,6 +5462,7 @@ "automatic_tax", "consent", "consent_collection", + "currency_conversion", "custom_fields", "custom_text", "customer", @@ -5521,6 +5531,7 @@ "payment_pages_checkout_session_automatic_tax", "payment_pages_checkout_session_consent", "payment_pages_checkout_session_consent_collection", + "payment_pages_checkout_session_currency_conversion", "payment_pages_checkout_session_custom_fields", "payment_pages_checkout_session_custom_text", "payment_pages_checkout_session_customer_details", @@ -30895,6 +30906,42 @@ "in_class": "checkout.session" } }, + "payment_pages_checkout_session_currency_conversion": { + "description": "", + "properties": { + "amount_subtotal": { + "description": "Total of all items in source currency before discounts or taxes are applied.", + "type": "integer" + }, + "amount_total": { + "description": "Total of all items in source currency after discounts and taxes are applied.", + "type": "integer" + }, + "fx_rate": { + "description": "Exchange rate used to convert source currency amounts to customer currency amounts", + "format": "decimal", + "type": "string" + }, + "source_currency": { + "description": "Creation currency of the CheckoutSession before localization", + "maxLength": 5000, + "type": "string" + } + }, + "required": [ + "amount_subtotal", + "amount_total", + "fx_rate", + "source_currency" + ], + "title": "PaymentPagesCheckoutSessionCurrencyConversion", + "type": "object", + "x-expandableFields": [], + "x-stripeResource": { + "class_name": "CurrencyConversion", + "in_class": "checkout.session" + } + }, "payment_pages_checkout_session_custom_fields": { "description": "", "properties": { diff --git a/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index cb2a72d8..3ac841a1 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -4672,6 +4672,14 @@ components: currency](https://stripe.com/docs/currencies). nullable: true type: string + currency_conversion: + anyOf: + - $ref: >- + #/components/schemas/payment_pages_checkout_session_currency_conversion + description: >- + Currency conversion details for automatic currency conversion + sessions + nullable: true custom_fields: description: >- Collect additional information from your customer using custom @@ -5098,6 +5106,7 @@ components: - automatic_tax - consent - consent_collection + - currency_conversion - custom_fields - custom_text - customer @@ -5154,6 +5163,7 @@ components: - payment_pages_checkout_session_automatic_tax - payment_pages_checkout_session_consent - payment_pages_checkout_session_consent_collection + - payment_pages_checkout_session_currency_conversion - payment_pages_checkout_session_custom_fields - payment_pages_checkout_session_custom_text - payment_pages_checkout_session_customer_details @@ -28505,6 +28515,40 @@ components: x-stripeResource: class_name: ConsentCollection in_class: checkout.session + payment_pages_checkout_session_currency_conversion: + description: '' + properties: + amount_subtotal: + description: >- + Total of all items in source currency before discounts or taxes are + applied. + type: integer + amount_total: + description: >- + Total of all items in source currency after discounts and taxes are + applied. + type: integer + fx_rate: + description: >- + Exchange rate used to convert source currency amounts to customer + currency amounts + format: decimal + type: string + source_currency: + description: Creation currency of the CheckoutSession before localization + maxLength: 5000 + type: string + required: + - amount_subtotal + - amount_total + - fx_rate + - source_currency + title: PaymentPagesCheckoutSessionCurrencyConversion + type: object + x-expandableFields: [] + x-stripeResource: + class_name: CurrencyConversion + in_class: checkout.session payment_pages_checkout_session_custom_fields: description: '' properties: diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index 3988fa56..7273b097 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -3957,6 +3957,14 @@ components: currency](https://stripe.com/docs/currencies). nullable: true type: string + currency_conversion: + anyOf: + - $ref: >- + #/components/schemas/payment_pages_checkout_session_currency_conversion + description: >- + Currency conversion details for automatic currency conversion + sessions + nullable: true custom_fields: description: >- Collect additional information from your customer using custom @@ -4351,6 +4359,7 @@ components: - automatic_tax - consent - consent_collection + - currency_conversion - custom_fields - custom_text - customer @@ -24160,6 +24169,37 @@ components: title: PaymentPagesCheckoutSessionConsentCollection type: object x-expandableFields: [] + payment_pages_checkout_session_currency_conversion: + description: '' + properties: + amount_subtotal: + description: >- + Total of all items in source currency before discounts or taxes are + applied. + type: integer + amount_total: + description: >- + Total of all items in source currency after discounts and taxes are + applied. + type: integer + fx_rate: + description: >- + Exchange rate used to convert source currency amounts to customer + currency amounts + format: decimal + type: string + source_currency: + description: Creation currency of the CheckoutSession before localization + maxLength: 5000 + type: string + required: + - amount_subtotal + - amount_total + - fx_rate + - source_currency + title: PaymentPagesCheckoutSessionCurrencyConversion + type: object + x-expandableFields: [] payment_pages_checkout_session_custom_fields: description: '' properties: