@apifreaks/openapi-specs 0.4.9 → 0.4.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "IBAN Validation API - Validate Format, Check SEPA & Return Bank Details",
5
5
  "version": "1.0.0",
6
- "description": "Validate an IBAN number against country-specific format, length, and checksum rules. Supports IBANs from all SEPA and IBAN-compliant countries. Returns detailed validation results for each check — alphanumeric, supported country, length, structure, and check digit. Includes bank data such as BIC/SWIFT code, bank name, branch details, and SEPA eligibility when available.",
6
+ "description": "Validate an IBAN number against country-specific format, length, and checksum rules. Supports IBANs from all SEPA and IBAN-compliant countries. Returns detailed validation results for each check — alphanumeric, supported country, length, structure, and check digit. Includes bank data such as BIC/SWIFT code, bank name, institution type, branch name, postal code, and SEPA eligibility when available.",
7
7
  "contact": {
8
8
  "name": "APIFreaks Support",
9
9
  "url": "https://apifreaks.com/contact",
@@ -67,14 +67,17 @@
67
67
  "bban": "valid"
68
68
  },
69
69
  "bank_data": {
70
- "bic": "NWBKGB2LBHM",
70
+ "bic": "NWBKGB2104T",
71
71
  "bank": "NATIONAL WESTMINSTER BANK PLC",
72
+ "instit_type": "FIIN",
73
+ "branch_name": "NATIONAL WESTMINSTER BANK PLC",
72
74
  "bank_code": "NWBK",
73
75
  "branch_code": "601613",
74
76
  "country": "United Kingdom",
75
77
  "country_iso2": "GB",
76
- "city": "BIRMINGHAM",
77
- "address": "6 BRINDLEY PLACE - BIRMINGHAM, B1",
78
+ "city": "ALTRINCHAM",
79
+ "address": "23 STAMFORD NEW ROAD, GREATER",
80
+ "postal_code": "WA141DB",
78
81
  "account": "31926819",
79
82
  "sepa": true
80
83
  }
@@ -96,12 +99,15 @@
96
99
  "bank_data": {
97
100
  "bic": null,
98
101
  "bank": null,
102
+ "instit_type": null,
103
+ "branch_name": null,
99
104
  "bank_code": null,
100
105
  "branch_code": "",
101
106
  "country": "Norway",
102
107
  "country_iso2": "NO",
103
108
  "city": null,
104
109
  "address": null,
110
+ "postal_code": null,
105
111
  "account": "N123",
106
112
  "sepa": true
107
113
  }
@@ -123,12 +129,15 @@
123
129
  "bank_data": {
124
130
  "bic": null,
125
131
  "bank": null,
132
+ "instit_type": null,
133
+ "branch_name": null,
126
134
  "bank_code": null,
127
135
  "branch_code": "",
128
136
  "country": null,
129
137
  "country_iso2": "US",
130
138
  "city": null,
131
139
  "address": null,
140
+ "postal_code": null,
132
141
  "account": null,
133
142
  "sepa": null
134
143
  }
@@ -263,6 +272,14 @@
263
272
  "type": ["string", "null"],
264
273
  "description": "Bank name extracted from the IBAN. Null when not resolvable."
265
274
  },
275
+ "instit_type": {
276
+ "type": ["string", "null"],
277
+ "description": "Type of institution: \"FIIN\" (financial institution) or \"NFIN\" (non-financial institution). Null when not resolvable."
278
+ },
279
+ "branch_name": {
280
+ "type": ["string", "null"],
281
+ "description": "Name of the branch or office. Null when not resolvable."
282
+ },
266
283
  "bank_code": {
267
284
  "type": ["string", "null"],
268
285
  "description": "Bank code extracted from the IBAN. Null when not resolvable."
@@ -287,6 +304,10 @@
287
304
  "type": ["string", "null"],
288
305
  "description": "Bank branch address. Null when not resolvable."
289
306
  },
307
+ "postal_code": {
308
+ "type": ["string", "null"],
309
+ "description": "Postal/ZIP code of the bank branch. Null when not resolvable."
310
+ },
290
311
  "account": {
291
312
  "type": ["string", "null"],
292
313
  "description": "Account number extracted from the IBAN. Null when the country prefix isn't a supported IBAN country."
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "SWIFT/BIC Code API - Look Up Bank Details or Find Codes by Country, Bank & City",
5
5
  "version": "1.0.0",
6
- "description": "Look up a SWIFT/BIC code to retrieve bank details. Returns the bank name, address, city, country, country code, and bank code for any valid 8 or 11 character SWIFT/BIC code. Supports both headquarters and branch-level SWIFT codes.",
6
+ "description": "Look up a SWIFT/BIC code to retrieve bank details. Returns the bank name, institution type, branch name, address, postal code, city, country, country code, and bank code for any valid 8 or 11 character SWIFT/BIC code. Supports both headquarters and branch-level SWIFT codes.",
7
7
  "contact": {
8
8
  "name": "APIFreaks Support",
9
9
  "url": "https://apifreaks.com/contact",
@@ -58,11 +58,29 @@
58
58
  "value": {
59
59
  "swiftCode": "NWBKGB2LXXX",
60
60
  "countryCode": "GB",
61
- "bankAddress": "250 BISHOPSGATE",
61
+ "bankAddress": "250 BISHOPSGATE, GREATER LONDON",
62
62
  "bankCode": "NWBK",
63
63
  "bankName": "NATIONAL WESTMINSTER BANK PLC",
64
+ "institType": "FIIN",
65
+ "branchName": "NATIONAL WESTMINSTER BANK PLC",
64
66
  "city": "LONDON",
65
- "country": "United Kingdom"
67
+ "country": "United Kingdom",
68
+ "postalCode": "EC2M 4AA"
69
+ }
70
+ },
71
+ "nullablePostalCode": {
72
+ "summary": "branchName/postalCode can be null when not resolvable",
73
+ "value": {
74
+ "swiftCode": "HSBCHKHHXXX",
75
+ "countryCode": "HK",
76
+ "bankAddress": "HSBC MAIN BUILDING",
77
+ "bankCode": "HSBC",
78
+ "bankName": "THE HONGKONG AND SHANGHAI BANKING CORPORATION LIMITED",
79
+ "institType": "FIIN",
80
+ "branchName": "HONGKONG AND SHANGHAI BANKING CORPORATION LIMITED, THE",
81
+ "city": "CENTRAL",
82
+ "country": "Hong Kong",
83
+ "postalCode": null
66
84
  }
67
85
  }
68
86
  }
@@ -174,6 +192,14 @@
174
192
  "type": "string",
175
193
  "description": "Full name of the bank or financial institution."
176
194
  },
195
+ "institType": {
196
+ "type": "string",
197
+ "description": "Type of institution: \"FIIN\" (financial institution) or \"NFIN\" (non-financial institution)."
198
+ },
199
+ "branchName": {
200
+ "type": ["string", "null"],
201
+ "description": "Name of the branch or office. Null when not resolvable."
202
+ },
177
203
  "city": {
178
204
  "type": "string",
179
205
  "description": "City where the bank branch is located."
@@ -181,6 +207,10 @@
181
207
  "country": {
182
208
  "type": "string",
183
209
  "description": "Full country name where the bank is registered."
210
+ },
211
+ "postalCode": {
212
+ "type": ["string", "null"],
213
+ "description": "Postal/ZIP code of the bank branch. Null when not resolvable."
184
214
  }
185
215
  },
186
216
  "required": [
@@ -189,6 +219,7 @@
189
219
  "bankAddress",
190
220
  "bankCode",
191
221
  "bankName",
222
+ "institType",
192
223
  "city",
193
224
  "country"
194
225
  ],