From 673695457c198bafcab0847f970967858c4ae575 Mon Sep 17 00:00:00 2001 From: "stripe-openapi[bot]" <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 20:30:12 +0000 Subject: [PATCH] OpenAPI Update (#737) Update OpenAPI for 0a7918831a5da8ff42a4c59eb56cf18a49c34407 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> --- embedded/openapi/spec3.beta.sdk.json | 104 +++++++++++++++++++++++++++ embedded/openapi/spec3.json | 92 ++++++++++++++++++++++++ 2 files changed, 196 insertions(+) diff --git a/embedded/openapi/spec3.beta.sdk.json b/embedded/openapi/spec3.beta.sdk.json index c10cbef7..7ac20357 100644 --- a/embedded/openapi/spec3.beta.sdk.json +++ b/embedded/openapi/spec3.beta.sdk.json @@ -25689,6 +25689,15 @@ "nullable": true, "type": "array" }, + "allowed_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "nullable": true, + "type": "array" + }, "blocked_categories": { "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.", "items": { @@ -25994,6 +26003,15 @@ "nullable": true, "type": "array" }, + "blocked_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "nullable": true, + "type": "array" + }, "spending_limits": { "description": "Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).", "items": { @@ -26010,7 +26028,9 @@ }, "required": [ "allowed_categories", + "allowed_merchant_countries", "blocked_categories", + "blocked_merchant_countries", "spending_limits", "spending_limits_currency" ], @@ -26947,6 +26967,15 @@ "nullable": true, "type": "array" }, + "allowed_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "nullable": true, + "type": "array" + }, "blocked_categories": { "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.", "items": { @@ -27252,6 +27281,15 @@ "nullable": true, "type": "array" }, + "blocked_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "nullable": true, + "type": "array" + }, "spending_limits": { "description": "Limit spending with amount-based rules that apply across this cardholder's cards.", "items": { @@ -27268,7 +27306,9 @@ }, "required": [ "allowed_categories", + "allowed_merchant_countries", "blocked_categories", + "blocked_merchant_countries", "spending_limits", "spending_limits_currency" ], @@ -118838,6 +118878,14 @@ }, "type": "array" }, + "allowed_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "blocked_categories": { "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.", "items": { @@ -119143,6 +119191,14 @@ }, "type": "array" }, + "blocked_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "spending_limits": { "description": "Limit spending with amount-based rules that apply across this cardholder's cards.", "items": { @@ -120167,6 +120223,14 @@ }, "type": "array" }, + "allowed_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "blocked_categories": { "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.", "items": { @@ -120472,6 +120536,14 @@ }, "type": "array" }, + "blocked_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "spending_limits": { "description": "Limit spending with amount-based rules that apply across this cardholder's cards.", "items": { @@ -121632,6 +121704,14 @@ }, "type": "array" }, + "allowed_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "blocked_categories": { "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.", "items": { @@ -121937,6 +122017,14 @@ }, "type": "array" }, + "blocked_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "spending_limits": { "description": "Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).", "items": { @@ -122911,6 +122999,14 @@ }, "type": "array" }, + "allowed_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "blocked_categories": { "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.", "items": { @@ -123216,6 +123312,14 @@ }, "type": "array" }, + "blocked_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "spending_limits": { "description": "Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).", "items": { diff --git a/embedded/openapi/spec3.json b/embedded/openapi/spec3.json index 9140e564..f903b821 100644 --- a/embedded/openapi/spec3.json +++ b/embedded/openapi/spec3.json @@ -17793,6 +17793,15 @@ "nullable": true, "type": "array" }, + "allowed_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "nullable": true, + "type": "array" + }, "blocked_categories": { "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.", "items": { @@ -18098,6 +18107,15 @@ "nullable": true, "type": "array" }, + "blocked_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "nullable": true, + "type": "array" + }, "spending_limits": { "description": "Limit spending with amount-based rules that apply across any cards this card replaced (i.e., its `replacement_for` card and _that_ card's `replacement_for` card, up the chain).", "items": { @@ -18946,6 +18964,15 @@ "nullable": true, "type": "array" }, + "allowed_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be allowed. Authorizations from merchants in all other countries will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `blocked_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "nullable": true, + "type": "array" + }, "blocked_categories": { "description": "Array of strings containing [categories](https://stripe.com/docs/api#issuing_authorization_object-merchant_data-category) of authorizations to decline. All other categories will be allowed. Cannot be set with `allowed_categories`.", "items": { @@ -19251,6 +19278,15 @@ "nullable": true, "type": "array" }, + "blocked_merchant_countries": { + "description": "Array of strings containing representing countries from which authorizations will be declined. Country codes should be ISO 3166 alpha-2 country codes (e.g. `US`). Cannot be set with `allowed_merchant_countries`. Provide an empty value to unset this control.", + "items": { + "maxLength": 5000, + "type": "string" + }, + "nullable": true, + "type": "array" + }, "spending_limits": { "description": "Limit spending with amount-based rules that apply across this cardholder's cards.", "items": { @@ -88381,6 +88417,13 @@ }, "type": "array" }, + "allowed_merchant_countries": { + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "blocked_categories": { "items": { "enum": [ @@ -88685,6 +88728,13 @@ }, "type": "array" }, + "blocked_merchant_countries": { + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "spending_limits": { "items": { "properties": { @@ -89680,6 +89730,13 @@ }, "type": "array" }, + "allowed_merchant_countries": { + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "blocked_categories": { "items": { "enum": [ @@ -89984,6 +90041,13 @@ }, "type": "array" }, + "blocked_merchant_countries": { + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "spending_limits": { "items": { "properties": { @@ -91100,6 +91164,13 @@ }, "type": "array" }, + "allowed_merchant_countries": { + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "blocked_categories": { "items": { "enum": [ @@ -91404,6 +91475,13 @@ }, "type": "array" }, + "blocked_merchant_countries": { + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "spending_limits": { "items": { "properties": { @@ -92252,6 +92330,13 @@ }, "type": "array" }, + "allowed_merchant_countries": { + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "blocked_categories": { "items": { "enum": [ @@ -92556,6 +92641,13 @@ }, "type": "array" }, + "blocked_merchant_countries": { + "items": { + "maxLength": 5000, + "type": "string" + }, + "type": "array" + }, "spending_limits": { "items": { "properties": {