Skip to content

Commit 6736954

Browse files
OpenAPI Update (#737)
Update OpenAPI for 0a7918831a5da8ff42a4c59eb56cf18a49c34407 Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent dca9e02 commit 6736954

File tree

2 files changed

+196
-0
lines changed

2 files changed

+196
-0
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 104 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25689,6 +25689,15 @@
2568925689
"nullable": true,
2569025690
"type": "array"
2569125691
},
25692+
"allowed_merchant_countries": {
25693+
"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.",
25694+
"items": {
25695+
"maxLength": 5000,
25696+
"type": "string"
25697+
},
25698+
"nullable": true,
25699+
"type": "array"
25700+
},
2569225701
"blocked_categories": {
2569325702
"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`.",
2569425703
"items": {
@@ -25994,6 +26003,15 @@
2599426003
"nullable": true,
2599526004
"type": "array"
2599626005
},
26006+
"blocked_merchant_countries": {
26007+
"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.",
26008+
"items": {
26009+
"maxLength": 5000,
26010+
"type": "string"
26011+
},
26012+
"nullable": true,
26013+
"type": "array"
26014+
},
2599726015
"spending_limits": {
2599826016
"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).",
2599926017
"items": {
@@ -26010,7 +26028,9 @@
2601026028
},
2601126029
"required": [
2601226030
"allowed_categories",
26031+
"allowed_merchant_countries",
2601326032
"blocked_categories",
26033+
"blocked_merchant_countries",
2601426034
"spending_limits",
2601526035
"spending_limits_currency"
2601626036
],
@@ -26947,6 +26967,15 @@
2694726967
"nullable": true,
2694826968
"type": "array"
2694926969
},
26970+
"allowed_merchant_countries": {
26971+
"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.",
26972+
"items": {
26973+
"maxLength": 5000,
26974+
"type": "string"
26975+
},
26976+
"nullable": true,
26977+
"type": "array"
26978+
},
2695026979
"blocked_categories": {
2695126980
"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`.",
2695226981
"items": {
@@ -27252,6 +27281,15 @@
2725227281
"nullable": true,
2725327282
"type": "array"
2725427283
},
27284+
"blocked_merchant_countries": {
27285+
"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.",
27286+
"items": {
27287+
"maxLength": 5000,
27288+
"type": "string"
27289+
},
27290+
"nullable": true,
27291+
"type": "array"
27292+
},
2725527293
"spending_limits": {
2725627294
"description": "Limit spending with amount-based rules that apply across this cardholder's cards.",
2725727295
"items": {
@@ -27268,7 +27306,9 @@
2726827306
},
2726927307
"required": [
2727027308
"allowed_categories",
27309+
"allowed_merchant_countries",
2727127310
"blocked_categories",
27311+
"blocked_merchant_countries",
2727227312
"spending_limits",
2727327313
"spending_limits_currency"
2727427314
],
@@ -118838,6 +118878,14 @@
118838118878
},
118839118879
"type": "array"
118840118880
},
118881+
"allowed_merchant_countries": {
118882+
"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.",
118883+
"items": {
118884+
"maxLength": 5000,
118885+
"type": "string"
118886+
},
118887+
"type": "array"
118888+
},
118841118889
"blocked_categories": {
118842118890
"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`.",
118843118891
"items": {
@@ -119143,6 +119191,14 @@
119143119191
},
119144119192
"type": "array"
119145119193
},
119194+
"blocked_merchant_countries": {
119195+
"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.",
119196+
"items": {
119197+
"maxLength": 5000,
119198+
"type": "string"
119199+
},
119200+
"type": "array"
119201+
},
119146119202
"spending_limits": {
119147119203
"description": "Limit spending with amount-based rules that apply across this cardholder's cards.",
119148119204
"items": {
@@ -120167,6 +120223,14 @@
120167120223
},
120168120224
"type": "array"
120169120225
},
120226+
"allowed_merchant_countries": {
120227+
"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.",
120228+
"items": {
120229+
"maxLength": 5000,
120230+
"type": "string"
120231+
},
120232+
"type": "array"
120233+
},
120170120234
"blocked_categories": {
120171120235
"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`.",
120172120236
"items": {
@@ -120472,6 +120536,14 @@
120472120536
},
120473120537
"type": "array"
120474120538
},
120539+
"blocked_merchant_countries": {
120540+
"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.",
120541+
"items": {
120542+
"maxLength": 5000,
120543+
"type": "string"
120544+
},
120545+
"type": "array"
120546+
},
120475120547
"spending_limits": {
120476120548
"description": "Limit spending with amount-based rules that apply across this cardholder's cards.",
120477120549
"items": {
@@ -121632,6 +121704,14 @@
121632121704
},
121633121705
"type": "array"
121634121706
},
121707+
"allowed_merchant_countries": {
121708+
"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.",
121709+
"items": {
121710+
"maxLength": 5000,
121711+
"type": "string"
121712+
},
121713+
"type": "array"
121714+
},
121635121715
"blocked_categories": {
121636121716
"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`.",
121637121717
"items": {
@@ -121937,6 +122017,14 @@
121937122017
},
121938122018
"type": "array"
121939122019
},
122020+
"blocked_merchant_countries": {
122021+
"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.",
122022+
"items": {
122023+
"maxLength": 5000,
122024+
"type": "string"
122025+
},
122026+
"type": "array"
122027+
},
121940122028
"spending_limits": {
121941122029
"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).",
121942122030
"items": {
@@ -122911,6 +122999,14 @@
122911122999
},
122912123000
"type": "array"
122913123001
},
123002+
"allowed_merchant_countries": {
123003+
"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.",
123004+
"items": {
123005+
"maxLength": 5000,
123006+
"type": "string"
123007+
},
123008+
"type": "array"
123009+
},
122914123010
"blocked_categories": {
122915123011
"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`.",
122916123012
"items": {
@@ -123216,6 +123312,14 @@
123216123312
},
123217123313
"type": "array"
123218123314
},
123315+
"blocked_merchant_countries": {
123316+
"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.",
123317+
"items": {
123318+
"maxLength": 5000,
123319+
"type": "string"
123320+
},
123321+
"type": "array"
123322+
},
123219123323
"spending_limits": {
123220123324
"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).",
123221123325
"items": {

embedded/openapi/spec3.json

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17793,6 +17793,15 @@
1779317793
"nullable": true,
1779417794
"type": "array"
1779517795
},
17796+
"allowed_merchant_countries": {
17797+
"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.",
17798+
"items": {
17799+
"maxLength": 5000,
17800+
"type": "string"
17801+
},
17802+
"nullable": true,
17803+
"type": "array"
17804+
},
1779617805
"blocked_categories": {
1779717806
"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`.",
1779817807
"items": {
@@ -18098,6 +18107,15 @@
1809818107
"nullable": true,
1809918108
"type": "array"
1810018109
},
18110+
"blocked_merchant_countries": {
18111+
"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.",
18112+
"items": {
18113+
"maxLength": 5000,
18114+
"type": "string"
18115+
},
18116+
"nullable": true,
18117+
"type": "array"
18118+
},
1810118119
"spending_limits": {
1810218120
"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).",
1810318121
"items": {
@@ -18946,6 +18964,15 @@
1894618964
"nullable": true,
1894718965
"type": "array"
1894818966
},
18967+
"allowed_merchant_countries": {
18968+
"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.",
18969+
"items": {
18970+
"maxLength": 5000,
18971+
"type": "string"
18972+
},
18973+
"nullable": true,
18974+
"type": "array"
18975+
},
1894918976
"blocked_categories": {
1895018977
"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`.",
1895118978
"items": {
@@ -19251,6 +19278,15 @@
1925119278
"nullable": true,
1925219279
"type": "array"
1925319280
},
19281+
"blocked_merchant_countries": {
19282+
"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.",
19283+
"items": {
19284+
"maxLength": 5000,
19285+
"type": "string"
19286+
},
19287+
"nullable": true,
19288+
"type": "array"
19289+
},
1925419290
"spending_limits": {
1925519291
"description": "Limit spending with amount-based rules that apply across this cardholder's cards.",
1925619292
"items": {
@@ -88381,6 +88417,13 @@
8838188417
},
8838288418
"type": "array"
8838388419
},
88420+
"allowed_merchant_countries": {
88421+
"items": {
88422+
"maxLength": 5000,
88423+
"type": "string"
88424+
},
88425+
"type": "array"
88426+
},
8838488427
"blocked_categories": {
8838588428
"items": {
8838688429
"enum": [
@@ -88685,6 +88728,13 @@
8868588728
},
8868688729
"type": "array"
8868788730
},
88731+
"blocked_merchant_countries": {
88732+
"items": {
88733+
"maxLength": 5000,
88734+
"type": "string"
88735+
},
88736+
"type": "array"
88737+
},
8868888738
"spending_limits": {
8868988739
"items": {
8869088740
"properties": {
@@ -89680,6 +89730,13 @@
8968089730
},
8968189731
"type": "array"
8968289732
},
89733+
"allowed_merchant_countries": {
89734+
"items": {
89735+
"maxLength": 5000,
89736+
"type": "string"
89737+
},
89738+
"type": "array"
89739+
},
8968389740
"blocked_categories": {
8968489741
"items": {
8968589742
"enum": [
@@ -89984,6 +90041,13 @@
8998490041
},
8998590042
"type": "array"
8998690043
},
90044+
"blocked_merchant_countries": {
90045+
"items": {
90046+
"maxLength": 5000,
90047+
"type": "string"
90048+
},
90049+
"type": "array"
90050+
},
8998790051
"spending_limits": {
8998890052
"items": {
8998990053
"properties": {
@@ -91100,6 +91164,13 @@
9110091164
},
9110191165
"type": "array"
9110291166
},
91167+
"allowed_merchant_countries": {
91168+
"items": {
91169+
"maxLength": 5000,
91170+
"type": "string"
91171+
},
91172+
"type": "array"
91173+
},
9110391174
"blocked_categories": {
9110491175
"items": {
9110591176
"enum": [
@@ -91404,6 +91475,13 @@
9140491475
},
9140591476
"type": "array"
9140691477
},
91478+
"blocked_merchant_countries": {
91479+
"items": {
91480+
"maxLength": 5000,
91481+
"type": "string"
91482+
},
91483+
"type": "array"
91484+
},
9140791485
"spending_limits": {
9140891486
"items": {
9140991487
"properties": {
@@ -92252,6 +92330,13 @@
9225292330
},
9225392331
"type": "array"
9225492332
},
92333+
"allowed_merchant_countries": {
92334+
"items": {
92335+
"maxLength": 5000,
92336+
"type": "string"
92337+
},
92338+
"type": "array"
92339+
},
9225592340
"blocked_categories": {
9225692341
"items": {
9225792342
"enum": [
@@ -92556,6 +92641,13 @@
9255692641
},
9255792642
"type": "array"
9255892643
},
92644+
"blocked_merchant_countries": {
92645+
"items": {
92646+
"maxLength": 5000,
92647+
"type": "string"
92648+
},
92649+
"type": "array"
92650+
},
9255992651
"spending_limits": {
9256092652
"items": {
9256192653
"properties": {

0 commit comments

Comments
 (0)