Skip to content

Commit e540940

Browse files
Remove countries field from AccountInfo schemas (#233)
## Summary - Remove `countries` from all 21 common `*AccountInfo` schemas (required list + property definition) - Remove `countries` from USD examples in platform and customer external account path files - Rebuild bundled OpenAPI spec ## Test plan - [x] `make build` passes - [x] `make lint` passes - [ ] Verify API reference pages render correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code)
1 parent d85f7a3 commit e540940

25 files changed

Lines changed: 0 additions & 510 deletions

mintlify/openapi.yaml

Lines changed: 0 additions & 170 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi.yaml

Lines changed: 0 additions & 170 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

openapi/components/schemas/common/BrlAccountInfo.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
type: object
22
required:
33
- accountType
4-
- countries
54
- paymentRails
65
- pixKey
76
- pixKeyType
@@ -11,12 +10,6 @@ properties:
1110
type: string
1211
enum:
1312
- BRL_ACCOUNT
14-
countries:
15-
type: array
16-
items:
17-
type: string
18-
enum:
19-
- BR
2013
paymentRails:
2114
type: array
2215
items:

openapi/components/schemas/common/CadAccountInfo.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
type: object
22
required:
33
- accountType
4-
- countries
54
- paymentRails
65
- bankCode
76
- branchCode
@@ -11,12 +10,6 @@ properties:
1110
type: string
1211
enum:
1312
- CAD_ACCOUNT
14-
countries:
15-
type: array
16-
items:
17-
type: string
18-
enum:
19-
- CA
2013
paymentRails:
2114
type: array
2215
items:

openapi/components/schemas/common/DkkAccountInfo.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
type: object
22
required:
33
- accountType
4-
- countries
54
- paymentRails
65
- iban
76
properties:
87
accountType:
98
type: string
109
enum:
1110
- DKK_ACCOUNT
12-
countries:
13-
type: array
14-
items:
15-
type: string
16-
enum:
17-
- DK
1811
paymentRails:
1912
type: array
2013
items:

openapi/components/schemas/common/EurAccountInfo.yaml

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,13 @@
11
type: object
22
required:
33
- accountType
4-
- countries
54
- paymentRails
65
- iban
76
properties:
87
accountType:
98
type: string
109
enum:
1110
- EUR_ACCOUNT
12-
countries:
13-
type: array
14-
items:
15-
type: string
16-
enum:
17-
- AT
18-
- BE
19-
- CY
20-
- DE
21-
- EE
22-
- ES
23-
- FI
24-
- FR
25-
- GR
26-
- HR
27-
- IE
28-
- IT
29-
- LT
30-
- LU
31-
- LV
32-
- MT
33-
- NL
34-
- PT
35-
- SI
36-
- SK
3711
paymentRails:
3812
type: array
3913
items:

openapi/components/schemas/common/GbpAccountInfo.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
type: object
22
required:
33
- accountType
4-
- countries
54
- paymentRails
65
- sortCode
76
- accountNumber
@@ -10,12 +9,6 @@ properties:
109
type: string
1110
enum:
1211
- GBP_ACCOUNT
13-
countries:
14-
type: array
15-
items:
16-
type: string
17-
enum:
18-
- GB
1912
paymentRails:
2013
type: array
2114
items:

openapi/components/schemas/common/HkdAccountInfo.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
type: object
22
required:
33
- accountType
4-
- countries
54
- paymentRails
65
- bankName
76
- accountNumber
@@ -10,12 +9,6 @@ properties:
109
type: string
1110
enum:
1211
- HKD_ACCOUNT
13-
countries:
14-
type: array
15-
items:
16-
type: string
17-
enum:
18-
- HK
1912
paymentRails:
2013
type: array
2114
items:

openapi/components/schemas/common/IdrAccountInfo.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
type: object
22
required:
33
- accountType
4-
- countries
54
- paymentRails
65
- sortCode
76
- accountNumber
@@ -10,12 +9,6 @@ properties:
109
type: string
1110
enum:
1211
- IDR_ACCOUNT
13-
countries:
14-
type: array
15-
items:
16-
type: string
17-
enum:
18-
- ID
1912
paymentRails:
2013
type: array
2114
items:

openapi/components/schemas/common/InrAccountInfo.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
type: object
22
required:
33
- accountType
4-
- countries
54
- paymentRails
65
- vpa
76
properties:
87
accountType:
98
type: string
109
enum:
1110
- INR_ACCOUNT
12-
countries:
13-
type: array
14-
items:
15-
type: string
16-
enum:
17-
- IN
1811
paymentRails:
1912
type: array
2013
items:

0 commit comments

Comments
 (0)