From 0a7918831a5da8ff42a4c59eb56cf18a49c34407 Mon Sep 17 00:00:00 2001 From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 20:28:30 +0000 Subject: [PATCH] Update OpenAPI specification --- openapi/spec3.beta.sdk.json | 104 +++++++++++++++++++++++++ openapi/spec3.beta.sdk.yaml | 150 ++++++++++++++++++++++++++++++++++++ openapi/spec3.json | 92 ++++++++++++++++++++++ openapi/spec3.sdk.json | 104 +++++++++++++++++++++++++ openapi/spec3.sdk.yaml | 150 ++++++++++++++++++++++++++++++++++++ openapi/spec3.yaml | 90 ++++++++++++++++++++++ 6 files changed, 690 insertions(+) diff --git a/openapi/spec3.beta.sdk.json b/openapi/spec3.beta.sdk.json index c10cbef7..7ac20357 100644 --- a/openapi/spec3.beta.sdk.json +++ b/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/openapi/spec3.beta.sdk.yaml b/openapi/spec3.beta.sdk.yaml index 5684c5b8..7c42a1d9 100644 --- a/openapi/spec3.beta.sdk.yaml +++ b/openapi/spec3.beta.sdk.yaml @@ -23359,6 +23359,19 @@ components: type: string 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 @@ -23667,6 +23680,18 @@ components: type: string 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 @@ -23684,7 +23709,9 @@ components: type: string required: - allowed_categories + - allowed_merchant_countries - blocked_categories + - blocked_merchant_countries - spending_limits - spending_limits_currency title: IssuingCardAuthorizationControls @@ -24568,6 +24595,19 @@ components: type: string 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 @@ -24876,6 +24916,18 @@ components: type: string 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 @@ -24890,7 +24942,9 @@ components: type: string required: - allowed_categories + - allowed_merchant_countries - blocked_categories + - blocked_merchant_countries - spending_limits - spending_limits_currency title: IssuingCardholderAuthorizationControls @@ -108691,6 +108745,19 @@ paths: maxLength: 5000 type: string 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 @@ -109005,6 +109072,17 @@ paths: maxLength: 5000 type: string 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 @@ -110005,6 +110083,19 @@ paths: maxLength: 5000 type: string 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 @@ -110319,6 +110410,17 @@ paths: maxLength: 5000 type: string 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 @@ -111405,6 +111507,19 @@ paths: maxLength: 5000 type: string 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 @@ -111719,6 +111834,17 @@ paths: maxLength: 5000 type: string 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 @@ -112648,6 +112774,19 @@ paths: maxLength: 5000 type: string 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 @@ -112962,6 +113101,17 @@ paths: maxLength: 5000 type: string 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 diff --git a/openapi/spec3.json b/openapi/spec3.json index 9140e564..f903b821 100644 --- a/openapi/spec3.json +++ b/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": { diff --git a/openapi/spec3.sdk.json b/openapi/spec3.sdk.json index e5f93182..4aa4629d 100644 --- a/openapi/spec3.sdk.json +++ b/openapi/spec3.sdk.json @@ -22703,6 +22703,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": { @@ -23008,6 +23017,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": { @@ -23024,7 +23042,9 @@ }, "required": [ "allowed_categories", + "allowed_merchant_countries", "blocked_categories", + "blocked_merchant_countries", "spending_limits", "spending_limits_currency" ], @@ -23908,6 +23928,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": { @@ -24213,6 +24242,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": { @@ -24229,7 +24267,9 @@ }, "required": [ "allowed_categories", + "allowed_merchant_countries", "blocked_categories", + "blocked_merchant_countries", "spending_limits", "spending_limits_currency" ], @@ -93740,6 +93780,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": { @@ -94045,6 +94093,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": { @@ -95069,6 +95125,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": { @@ -95374,6 +95438,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": { @@ -96515,6 +96587,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": { @@ -96820,6 +96900,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": { @@ -97674,6 +97762,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": { @@ -97979,6 +98075,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/openapi/spec3.sdk.yaml b/openapi/spec3.sdk.yaml index 4f64ba60..c6e7c482 100644 --- a/openapi/spec3.sdk.yaml +++ b/openapi/spec3.sdk.yaml @@ -20741,6 +20741,19 @@ components: type: string 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 @@ -21049,6 +21062,18 @@ components: type: string 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 @@ -21066,7 +21091,9 @@ components: type: string required: - allowed_categories + - allowed_merchant_countries - blocked_categories + - blocked_merchant_countries - spending_limits - spending_limits_currency title: IssuingCardAuthorizationControls @@ -21913,6 +21940,19 @@ components: type: string 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 @@ -22221,6 +22261,18 @@ components: type: string 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 @@ -22235,7 +22287,9 @@ components: type: string required: - allowed_categories + - allowed_merchant_countries - blocked_categories + - blocked_merchant_countries - spending_limits - spending_limits_currency title: IssuingCardholderAuthorizationControls @@ -85522,6 +85576,19 @@ paths: maxLength: 5000 type: string 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 @@ -85836,6 +85903,17 @@ paths: maxLength: 5000 type: string 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 @@ -86836,6 +86914,19 @@ paths: maxLength: 5000 type: string 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 @@ -87150,6 +87241,17 @@ paths: maxLength: 5000 type: string 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 @@ -88222,6 +88324,19 @@ paths: maxLength: 5000 type: string 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 @@ -88536,6 +88651,17 @@ paths: maxLength: 5000 type: string 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 @@ -89362,6 +89488,19 @@ paths: maxLength: 5000 type: string 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 @@ -89676,6 +89815,17 @@ paths: maxLength: 5000 type: string 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 diff --git a/openapi/spec3.yaml b/openapi/spec3.yaml index 5630e867..6576762b 100644 --- a/openapi/spec3.yaml +++ b/openapi/spec3.yaml @@ -16954,6 +16954,19 @@ components: type: string 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 @@ -17262,6 +17275,18 @@ components: type: string 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 @@ -18086,6 +18111,19 @@ components: type: string 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 @@ -18394,6 +18432,18 @@ components: type: string 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 @@ -76956,6 +77006,11 @@ paths: maxLength: 5000 type: string type: array + allowed_merchant_countries: + items: + maxLength: 5000 + type: string + type: array blocked_categories: items: enum: @@ -77265,6 +77320,11 @@ paths: maxLength: 5000 type: string type: array + blocked_merchant_countries: + items: + maxLength: 5000 + type: string + type: array spending_limits: items: properties: @@ -78186,6 +78246,11 @@ paths: maxLength: 5000 type: string type: array + allowed_merchant_countries: + items: + maxLength: 5000 + type: string + type: array blocked_categories: items: enum: @@ -78495,6 +78560,11 @@ paths: maxLength: 5000 type: string type: array + blocked_merchant_countries: + items: + maxLength: 5000 + type: string + type: array spending_limits: items: properties: @@ -79517,6 +79587,11 @@ paths: maxLength: 5000 type: string type: array + allowed_merchant_countries: + items: + maxLength: 5000 + type: string + type: array blocked_categories: items: enum: @@ -79826,6 +79901,11 @@ paths: maxLength: 5000 type: string type: array + blocked_merchant_countries: + items: + maxLength: 5000 + type: string + type: array spending_limits: items: properties: @@ -80632,6 +80712,11 @@ paths: maxLength: 5000 type: string type: array + allowed_merchant_countries: + items: + maxLength: 5000 + type: string + type: array blocked_categories: items: enum: @@ -80941,6 +81026,11 @@ paths: maxLength: 5000 type: string type: array + blocked_merchant_countries: + items: + maxLength: 5000 + type: string + type: array spending_limits: items: properties: