Skip to content

Commit 71182b6

Browse files
AaryamanBhuteclaude
andcommitted
Add Base + allOf split for 8 missing currencies: BDT, COP, EGP, GHS, GTQ, HTG, JMD, PKR
Extends the AccountInfo split pattern from PR #302 to cover currencies that were added to main after the branch diverged. Also resolves rebase conflicts for PHP (updated Base fields) and USD (added BANK_TRANSFER rail). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 085f06b commit 71182b6

18 files changed

Lines changed: 2595 additions & 917 deletions

mintlify/openapi.yaml

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

openapi.yaml

Lines changed: 1142 additions & 323 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 13 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,13 @@
1-
type: object
2-
required:
3-
- accountType
4-
- paymentRails
5-
- accountNumber
6-
- branchCode
7-
- phoneNumber
8-
properties:
9-
accountType:
10-
type: string
11-
enum:
12-
- BDT_ACCOUNT
13-
paymentRails:
14-
type: array
15-
items:
16-
type: string
17-
enum:
18-
- BANK_TRANSFER
19-
- MOBILE_MONEY
20-
accountNumber:
21-
type: string
22-
description: The account number of the bank
23-
minLength: 1
24-
maxLength: 34
25-
branchCode:
26-
type: string
27-
description: The branch code
28-
minLength: 5
29-
maxLength: 5
30-
pattern: ^[0-9]{5}$
31-
swiftCode:
32-
type: string
33-
description: The SWIFT/BIC code of the bank
34-
example: DEUTDEFF
35-
minLength: 8
36-
maxLength: 11
37-
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
38-
phoneNumber:
39-
type: string
40-
description: The phone number in international format
41-
example: '+1234567890'
42-
minLength: 7
43-
maxLength: 15
44-
pattern: ^\+[0-9]{6,14}$
1+
allOf:
2+
- $ref: ./BdtAccountInfoBase.yaml
3+
- type: object
4+
required:
5+
- paymentRails
6+
properties:
7+
paymentRails:
8+
type: array
9+
items:
10+
type: string
11+
enum:
12+
- BANK_TRANSFER
13+
- MOBILE_MONEY
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
type: object
2+
required:
3+
- accountType
4+
- accountNumber
5+
- branchCode
6+
- phoneNumber
7+
properties:
8+
accountType:
9+
type: string
10+
enum:
11+
- BDT_ACCOUNT
12+
accountNumber:
13+
type: string
14+
description: The account number of the bank
15+
minLength: 1
16+
maxLength: 34
17+
branchCode:
18+
type: string
19+
description: The branch code
20+
minLength: 5
21+
maxLength: 5
22+
pattern: ^[0-9]{5}$
23+
swiftCode:
24+
type: string
25+
description: The SWIFT/BIC code of the bank
26+
example: DEUTDEFF
27+
minLength: 8
28+
maxLength: 11
29+
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
30+
phoneNumber:
31+
type: string
32+
description: The phone number in international format
33+
example: '+1234567890'
34+
minLength: 7
35+
maxLength: 15
36+
pattern: ^\+[0-9]{6,14}$
Lines changed: 13 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,13 @@
1-
type: object
2-
required:
3-
- accountType
4-
- paymentRails
5-
- accountNumber
6-
- bankAccountType
7-
- phoneNumber
8-
properties:
9-
accountType:
10-
type: string
11-
enum:
12-
- COP_ACCOUNT
13-
paymentRails:
14-
type: array
15-
items:
16-
type: string
17-
enum:
18-
- BANK_TRANSFER
19-
- MOBILE_MONEY
20-
accountNumber:
21-
type: string
22-
description: The account number of the bank
23-
minLength: 1
24-
maxLength: 34
25-
bankAccountType:
26-
type: string
27-
description: The bank account type
28-
enum:
29-
- CHECKING
30-
- SAVINGS
31-
phoneNumber:
32-
type: string
33-
description: The phone number in international format
34-
example: '+1234567890'
35-
minLength: 7
36-
maxLength: 15
37-
pattern: ^\+[0-9]{6,14}$
1+
allOf:
2+
- $ref: ./CopAccountInfoBase.yaml
3+
- type: object
4+
required:
5+
- paymentRails
6+
properties:
7+
paymentRails:
8+
type: array
9+
items:
10+
type: string
11+
enum:
12+
- BANK_TRANSFER
13+
- MOBILE_MONEY
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
type: object
2+
required:
3+
- accountType
4+
- accountNumber
5+
- bankAccountType
6+
- phoneNumber
7+
properties:
8+
accountType:
9+
type: string
10+
enum:
11+
- COP_ACCOUNT
12+
accountNumber:
13+
type: string
14+
description: The account number of the bank
15+
minLength: 1
16+
maxLength: 34
17+
bankAccountType:
18+
type: string
19+
description: The bank account type
20+
enum:
21+
- CHECKING
22+
- SAVINGS
23+
phoneNumber:
24+
type: string
25+
description: The phone number in international format
26+
example: '+1234567890'
27+
minLength: 7
28+
maxLength: 15
29+
pattern: ^\+[0-9]{6,14}$
Lines changed: 12 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,12 @@
1-
type: object
2-
required:
3-
- accountType
4-
- paymentRails
5-
- accountNumber
6-
properties:
7-
accountType:
8-
type: string
9-
enum:
10-
- EGP_ACCOUNT
11-
paymentRails:
12-
type: array
13-
items:
14-
type: string
15-
enum:
16-
- BANK_TRANSFER
17-
accountNumber:
18-
type: string
19-
description: The account number of the bank
20-
minLength: 1
21-
maxLength: 34
22-
iban:
23-
type: string
24-
description: The IBAN of the bank account
25-
example: DE89370400440532013000
26-
minLength: 15
27-
maxLength: 34
28-
pattern: ^[A-Z]{2}[0-9]{2}[A-Za-z0-9]{11,30}$
29-
swiftCode:
30-
type: string
31-
description: The SWIFT/BIC code of the bank
32-
example: DEUTDEFF
33-
minLength: 8
34-
maxLength: 11
35-
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
1+
allOf:
2+
- $ref: ./EgpAccountInfoBase.yaml
3+
- type: object
4+
required:
5+
- paymentRails
6+
properties:
7+
paymentRails:
8+
type: array
9+
items:
10+
type: string
11+
enum:
12+
- BANK_TRANSFER
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
type: object
2+
required:
3+
- accountType
4+
- accountNumber
5+
properties:
6+
accountType:
7+
type: string
8+
enum:
9+
- EGP_ACCOUNT
10+
accountNumber:
11+
type: string
12+
description: The account number of the bank
13+
minLength: 1
14+
maxLength: 34
15+
iban:
16+
type: string
17+
description: The IBAN of the bank account
18+
example: DE89370400440532013000
19+
minLength: 15
20+
maxLength: 34
21+
pattern: ^[A-Z]{2}[0-9]{2}[A-Za-z0-9]{11,30}$
22+
swiftCode:
23+
type: string
24+
description: The SWIFT/BIC code of the bank
25+
example: DEUTDEFF
26+
minLength: 8
27+
maxLength: 11
28+
pattern: ^[A-Z]{4}[A-Z]{2}[A-Z0-9]{2}([A-Z0-9]{3})?$
Lines changed: 13 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,13 @@
1-
type: object
2-
required:
3-
- accountType
4-
- paymentRails
5-
- accountNumber
6-
- phoneNumber
7-
properties:
8-
accountType:
9-
type: string
10-
enum:
11-
- GHS_ACCOUNT
12-
paymentRails:
13-
type: array
14-
items:
15-
type: string
16-
enum:
17-
- BANK_TRANSFER
18-
- MOBILE_MONEY
19-
accountNumber:
20-
type: string
21-
description: The account number of the bank
22-
minLength: 1
23-
maxLength: 34
24-
phoneNumber:
25-
type: string
26-
description: The phone number in international format
27-
example: '+1234567890'
28-
minLength: 7
29-
maxLength: 15
30-
pattern: ^\+[0-9]{6,14}$
1+
allOf:
2+
- $ref: ./GhsAccountInfoBase.yaml
3+
- type: object
4+
required:
5+
- paymentRails
6+
properties:
7+
paymentRails:
8+
type: array
9+
items:
10+
type: string
11+
enum:
12+
- BANK_TRANSFER
13+
- MOBILE_MONEY
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
type: object
2+
required:
3+
- accountType
4+
- accountNumber
5+
- phoneNumber
6+
properties:
7+
accountType:
8+
type: string
9+
enum:
10+
- GHS_ACCOUNT
11+
accountNumber:
12+
type: string
13+
description: The account number of the bank
14+
minLength: 1
15+
maxLength: 34
16+
phoneNumber:
17+
type: string
18+
description: The phone number in international format
19+
example: '+1234567890'
20+
minLength: 7
21+
maxLength: 15
22+
pattern: ^\+[0-9]{6,14}$

0 commit comments

Comments
 (0)