@getivy/node-sdk 0.1.0-alpha.2

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.
Files changed (249) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/LICENSE +201 -0
  3. package/README.md +303 -0
  4. package/_shims/MultipartBody.d.ts +9 -0
  5. package/_shims/MultipartBody.d.ts.map +1 -0
  6. package/_shims/MultipartBody.js +16 -0
  7. package/_shims/MultipartBody.js.map +1 -0
  8. package/_shims/MultipartBody.mjs +12 -0
  9. package/_shims/MultipartBody.mjs.map +1 -0
  10. package/_shims/README.md +46 -0
  11. package/_shims/auto/runtime-bun.d.ts +5 -0
  12. package/_shims/auto/runtime-bun.d.ts.map +1 -0
  13. package/_shims/auto/runtime-bun.js +21 -0
  14. package/_shims/auto/runtime-bun.js.map +1 -0
  15. package/_shims/auto/runtime-bun.mjs +2 -0
  16. package/_shims/auto/runtime-bun.mjs.map +1 -0
  17. package/_shims/auto/runtime-node.d.ts +5 -0
  18. package/_shims/auto/runtime-node.d.ts.map +1 -0
  19. package/_shims/auto/runtime-node.js +21 -0
  20. package/_shims/auto/runtime-node.js.map +1 -0
  21. package/_shims/auto/runtime-node.mjs +2 -0
  22. package/_shims/auto/runtime-node.mjs.map +1 -0
  23. package/_shims/auto/runtime.d.ts +5 -0
  24. package/_shims/auto/runtime.d.ts.map +1 -0
  25. package/_shims/auto/runtime.js +21 -0
  26. package/_shims/auto/runtime.js.map +1 -0
  27. package/_shims/auto/runtime.mjs +2 -0
  28. package/_shims/auto/runtime.mjs.map +1 -0
  29. package/_shims/auto/types-node.d.ts +5 -0
  30. package/_shims/auto/types-node.d.ts.map +1 -0
  31. package/_shims/auto/types-node.js +21 -0
  32. package/_shims/auto/types-node.js.map +1 -0
  33. package/_shims/auto/types-node.mjs +2 -0
  34. package/_shims/auto/types-node.mjs.map +1 -0
  35. package/_shims/auto/types.d.ts +101 -0
  36. package/_shims/auto/types.js +3 -0
  37. package/_shims/auto/types.mjs +3 -0
  38. package/_shims/bun-runtime.d.ts +6 -0
  39. package/_shims/bun-runtime.d.ts.map +1 -0
  40. package/_shims/bun-runtime.js +14 -0
  41. package/_shims/bun-runtime.js.map +1 -0
  42. package/_shims/bun-runtime.mjs +10 -0
  43. package/_shims/bun-runtime.mjs.map +1 -0
  44. package/_shims/index.d.ts +81 -0
  45. package/_shims/index.js +13 -0
  46. package/_shims/index.mjs +7 -0
  47. package/_shims/manual-types.d.ts +12 -0
  48. package/_shims/manual-types.js +3 -0
  49. package/_shims/manual-types.mjs +3 -0
  50. package/_shims/node-runtime.d.ts +3 -0
  51. package/_shims/node-runtime.d.ts.map +1 -0
  52. package/_shims/node-runtime.js +89 -0
  53. package/_shims/node-runtime.js.map +1 -0
  54. package/_shims/node-runtime.mjs +56 -0
  55. package/_shims/node-runtime.mjs.map +1 -0
  56. package/_shims/node-types.d.ts +42 -0
  57. package/_shims/node-types.js +3 -0
  58. package/_shims/node-types.mjs +3 -0
  59. package/_shims/registry.d.ts +37 -0
  60. package/_shims/registry.d.ts.map +1 -0
  61. package/_shims/registry.js +41 -0
  62. package/_shims/registry.js.map +1 -0
  63. package/_shims/registry.mjs +37 -0
  64. package/_shims/registry.mjs.map +1 -0
  65. package/_shims/web-runtime.d.ts +5 -0
  66. package/_shims/web-runtime.d.ts.map +1 -0
  67. package/_shims/web-runtime.js +78 -0
  68. package/_shims/web-runtime.js.map +1 -0
  69. package/_shims/web-runtime.mjs +71 -0
  70. package/_shims/web-runtime.mjs.map +1 -0
  71. package/_shims/web-types.d.ts +83 -0
  72. package/_shims/web-types.js +3 -0
  73. package/_shims/web-types.mjs +3 -0
  74. package/core.d.ts +241 -0
  75. package/core.d.ts.map +1 -0
  76. package/core.js +908 -0
  77. package/core.js.map +1 -0
  78. package/core.mjs +876 -0
  79. package/core.mjs.map +1 -0
  80. package/error.d.ts +47 -0
  81. package/error.d.ts.map +1 -0
  82. package/error.js +113 -0
  83. package/error.js.map +1 -0
  84. package/error.mjs +97 -0
  85. package/error.mjs.map +1 -0
  86. package/index.d.mts +157 -0
  87. package/index.d.ts +157 -0
  88. package/index.d.ts.map +1 -0
  89. package/index.js +164 -0
  90. package/index.js.map +1 -0
  91. package/index.mjs +121 -0
  92. package/index.mjs.map +1 -0
  93. package/package.json +103 -0
  94. package/resource.d.ts +6 -0
  95. package/resource.d.ts.map +1 -0
  96. package/resource.js +11 -0
  97. package/resource.js.map +1 -0
  98. package/resource.mjs +7 -0
  99. package/resource.mjs.map +1 -0
  100. package/resources/balance.d.ts +34 -0
  101. package/resources/balance.d.ts.map +1 -0
  102. package/resources/balance.js +16 -0
  103. package/resources/balance.js.map +1 -0
  104. package/resources/balance.mjs +12 -0
  105. package/resources/balance.mjs.map +1 -0
  106. package/resources/banks.d.ts +223 -0
  107. package/resources/banks.d.ts.map +1 -0
  108. package/resources/banks.js +30 -0
  109. package/resources/banks.js.map +1 -0
  110. package/resources/banks.mjs +26 -0
  111. package/resources/banks.mjs.map +1 -0
  112. package/resources/capabilities.d.ts +28 -0
  113. package/resources/capabilities.d.ts.map +1 -0
  114. package/resources/capabilities.js +16 -0
  115. package/resources/capabilities.js.map +1 -0
  116. package/resources/capabilities.mjs +12 -0
  117. package/resources/capabilities.mjs.map +1 -0
  118. package/resources/charges.d.ts +86 -0
  119. package/resources/charges.d.ts.map +1 -0
  120. package/resources/charges.js +15 -0
  121. package/resources/charges.js.map +1 -0
  122. package/resources/charges.mjs +11 -0
  123. package/resources/charges.mjs.map +1 -0
  124. package/resources/checkoutsession.d.ts +2370 -0
  125. package/resources/checkoutsession.d.ts.map +1 -0
  126. package/resources/checkoutsession.js +30 -0
  127. package/resources/checkoutsession.js.map +1 -0
  128. package/resources/checkoutsession.mjs +26 -0
  129. package/resources/checkoutsession.mjs.map +1 -0
  130. package/resources/customers.d.ts +37 -0
  131. package/resources/customers.d.ts.map +1 -0
  132. package/resources/customers.js +21 -0
  133. package/resources/customers.js.map +1 -0
  134. package/resources/customers.mjs +17 -0
  135. package/resources/customers.mjs.map +1 -0
  136. package/resources/index.d.ts +13 -0
  137. package/resources/index.d.ts.map +1 -0
  138. package/resources/index.js +29 -0
  139. package/resources/index.js.map +1 -0
  140. package/resources/index.mjs +14 -0
  141. package/resources/index.mjs.map +1 -0
  142. package/resources/mandates.d.ts +91 -0
  143. package/resources/mandates.d.ts.map +1 -0
  144. package/resources/mandates.js +27 -0
  145. package/resources/mandates.js.map +1 -0
  146. package/resources/mandates.mjs +23 -0
  147. package/resources/mandates.mjs.map +1 -0
  148. package/resources/orders.d.ts +1255 -0
  149. package/resources/orders.d.ts.map +1 -0
  150. package/resources/orders.js +23 -0
  151. package/resources/orders.js.map +1 -0
  152. package/resources/orders.mjs +19 -0
  153. package/resources/orders.mjs.map +1 -0
  154. package/resources/payouts.d.ts +224 -0
  155. package/resources/payouts.d.ts.map +1 -0
  156. package/resources/payouts.js +28 -0
  157. package/resources/payouts.js.map +1 -0
  158. package/resources/payouts.mjs +24 -0
  159. package/resources/payouts.mjs.map +1 -0
  160. package/resources/refunds.d.ts +138 -0
  161. package/resources/refunds.d.ts.map +1 -0
  162. package/resources/refunds.js +28 -0
  163. package/resources/refunds.js.map +1 -0
  164. package/resources/refunds.mjs +24 -0
  165. package/resources/refunds.mjs.map +1 -0
  166. package/resources/reports.d.ts +120 -0
  167. package/resources/reports.d.ts.map +1 -0
  168. package/resources/reports.js +31 -0
  169. package/resources/reports.js.map +1 -0
  170. package/resources/reports.mjs +27 -0
  171. package/resources/reports.mjs.map +1 -0
  172. package/resources/subaccounts.d.ts +49 -0
  173. package/resources/subaccounts.d.ts.map +1 -0
  174. package/resources/subaccounts.js +22 -0
  175. package/resources/subaccounts.js.map +1 -0
  176. package/resources/subaccounts.mjs +18 -0
  177. package/resources/subaccounts.mjs.map +1 -0
  178. package/shims/node.d.ts +30 -0
  179. package/shims/node.d.ts.map +1 -0
  180. package/shims/node.js +31 -0
  181. package/shims/node.js.map +1 -0
  182. package/shims/node.mjs +5 -0
  183. package/shims/node.mjs.map +1 -0
  184. package/shims/web.d.ts +26 -0
  185. package/shims/web.d.ts.map +1 -0
  186. package/shims/web.js +31 -0
  187. package/shims/web.js.map +1 -0
  188. package/shims/web.mjs +5 -0
  189. package/shims/web.mjs.map +1 -0
  190. package/src/_shims/MultipartBody.ts +9 -0
  191. package/src/_shims/README.md +46 -0
  192. package/src/_shims/auto/runtime-bun.ts +4 -0
  193. package/src/_shims/auto/runtime-node.ts +4 -0
  194. package/src/_shims/auto/runtime.ts +4 -0
  195. package/src/_shims/auto/types-node.ts +4 -0
  196. package/src/_shims/auto/types.d.ts +101 -0
  197. package/src/_shims/auto/types.js +3 -0
  198. package/src/_shims/auto/types.mjs +3 -0
  199. package/src/_shims/bun-runtime.ts +14 -0
  200. package/src/_shims/index.d.ts +81 -0
  201. package/src/_shims/index.js +13 -0
  202. package/src/_shims/index.mjs +7 -0
  203. package/src/_shims/manual-types.d.ts +12 -0
  204. package/src/_shims/manual-types.js +3 -0
  205. package/src/_shims/manual-types.mjs +3 -0
  206. package/src/_shims/node-runtime.ts +81 -0
  207. package/src/_shims/node-types.d.ts +42 -0
  208. package/src/_shims/node-types.js +3 -0
  209. package/src/_shims/node-types.mjs +3 -0
  210. package/src/_shims/registry.ts +67 -0
  211. package/src/_shims/web-runtime.ts +103 -0
  212. package/src/_shims/web-types.d.ts +83 -0
  213. package/src/_shims/web-types.js +3 -0
  214. package/src/_shims/web-types.mjs +3 -0
  215. package/src/core.ts +1200 -0
  216. package/src/error.ts +130 -0
  217. package/src/index.ts +393 -0
  218. package/src/lib/.keep +4 -0
  219. package/src/resource.ts +11 -0
  220. package/src/resources/balance.ts +49 -0
  221. package/src/resources/banks.ts +1536 -0
  222. package/src/resources/capabilities.ts +291 -0
  223. package/src/resources/charges.ts +108 -0
  224. package/src/resources/checkoutsession.ts +9254 -0
  225. package/src/resources/customers.ts +60 -0
  226. package/src/resources/index.ts +75 -0
  227. package/src/resources/mandates.ts +135 -0
  228. package/src/resources/orders.ts +3195 -0
  229. package/src/resources/payouts.ts +297 -0
  230. package/src/resources/refunds.ts +184 -0
  231. package/src/resources/reports.ts +172 -0
  232. package/src/resources/subaccounts.ts +73 -0
  233. package/src/shims/node.ts +50 -0
  234. package/src/shims/web.ts +50 -0
  235. package/src/tsconfig.json +11 -0
  236. package/src/uploads.ts +255 -0
  237. package/src/version.ts +1 -0
  238. package/uploads.d.ts +75 -0
  239. package/uploads.d.ts.map +1 -0
  240. package/uploads.js +171 -0
  241. package/uploads.js.map +1 -0
  242. package/uploads.mjs +158 -0
  243. package/uploads.mjs.map +1 -0
  244. package/version.d.ts +2 -0
  245. package/version.d.ts.map +1 -0
  246. package/version.js +5 -0
  247. package/version.js.map +1 -0
  248. package/version.mjs +2 -0
  249. package/version.mjs.map +1 -0
@@ -0,0 +1,1536 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ import { APIResource } from '../resource';
4
+ import * as Core from '../core';
5
+
6
+ export class Banks extends APIResource {
7
+ /**
8
+ * Retrieve a bank object by its id. The id is a unique identifier of the bank
9
+ * within Ivy.
10
+ */
11
+ retrieve(body: BankRetrieveParams, options?: Core.RequestOptions): Core.APIPromise<BankRetrieveResponse> {
12
+ return this._client.post('/api/service/banks/details', { body, ...options });
13
+ }
14
+
15
+ /**
16
+ * Get a list of banks. You can filter by group, capability and market.
17
+ */
18
+ list(body: BankListParams, options?: Core.RequestOptions): Core.APIPromise<BankListResponse> {
19
+ return this._client.post('/api/service/banks/list', { body, ...options });
20
+ }
21
+
22
+ /**
23
+ * You can retrieve a list of banks by a given search string. If the search string
24
+ * is empty (""), a default list of banks is returned. On top, you can filter
25
+ * results by group, capability and market.
26
+ */
27
+ search(body: BankSearchParams, options?: Core.RequestOptions): Core.APIPromise<BankSearchResponse> {
28
+ return this._client.post('/api/service/banks/search', { body, ...options });
29
+ }
30
+ }
31
+
32
+ export interface BankRetrieveResponse {
33
+ /**
34
+ * Unique identifier for the bank, conforming to the regex pattern
35
+ * /^[a-z]{2}-[a-z0-9+/-]{1,}$/. This pattern typically represents a country code
36
+ * followed by a bank-specific identifier, e.g.,
37
+ * 'de-alxingbruckergenossenschaftsbank'.
38
+ */
39
+ id: string;
40
+
41
+ currencies: Array<'EUR' | 'GBP' | 'PLN'>;
42
+
43
+ /**
44
+ * If true, the bank is part of the set of default banks for a given market.
45
+ */
46
+ default: boolean;
47
+
48
+ /**
49
+ * Array of ISO 3166-1 alpha-2 country codes. The markets where the bank is
50
+ * available.
51
+ */
52
+ market: Array<
53
+ | 'AF'
54
+ | 'AL'
55
+ | 'DZ'
56
+ | 'AS'
57
+ | 'AD'
58
+ | 'AO'
59
+ | 'AI'
60
+ | 'AQ'
61
+ | 'AG'
62
+ | 'AR'
63
+ | 'AM'
64
+ | 'AW'
65
+ | 'AU'
66
+ | 'AT'
67
+ | 'AZ'
68
+ | 'BS'
69
+ | 'BH'
70
+ | 'BD'
71
+ | 'BB'
72
+ | 'BY'
73
+ | 'BE'
74
+ | 'BZ'
75
+ | 'BJ'
76
+ | 'BM'
77
+ | 'BT'
78
+ | 'BO'
79
+ | 'BA'
80
+ | 'BW'
81
+ | 'BV'
82
+ | 'BR'
83
+ | 'IO'
84
+ | 'BN'
85
+ | 'BG'
86
+ | 'BF'
87
+ | 'BI'
88
+ | 'KH'
89
+ | 'CM'
90
+ | 'CA'
91
+ | 'CV'
92
+ | 'KY'
93
+ | 'CF'
94
+ | 'TD'
95
+ | 'CL'
96
+ | 'CN'
97
+ | 'CX'
98
+ | 'CC'
99
+ | 'CO'
100
+ | 'KM'
101
+ | 'CG'
102
+ | 'CD'
103
+ | 'CK'
104
+ | 'CR'
105
+ | 'CI'
106
+ | 'HR'
107
+ | 'CU'
108
+ | 'CY'
109
+ | 'CZ'
110
+ | 'DK'
111
+ | 'DJ'
112
+ | 'DM'
113
+ | 'DO'
114
+ | 'EC'
115
+ | 'EG'
116
+ | 'SV'
117
+ | 'GQ'
118
+ | 'ER'
119
+ | 'EE'
120
+ | 'ET'
121
+ | 'FK'
122
+ | 'FO'
123
+ | 'FJ'
124
+ | 'FI'
125
+ | 'FR'
126
+ | 'GF'
127
+ | 'PF'
128
+ | 'TF'
129
+ | 'GA'
130
+ | 'GM'
131
+ | 'GE'
132
+ | 'DE'
133
+ | 'GH'
134
+ | 'GI'
135
+ | 'GR'
136
+ | 'GL'
137
+ | 'GD'
138
+ | 'GP'
139
+ | 'GU'
140
+ | 'GT'
141
+ | 'GN'
142
+ | 'GW'
143
+ | 'GY'
144
+ | 'HT'
145
+ | 'HM'
146
+ | 'VA'
147
+ | 'HN'
148
+ | 'HK'
149
+ | 'HU'
150
+ | 'IS'
151
+ | 'IN'
152
+ | 'ID'
153
+ | 'IR'
154
+ | 'IQ'
155
+ | 'IE'
156
+ | 'IL'
157
+ | 'IT'
158
+ | 'JM'
159
+ | 'JP'
160
+ | 'JO'
161
+ | 'KZ'
162
+ | 'KE'
163
+ | 'KI'
164
+ | 'KP'
165
+ | 'KR'
166
+ | 'KW'
167
+ | 'KG'
168
+ | 'LA'
169
+ | 'LV'
170
+ | 'LB'
171
+ | 'LS'
172
+ | 'LR'
173
+ | 'LY'
174
+ | 'LI'
175
+ | 'LT'
176
+ | 'LU'
177
+ | 'MO'
178
+ | 'MG'
179
+ | 'MW'
180
+ | 'MY'
181
+ | 'MV'
182
+ | 'ML'
183
+ | 'MT'
184
+ | 'MH'
185
+ | 'MQ'
186
+ | 'MR'
187
+ | 'MU'
188
+ | 'YT'
189
+ | 'MX'
190
+ | 'FM'
191
+ | 'MD'
192
+ | 'MC'
193
+ | 'MN'
194
+ | 'MS'
195
+ | 'MA'
196
+ | 'MZ'
197
+ | 'MM'
198
+ | 'NA'
199
+ | 'NR'
200
+ | 'NP'
201
+ | 'NL'
202
+ | 'NC'
203
+ | 'NZ'
204
+ | 'NI'
205
+ | 'NE'
206
+ | 'NG'
207
+ | 'NU'
208
+ | 'NF'
209
+ | 'MP'
210
+ | 'MK'
211
+ | 'NO'
212
+ | 'OM'
213
+ | 'PK'
214
+ | 'PW'
215
+ | 'PS'
216
+ | 'PA'
217
+ | 'PG'
218
+ | 'PY'
219
+ | 'PE'
220
+ | 'PH'
221
+ | 'PN'
222
+ | 'PL'
223
+ | 'PT'
224
+ | 'PR'
225
+ | 'QA'
226
+ | 'RE'
227
+ | 'RO'
228
+ | 'RU'
229
+ | 'RW'
230
+ | 'SH'
231
+ | 'KN'
232
+ | 'LC'
233
+ | 'PM'
234
+ | 'VC'
235
+ | 'WS'
236
+ | 'SM'
237
+ | 'ST'
238
+ | 'SA'
239
+ | 'SN'
240
+ | 'SC'
241
+ | 'SL'
242
+ | 'SG'
243
+ | 'SK'
244
+ | 'SI'
245
+ | 'SB'
246
+ | 'SO'
247
+ | 'ZA'
248
+ | 'GS'
249
+ | 'ES'
250
+ | 'LK'
251
+ | 'SD'
252
+ | 'SR'
253
+ | 'SJ'
254
+ | 'SZ'
255
+ | 'SE'
256
+ | 'CH'
257
+ | 'SY'
258
+ | 'TW'
259
+ | 'TJ'
260
+ | 'TZ'
261
+ | 'TH'
262
+ | 'TL'
263
+ | 'TG'
264
+ | 'TK'
265
+ | 'TO'
266
+ | 'TT'
267
+ | 'TN'
268
+ | 'TR'
269
+ | 'TM'
270
+ | 'TC'
271
+ | 'TV'
272
+ | 'UG'
273
+ | 'UA'
274
+ | 'AE'
275
+ | 'GB'
276
+ | 'US'
277
+ | 'UM'
278
+ | 'UY'
279
+ | 'UZ'
280
+ | 'VU'
281
+ | 'VE'
282
+ | 'VN'
283
+ | 'VG'
284
+ | 'VI'
285
+ | 'WF'
286
+ | 'EH'
287
+ | 'YE'
288
+ | 'ZM'
289
+ | 'ZW'
290
+ | 'AX'
291
+ | 'BQ'
292
+ | 'CW'
293
+ | 'GG'
294
+ | 'IM'
295
+ | 'JE'
296
+ | 'ME'
297
+ | 'BL'
298
+ | 'MF'
299
+ | 'RS'
300
+ | 'SX'
301
+ | 'SS'
302
+ | 'XK'
303
+ >;
304
+
305
+ /**
306
+ * Customer-facing name of the bank.
307
+ */
308
+ name: string;
309
+
310
+ /**
311
+ * If true, the bank is only available in test (sandbox) mode.
312
+ */
313
+ test: boolean;
314
+
315
+ /**
316
+ * The capabilities of the bank. The capabilities determine which products the bank
317
+ * supports. `ais` for data products, `pis` for payment products.
318
+ */
319
+ capabilities?: Array<'pis' | 'ais'>;
320
+
321
+ /**
322
+ * The group of the bank, e.g. "Sparkasse", i.e. a group of different bank branches
323
+ * of the same brand.
324
+ */
325
+ group?: string;
326
+
327
+ /**
328
+ * The logo of the bank provided as a URL.
329
+ */
330
+ logo?: string;
331
+ }
332
+
333
+ export interface BankListResponse {
334
+ /**
335
+ * A list of banks.
336
+ */
337
+ banks: Array<BankListResponse.Bank>;
338
+ }
339
+
340
+ export namespace BankListResponse {
341
+ export interface Bank {
342
+ /**
343
+ * Unique identifier for the bank, conforming to the regex pattern
344
+ * /^[a-z]{2}-[a-z0-9+/-]{1,}$/. This pattern typically represents a country code
345
+ * followed by a bank-specific identifier, e.g.,
346
+ * 'de-alxingbruckergenossenschaftsbank'.
347
+ */
348
+ id: string;
349
+
350
+ currencies: Array<'EUR' | 'GBP' | 'PLN'>;
351
+
352
+ /**
353
+ * If true, the bank is part of the set of default banks for a given market.
354
+ */
355
+ default: boolean;
356
+
357
+ /**
358
+ * Array of ISO 3166-1 alpha-2 country codes. The markets where the bank is
359
+ * available.
360
+ */
361
+ market: Array<
362
+ | 'AF'
363
+ | 'AL'
364
+ | 'DZ'
365
+ | 'AS'
366
+ | 'AD'
367
+ | 'AO'
368
+ | 'AI'
369
+ | 'AQ'
370
+ | 'AG'
371
+ | 'AR'
372
+ | 'AM'
373
+ | 'AW'
374
+ | 'AU'
375
+ | 'AT'
376
+ | 'AZ'
377
+ | 'BS'
378
+ | 'BH'
379
+ | 'BD'
380
+ | 'BB'
381
+ | 'BY'
382
+ | 'BE'
383
+ | 'BZ'
384
+ | 'BJ'
385
+ | 'BM'
386
+ | 'BT'
387
+ | 'BO'
388
+ | 'BA'
389
+ | 'BW'
390
+ | 'BV'
391
+ | 'BR'
392
+ | 'IO'
393
+ | 'BN'
394
+ | 'BG'
395
+ | 'BF'
396
+ | 'BI'
397
+ | 'KH'
398
+ | 'CM'
399
+ | 'CA'
400
+ | 'CV'
401
+ | 'KY'
402
+ | 'CF'
403
+ | 'TD'
404
+ | 'CL'
405
+ | 'CN'
406
+ | 'CX'
407
+ | 'CC'
408
+ | 'CO'
409
+ | 'KM'
410
+ | 'CG'
411
+ | 'CD'
412
+ | 'CK'
413
+ | 'CR'
414
+ | 'CI'
415
+ | 'HR'
416
+ | 'CU'
417
+ | 'CY'
418
+ | 'CZ'
419
+ | 'DK'
420
+ | 'DJ'
421
+ | 'DM'
422
+ | 'DO'
423
+ | 'EC'
424
+ | 'EG'
425
+ | 'SV'
426
+ | 'GQ'
427
+ | 'ER'
428
+ | 'EE'
429
+ | 'ET'
430
+ | 'FK'
431
+ | 'FO'
432
+ | 'FJ'
433
+ | 'FI'
434
+ | 'FR'
435
+ | 'GF'
436
+ | 'PF'
437
+ | 'TF'
438
+ | 'GA'
439
+ | 'GM'
440
+ | 'GE'
441
+ | 'DE'
442
+ | 'GH'
443
+ | 'GI'
444
+ | 'GR'
445
+ | 'GL'
446
+ | 'GD'
447
+ | 'GP'
448
+ | 'GU'
449
+ | 'GT'
450
+ | 'GN'
451
+ | 'GW'
452
+ | 'GY'
453
+ | 'HT'
454
+ | 'HM'
455
+ | 'VA'
456
+ | 'HN'
457
+ | 'HK'
458
+ | 'HU'
459
+ | 'IS'
460
+ | 'IN'
461
+ | 'ID'
462
+ | 'IR'
463
+ | 'IQ'
464
+ | 'IE'
465
+ | 'IL'
466
+ | 'IT'
467
+ | 'JM'
468
+ | 'JP'
469
+ | 'JO'
470
+ | 'KZ'
471
+ | 'KE'
472
+ | 'KI'
473
+ | 'KP'
474
+ | 'KR'
475
+ | 'KW'
476
+ | 'KG'
477
+ | 'LA'
478
+ | 'LV'
479
+ | 'LB'
480
+ | 'LS'
481
+ | 'LR'
482
+ | 'LY'
483
+ | 'LI'
484
+ | 'LT'
485
+ | 'LU'
486
+ | 'MO'
487
+ | 'MG'
488
+ | 'MW'
489
+ | 'MY'
490
+ | 'MV'
491
+ | 'ML'
492
+ | 'MT'
493
+ | 'MH'
494
+ | 'MQ'
495
+ | 'MR'
496
+ | 'MU'
497
+ | 'YT'
498
+ | 'MX'
499
+ | 'FM'
500
+ | 'MD'
501
+ | 'MC'
502
+ | 'MN'
503
+ | 'MS'
504
+ | 'MA'
505
+ | 'MZ'
506
+ | 'MM'
507
+ | 'NA'
508
+ | 'NR'
509
+ | 'NP'
510
+ | 'NL'
511
+ | 'NC'
512
+ | 'NZ'
513
+ | 'NI'
514
+ | 'NE'
515
+ | 'NG'
516
+ | 'NU'
517
+ | 'NF'
518
+ | 'MP'
519
+ | 'MK'
520
+ | 'NO'
521
+ | 'OM'
522
+ | 'PK'
523
+ | 'PW'
524
+ | 'PS'
525
+ | 'PA'
526
+ | 'PG'
527
+ | 'PY'
528
+ | 'PE'
529
+ | 'PH'
530
+ | 'PN'
531
+ | 'PL'
532
+ | 'PT'
533
+ | 'PR'
534
+ | 'QA'
535
+ | 'RE'
536
+ | 'RO'
537
+ | 'RU'
538
+ | 'RW'
539
+ | 'SH'
540
+ | 'KN'
541
+ | 'LC'
542
+ | 'PM'
543
+ | 'VC'
544
+ | 'WS'
545
+ | 'SM'
546
+ | 'ST'
547
+ | 'SA'
548
+ | 'SN'
549
+ | 'SC'
550
+ | 'SL'
551
+ | 'SG'
552
+ | 'SK'
553
+ | 'SI'
554
+ | 'SB'
555
+ | 'SO'
556
+ | 'ZA'
557
+ | 'GS'
558
+ | 'ES'
559
+ | 'LK'
560
+ | 'SD'
561
+ | 'SR'
562
+ | 'SJ'
563
+ | 'SZ'
564
+ | 'SE'
565
+ | 'CH'
566
+ | 'SY'
567
+ | 'TW'
568
+ | 'TJ'
569
+ | 'TZ'
570
+ | 'TH'
571
+ | 'TL'
572
+ | 'TG'
573
+ | 'TK'
574
+ | 'TO'
575
+ | 'TT'
576
+ | 'TN'
577
+ | 'TR'
578
+ | 'TM'
579
+ | 'TC'
580
+ | 'TV'
581
+ | 'UG'
582
+ | 'UA'
583
+ | 'AE'
584
+ | 'GB'
585
+ | 'US'
586
+ | 'UM'
587
+ | 'UY'
588
+ | 'UZ'
589
+ | 'VU'
590
+ | 'VE'
591
+ | 'VN'
592
+ | 'VG'
593
+ | 'VI'
594
+ | 'WF'
595
+ | 'EH'
596
+ | 'YE'
597
+ | 'ZM'
598
+ | 'ZW'
599
+ | 'AX'
600
+ | 'BQ'
601
+ | 'CW'
602
+ | 'GG'
603
+ | 'IM'
604
+ | 'JE'
605
+ | 'ME'
606
+ | 'BL'
607
+ | 'MF'
608
+ | 'RS'
609
+ | 'SX'
610
+ | 'SS'
611
+ | 'XK'
612
+ >;
613
+
614
+ /**
615
+ * Customer-facing name of the bank.
616
+ */
617
+ name: string;
618
+
619
+ /**
620
+ * If true, the bank is only available in test (sandbox) mode.
621
+ */
622
+ test: boolean;
623
+
624
+ /**
625
+ * The capabilities of the bank. The capabilities determine which products the bank
626
+ * supports. `ais` for data products, `pis` for payment products.
627
+ */
628
+ capabilities?: Array<'pis' | 'ais'>;
629
+
630
+ /**
631
+ * The group of the bank, e.g. "Sparkasse", i.e. a group of different bank branches
632
+ * of the same brand.
633
+ */
634
+ group?: string;
635
+
636
+ /**
637
+ * The logo of the bank provided as a URL.
638
+ */
639
+ logo?: string;
640
+ }
641
+ }
642
+
643
+ export interface BankSearchResponse {
644
+ /**
645
+ * A list of banks.
646
+ */
647
+ banks: Array<BankSearchResponse.Bank>;
648
+ }
649
+
650
+ export namespace BankSearchResponse {
651
+ export interface Bank {
652
+ /**
653
+ * Unique identifier for the bank, conforming to the regex pattern
654
+ * /^[a-z]{2}-[a-z0-9+/-]{1,}$/. This pattern typically represents a country code
655
+ * followed by a bank-specific identifier, e.g.,
656
+ * 'de-alxingbruckergenossenschaftsbank'.
657
+ */
658
+ id: string;
659
+
660
+ currencies: Array<'EUR' | 'GBP' | 'PLN'>;
661
+
662
+ /**
663
+ * If true, the bank is part of the set of default banks for a given market.
664
+ */
665
+ default: boolean;
666
+
667
+ /**
668
+ * Array of ISO 3166-1 alpha-2 country codes. The markets where the bank is
669
+ * available.
670
+ */
671
+ market: Array<
672
+ | 'AF'
673
+ | 'AL'
674
+ | 'DZ'
675
+ | 'AS'
676
+ | 'AD'
677
+ | 'AO'
678
+ | 'AI'
679
+ | 'AQ'
680
+ | 'AG'
681
+ | 'AR'
682
+ | 'AM'
683
+ | 'AW'
684
+ | 'AU'
685
+ | 'AT'
686
+ | 'AZ'
687
+ | 'BS'
688
+ | 'BH'
689
+ | 'BD'
690
+ | 'BB'
691
+ | 'BY'
692
+ | 'BE'
693
+ | 'BZ'
694
+ | 'BJ'
695
+ | 'BM'
696
+ | 'BT'
697
+ | 'BO'
698
+ | 'BA'
699
+ | 'BW'
700
+ | 'BV'
701
+ | 'BR'
702
+ | 'IO'
703
+ | 'BN'
704
+ | 'BG'
705
+ | 'BF'
706
+ | 'BI'
707
+ | 'KH'
708
+ | 'CM'
709
+ | 'CA'
710
+ | 'CV'
711
+ | 'KY'
712
+ | 'CF'
713
+ | 'TD'
714
+ | 'CL'
715
+ | 'CN'
716
+ | 'CX'
717
+ | 'CC'
718
+ | 'CO'
719
+ | 'KM'
720
+ | 'CG'
721
+ | 'CD'
722
+ | 'CK'
723
+ | 'CR'
724
+ | 'CI'
725
+ | 'HR'
726
+ | 'CU'
727
+ | 'CY'
728
+ | 'CZ'
729
+ | 'DK'
730
+ | 'DJ'
731
+ | 'DM'
732
+ | 'DO'
733
+ | 'EC'
734
+ | 'EG'
735
+ | 'SV'
736
+ | 'GQ'
737
+ | 'ER'
738
+ | 'EE'
739
+ | 'ET'
740
+ | 'FK'
741
+ | 'FO'
742
+ | 'FJ'
743
+ | 'FI'
744
+ | 'FR'
745
+ | 'GF'
746
+ | 'PF'
747
+ | 'TF'
748
+ | 'GA'
749
+ | 'GM'
750
+ | 'GE'
751
+ | 'DE'
752
+ | 'GH'
753
+ | 'GI'
754
+ | 'GR'
755
+ | 'GL'
756
+ | 'GD'
757
+ | 'GP'
758
+ | 'GU'
759
+ | 'GT'
760
+ | 'GN'
761
+ | 'GW'
762
+ | 'GY'
763
+ | 'HT'
764
+ | 'HM'
765
+ | 'VA'
766
+ | 'HN'
767
+ | 'HK'
768
+ | 'HU'
769
+ | 'IS'
770
+ | 'IN'
771
+ | 'ID'
772
+ | 'IR'
773
+ | 'IQ'
774
+ | 'IE'
775
+ | 'IL'
776
+ | 'IT'
777
+ | 'JM'
778
+ | 'JP'
779
+ | 'JO'
780
+ | 'KZ'
781
+ | 'KE'
782
+ | 'KI'
783
+ | 'KP'
784
+ | 'KR'
785
+ | 'KW'
786
+ | 'KG'
787
+ | 'LA'
788
+ | 'LV'
789
+ | 'LB'
790
+ | 'LS'
791
+ | 'LR'
792
+ | 'LY'
793
+ | 'LI'
794
+ | 'LT'
795
+ | 'LU'
796
+ | 'MO'
797
+ | 'MG'
798
+ | 'MW'
799
+ | 'MY'
800
+ | 'MV'
801
+ | 'ML'
802
+ | 'MT'
803
+ | 'MH'
804
+ | 'MQ'
805
+ | 'MR'
806
+ | 'MU'
807
+ | 'YT'
808
+ | 'MX'
809
+ | 'FM'
810
+ | 'MD'
811
+ | 'MC'
812
+ | 'MN'
813
+ | 'MS'
814
+ | 'MA'
815
+ | 'MZ'
816
+ | 'MM'
817
+ | 'NA'
818
+ | 'NR'
819
+ | 'NP'
820
+ | 'NL'
821
+ | 'NC'
822
+ | 'NZ'
823
+ | 'NI'
824
+ | 'NE'
825
+ | 'NG'
826
+ | 'NU'
827
+ | 'NF'
828
+ | 'MP'
829
+ | 'MK'
830
+ | 'NO'
831
+ | 'OM'
832
+ | 'PK'
833
+ | 'PW'
834
+ | 'PS'
835
+ | 'PA'
836
+ | 'PG'
837
+ | 'PY'
838
+ | 'PE'
839
+ | 'PH'
840
+ | 'PN'
841
+ | 'PL'
842
+ | 'PT'
843
+ | 'PR'
844
+ | 'QA'
845
+ | 'RE'
846
+ | 'RO'
847
+ | 'RU'
848
+ | 'RW'
849
+ | 'SH'
850
+ | 'KN'
851
+ | 'LC'
852
+ | 'PM'
853
+ | 'VC'
854
+ | 'WS'
855
+ | 'SM'
856
+ | 'ST'
857
+ | 'SA'
858
+ | 'SN'
859
+ | 'SC'
860
+ | 'SL'
861
+ | 'SG'
862
+ | 'SK'
863
+ | 'SI'
864
+ | 'SB'
865
+ | 'SO'
866
+ | 'ZA'
867
+ | 'GS'
868
+ | 'ES'
869
+ | 'LK'
870
+ | 'SD'
871
+ | 'SR'
872
+ | 'SJ'
873
+ | 'SZ'
874
+ | 'SE'
875
+ | 'CH'
876
+ | 'SY'
877
+ | 'TW'
878
+ | 'TJ'
879
+ | 'TZ'
880
+ | 'TH'
881
+ | 'TL'
882
+ | 'TG'
883
+ | 'TK'
884
+ | 'TO'
885
+ | 'TT'
886
+ | 'TN'
887
+ | 'TR'
888
+ | 'TM'
889
+ | 'TC'
890
+ | 'TV'
891
+ | 'UG'
892
+ | 'UA'
893
+ | 'AE'
894
+ | 'GB'
895
+ | 'US'
896
+ | 'UM'
897
+ | 'UY'
898
+ | 'UZ'
899
+ | 'VU'
900
+ | 'VE'
901
+ | 'VN'
902
+ | 'VG'
903
+ | 'VI'
904
+ | 'WF'
905
+ | 'EH'
906
+ | 'YE'
907
+ | 'ZM'
908
+ | 'ZW'
909
+ | 'AX'
910
+ | 'BQ'
911
+ | 'CW'
912
+ | 'GG'
913
+ | 'IM'
914
+ | 'JE'
915
+ | 'ME'
916
+ | 'BL'
917
+ | 'MF'
918
+ | 'RS'
919
+ | 'SX'
920
+ | 'SS'
921
+ | 'XK'
922
+ >;
923
+
924
+ /**
925
+ * Customer-facing name of the bank.
926
+ */
927
+ name: string;
928
+
929
+ /**
930
+ * If true, the bank is only available in test (sandbox) mode.
931
+ */
932
+ test: boolean;
933
+
934
+ /**
935
+ * The capabilities of the bank. The capabilities determine which products the bank
936
+ * supports. `ais` for data products, `pis` for payment products.
937
+ */
938
+ capabilities?: Array<'pis' | 'ais'>;
939
+
940
+ /**
941
+ * The group of the bank, e.g. "Sparkasse", i.e. a group of different bank branches
942
+ * of the same brand.
943
+ */
944
+ group?: string;
945
+
946
+ /**
947
+ * The logo of the bank provided as a URL.
948
+ */
949
+ logo?: string;
950
+ }
951
+ }
952
+
953
+ export interface BankRetrieveParams {
954
+ id: string;
955
+ }
956
+
957
+ export interface BankListParams {
958
+ /**
959
+ * Filter banks with provided capability only. `ais` for data products, `pis` for
960
+ * payment products.
961
+ */
962
+ capability?: 'ais' | 'pis';
963
+
964
+ /**
965
+ * ISO 4217 currency code. Filter banks with provided currency only.
966
+ */
967
+ currency?: 'EUR' | 'GBP' | 'PLN';
968
+
969
+ /**
970
+ * If provided the list will show banks in this group only. Groups are e.g.
971
+ * "Sparkasse", i.e. a group of different bank branches of the same brand.
972
+ */
973
+ group?: string;
974
+
975
+ /**
976
+ * ISO 3166-1 alpha-2 country code. Filter banks with provided market only.
977
+ */
978
+ market?:
979
+ | 'AF'
980
+ | 'AL'
981
+ | 'DZ'
982
+ | 'AS'
983
+ | 'AD'
984
+ | 'AO'
985
+ | 'AI'
986
+ | 'AQ'
987
+ | 'AG'
988
+ | 'AR'
989
+ | 'AM'
990
+ | 'AW'
991
+ | 'AU'
992
+ | 'AT'
993
+ | 'AZ'
994
+ | 'BS'
995
+ | 'BH'
996
+ | 'BD'
997
+ | 'BB'
998
+ | 'BY'
999
+ | 'BE'
1000
+ | 'BZ'
1001
+ | 'BJ'
1002
+ | 'BM'
1003
+ | 'BT'
1004
+ | 'BO'
1005
+ | 'BA'
1006
+ | 'BW'
1007
+ | 'BV'
1008
+ | 'BR'
1009
+ | 'IO'
1010
+ | 'BN'
1011
+ | 'BG'
1012
+ | 'BF'
1013
+ | 'BI'
1014
+ | 'KH'
1015
+ | 'CM'
1016
+ | 'CA'
1017
+ | 'CV'
1018
+ | 'KY'
1019
+ | 'CF'
1020
+ | 'TD'
1021
+ | 'CL'
1022
+ | 'CN'
1023
+ | 'CX'
1024
+ | 'CC'
1025
+ | 'CO'
1026
+ | 'KM'
1027
+ | 'CG'
1028
+ | 'CD'
1029
+ | 'CK'
1030
+ | 'CR'
1031
+ | 'CI'
1032
+ | 'HR'
1033
+ | 'CU'
1034
+ | 'CY'
1035
+ | 'CZ'
1036
+ | 'DK'
1037
+ | 'DJ'
1038
+ | 'DM'
1039
+ | 'DO'
1040
+ | 'EC'
1041
+ | 'EG'
1042
+ | 'SV'
1043
+ | 'GQ'
1044
+ | 'ER'
1045
+ | 'EE'
1046
+ | 'ET'
1047
+ | 'FK'
1048
+ | 'FO'
1049
+ | 'FJ'
1050
+ | 'FI'
1051
+ | 'FR'
1052
+ | 'GF'
1053
+ | 'PF'
1054
+ | 'TF'
1055
+ | 'GA'
1056
+ | 'GM'
1057
+ | 'GE'
1058
+ | 'DE'
1059
+ | 'GH'
1060
+ | 'GI'
1061
+ | 'GR'
1062
+ | 'GL'
1063
+ | 'GD'
1064
+ | 'GP'
1065
+ | 'GU'
1066
+ | 'GT'
1067
+ | 'GN'
1068
+ | 'GW'
1069
+ | 'GY'
1070
+ | 'HT'
1071
+ | 'HM'
1072
+ | 'VA'
1073
+ | 'HN'
1074
+ | 'HK'
1075
+ | 'HU'
1076
+ | 'IS'
1077
+ | 'IN'
1078
+ | 'ID'
1079
+ | 'IR'
1080
+ | 'IQ'
1081
+ | 'IE'
1082
+ | 'IL'
1083
+ | 'IT'
1084
+ | 'JM'
1085
+ | 'JP'
1086
+ | 'JO'
1087
+ | 'KZ'
1088
+ | 'KE'
1089
+ | 'KI'
1090
+ | 'KP'
1091
+ | 'KR'
1092
+ | 'KW'
1093
+ | 'KG'
1094
+ | 'LA'
1095
+ | 'LV'
1096
+ | 'LB'
1097
+ | 'LS'
1098
+ | 'LR'
1099
+ | 'LY'
1100
+ | 'LI'
1101
+ | 'LT'
1102
+ | 'LU'
1103
+ | 'MO'
1104
+ | 'MG'
1105
+ | 'MW'
1106
+ | 'MY'
1107
+ | 'MV'
1108
+ | 'ML'
1109
+ | 'MT'
1110
+ | 'MH'
1111
+ | 'MQ'
1112
+ | 'MR'
1113
+ | 'MU'
1114
+ | 'YT'
1115
+ | 'MX'
1116
+ | 'FM'
1117
+ | 'MD'
1118
+ | 'MC'
1119
+ | 'MN'
1120
+ | 'MS'
1121
+ | 'MA'
1122
+ | 'MZ'
1123
+ | 'MM'
1124
+ | 'NA'
1125
+ | 'NR'
1126
+ | 'NP'
1127
+ | 'NL'
1128
+ | 'NC'
1129
+ | 'NZ'
1130
+ | 'NI'
1131
+ | 'NE'
1132
+ | 'NG'
1133
+ | 'NU'
1134
+ | 'NF'
1135
+ | 'MP'
1136
+ | 'MK'
1137
+ | 'NO'
1138
+ | 'OM'
1139
+ | 'PK'
1140
+ | 'PW'
1141
+ | 'PS'
1142
+ | 'PA'
1143
+ | 'PG'
1144
+ | 'PY'
1145
+ | 'PE'
1146
+ | 'PH'
1147
+ | 'PN'
1148
+ | 'PL'
1149
+ | 'PT'
1150
+ | 'PR'
1151
+ | 'QA'
1152
+ | 'RE'
1153
+ | 'RO'
1154
+ | 'RU'
1155
+ | 'RW'
1156
+ | 'SH'
1157
+ | 'KN'
1158
+ | 'LC'
1159
+ | 'PM'
1160
+ | 'VC'
1161
+ | 'WS'
1162
+ | 'SM'
1163
+ | 'ST'
1164
+ | 'SA'
1165
+ | 'SN'
1166
+ | 'SC'
1167
+ | 'SL'
1168
+ | 'SG'
1169
+ | 'SK'
1170
+ | 'SI'
1171
+ | 'SB'
1172
+ | 'SO'
1173
+ | 'ZA'
1174
+ | 'GS'
1175
+ | 'ES'
1176
+ | 'LK'
1177
+ | 'SD'
1178
+ | 'SR'
1179
+ | 'SJ'
1180
+ | 'SZ'
1181
+ | 'SE'
1182
+ | 'CH'
1183
+ | 'SY'
1184
+ | 'TW'
1185
+ | 'TJ'
1186
+ | 'TZ'
1187
+ | 'TH'
1188
+ | 'TL'
1189
+ | 'TG'
1190
+ | 'TK'
1191
+ | 'TO'
1192
+ | 'TT'
1193
+ | 'TN'
1194
+ | 'TR'
1195
+ | 'TM'
1196
+ | 'TC'
1197
+ | 'TV'
1198
+ | 'UG'
1199
+ | 'UA'
1200
+ | 'AE'
1201
+ | 'GB'
1202
+ | 'US'
1203
+ | 'UM'
1204
+ | 'UY'
1205
+ | 'UZ'
1206
+ | 'VU'
1207
+ | 'VE'
1208
+ | 'VN'
1209
+ | 'VG'
1210
+ | 'VI'
1211
+ | 'WF'
1212
+ | 'EH'
1213
+ | 'YE'
1214
+ | 'ZM'
1215
+ | 'ZW'
1216
+ | 'AX'
1217
+ | 'BQ'
1218
+ | 'CW'
1219
+ | 'GG'
1220
+ | 'IM'
1221
+ | 'JE'
1222
+ | 'ME'
1223
+ | 'BL'
1224
+ | 'MF'
1225
+ | 'RS'
1226
+ | 'SX'
1227
+ | 'SS'
1228
+ | 'XK';
1229
+
1230
+ /**
1231
+ * The internal checkout session id. For internal use only.
1232
+ */
1233
+ sessionId?: string;
1234
+ }
1235
+
1236
+ export interface BankSearchParams {
1237
+ /**
1238
+ * Filter banks with provided capability only. `ais` for data products, `pis` for
1239
+ * payment products.
1240
+ */
1241
+ capability?: 'ais' | 'pis';
1242
+
1243
+ /**
1244
+ * ISO 4217 currency code. Filter banks with provided currency only.
1245
+ */
1246
+ currency?: 'EUR' | 'GBP' | 'PLN';
1247
+
1248
+ /**
1249
+ * If provided the list will show banks in this group only. Groups are e.g.
1250
+ * "Sparkasse", i.e. a group of different bank branches of the same brand.
1251
+ */
1252
+ group?: string;
1253
+
1254
+ /**
1255
+ * The maximum number of banks to return (default 1000)
1256
+ */
1257
+ limit?: number;
1258
+
1259
+ /**
1260
+ * ISO 3166-1 alpha-2 country code. Filter banks with provided market only. If not
1261
+ * provided, all banks are returned.
1262
+ */
1263
+ market?:
1264
+ | 'AF'
1265
+ | 'AL'
1266
+ | 'DZ'
1267
+ | 'AS'
1268
+ | 'AD'
1269
+ | 'AO'
1270
+ | 'AI'
1271
+ | 'AQ'
1272
+ | 'AG'
1273
+ | 'AR'
1274
+ | 'AM'
1275
+ | 'AW'
1276
+ | 'AU'
1277
+ | 'AT'
1278
+ | 'AZ'
1279
+ | 'BS'
1280
+ | 'BH'
1281
+ | 'BD'
1282
+ | 'BB'
1283
+ | 'BY'
1284
+ | 'BE'
1285
+ | 'BZ'
1286
+ | 'BJ'
1287
+ | 'BM'
1288
+ | 'BT'
1289
+ | 'BO'
1290
+ | 'BA'
1291
+ | 'BW'
1292
+ | 'BV'
1293
+ | 'BR'
1294
+ | 'IO'
1295
+ | 'BN'
1296
+ | 'BG'
1297
+ | 'BF'
1298
+ | 'BI'
1299
+ | 'KH'
1300
+ | 'CM'
1301
+ | 'CA'
1302
+ | 'CV'
1303
+ | 'KY'
1304
+ | 'CF'
1305
+ | 'TD'
1306
+ | 'CL'
1307
+ | 'CN'
1308
+ | 'CX'
1309
+ | 'CC'
1310
+ | 'CO'
1311
+ | 'KM'
1312
+ | 'CG'
1313
+ | 'CD'
1314
+ | 'CK'
1315
+ | 'CR'
1316
+ | 'CI'
1317
+ | 'HR'
1318
+ | 'CU'
1319
+ | 'CY'
1320
+ | 'CZ'
1321
+ | 'DK'
1322
+ | 'DJ'
1323
+ | 'DM'
1324
+ | 'DO'
1325
+ | 'EC'
1326
+ | 'EG'
1327
+ | 'SV'
1328
+ | 'GQ'
1329
+ | 'ER'
1330
+ | 'EE'
1331
+ | 'ET'
1332
+ | 'FK'
1333
+ | 'FO'
1334
+ | 'FJ'
1335
+ | 'FI'
1336
+ | 'FR'
1337
+ | 'GF'
1338
+ | 'PF'
1339
+ | 'TF'
1340
+ | 'GA'
1341
+ | 'GM'
1342
+ | 'GE'
1343
+ | 'DE'
1344
+ | 'GH'
1345
+ | 'GI'
1346
+ | 'GR'
1347
+ | 'GL'
1348
+ | 'GD'
1349
+ | 'GP'
1350
+ | 'GU'
1351
+ | 'GT'
1352
+ | 'GN'
1353
+ | 'GW'
1354
+ | 'GY'
1355
+ | 'HT'
1356
+ | 'HM'
1357
+ | 'VA'
1358
+ | 'HN'
1359
+ | 'HK'
1360
+ | 'HU'
1361
+ | 'IS'
1362
+ | 'IN'
1363
+ | 'ID'
1364
+ | 'IR'
1365
+ | 'IQ'
1366
+ | 'IE'
1367
+ | 'IL'
1368
+ | 'IT'
1369
+ | 'JM'
1370
+ | 'JP'
1371
+ | 'JO'
1372
+ | 'KZ'
1373
+ | 'KE'
1374
+ | 'KI'
1375
+ | 'KP'
1376
+ | 'KR'
1377
+ | 'KW'
1378
+ | 'KG'
1379
+ | 'LA'
1380
+ | 'LV'
1381
+ | 'LB'
1382
+ | 'LS'
1383
+ | 'LR'
1384
+ | 'LY'
1385
+ | 'LI'
1386
+ | 'LT'
1387
+ | 'LU'
1388
+ | 'MO'
1389
+ | 'MG'
1390
+ | 'MW'
1391
+ | 'MY'
1392
+ | 'MV'
1393
+ | 'ML'
1394
+ | 'MT'
1395
+ | 'MH'
1396
+ | 'MQ'
1397
+ | 'MR'
1398
+ | 'MU'
1399
+ | 'YT'
1400
+ | 'MX'
1401
+ | 'FM'
1402
+ | 'MD'
1403
+ | 'MC'
1404
+ | 'MN'
1405
+ | 'MS'
1406
+ | 'MA'
1407
+ | 'MZ'
1408
+ | 'MM'
1409
+ | 'NA'
1410
+ | 'NR'
1411
+ | 'NP'
1412
+ | 'NL'
1413
+ | 'NC'
1414
+ | 'NZ'
1415
+ | 'NI'
1416
+ | 'NE'
1417
+ | 'NG'
1418
+ | 'NU'
1419
+ | 'NF'
1420
+ | 'MP'
1421
+ | 'MK'
1422
+ | 'NO'
1423
+ | 'OM'
1424
+ | 'PK'
1425
+ | 'PW'
1426
+ | 'PS'
1427
+ | 'PA'
1428
+ | 'PG'
1429
+ | 'PY'
1430
+ | 'PE'
1431
+ | 'PH'
1432
+ | 'PN'
1433
+ | 'PL'
1434
+ | 'PT'
1435
+ | 'PR'
1436
+ | 'QA'
1437
+ | 'RE'
1438
+ | 'RO'
1439
+ | 'RU'
1440
+ | 'RW'
1441
+ | 'SH'
1442
+ | 'KN'
1443
+ | 'LC'
1444
+ | 'PM'
1445
+ | 'VC'
1446
+ | 'WS'
1447
+ | 'SM'
1448
+ | 'ST'
1449
+ | 'SA'
1450
+ | 'SN'
1451
+ | 'SC'
1452
+ | 'SL'
1453
+ | 'SG'
1454
+ | 'SK'
1455
+ | 'SI'
1456
+ | 'SB'
1457
+ | 'SO'
1458
+ | 'ZA'
1459
+ | 'GS'
1460
+ | 'ES'
1461
+ | 'LK'
1462
+ | 'SD'
1463
+ | 'SR'
1464
+ | 'SJ'
1465
+ | 'SZ'
1466
+ | 'SE'
1467
+ | 'CH'
1468
+ | 'SY'
1469
+ | 'TW'
1470
+ | 'TJ'
1471
+ | 'TZ'
1472
+ | 'TH'
1473
+ | 'TL'
1474
+ | 'TG'
1475
+ | 'TK'
1476
+ | 'TO'
1477
+ | 'TT'
1478
+ | 'TN'
1479
+ | 'TR'
1480
+ | 'TM'
1481
+ | 'TC'
1482
+ | 'TV'
1483
+ | 'UG'
1484
+ | 'UA'
1485
+ | 'AE'
1486
+ | 'GB'
1487
+ | 'US'
1488
+ | 'UM'
1489
+ | 'UY'
1490
+ | 'UZ'
1491
+ | 'VU'
1492
+ | 'VE'
1493
+ | 'VN'
1494
+ | 'VG'
1495
+ | 'VI'
1496
+ | 'WF'
1497
+ | 'EH'
1498
+ | 'YE'
1499
+ | 'ZM'
1500
+ | 'ZW'
1501
+ | 'AX'
1502
+ | 'BQ'
1503
+ | 'CW'
1504
+ | 'GG'
1505
+ | 'IM'
1506
+ | 'JE'
1507
+ | 'ME'
1508
+ | 'BL'
1509
+ | 'MF'
1510
+ | 'RS'
1511
+ | 'SX'
1512
+ | 'SS'
1513
+ | 'XK';
1514
+
1515
+ /**
1516
+ * The search query. Banks with names matching the query are returned. If the
1517
+ * string is empty or undefined, a list of default banks is returned.
1518
+ */
1519
+ search?: string;
1520
+
1521
+ /**
1522
+ * The internal checkout session id. For internal use only.
1523
+ */
1524
+ sessionId?: string;
1525
+ }
1526
+
1527
+ export declare namespace Banks {
1528
+ export {
1529
+ type BankRetrieveResponse as BankRetrieveResponse,
1530
+ type BankListResponse as BankListResponse,
1531
+ type BankSearchResponse as BankSearchResponse,
1532
+ type BankRetrieveParams as BankRetrieveParams,
1533
+ type BankListParams as BankListParams,
1534
+ type BankSearchParams as BankSearchParams,
1535
+ };
1536
+ }