@@ -7,7 +7,6 @@ export interface AccountFieldSpec {
77export interface AccountTypeSpec {
88 accountType : string ;
99 fields : AccountFieldSpec [ ] ;
10- paymentRails ?: string [ ] ;
1110 beneficiaryRequired : boolean ;
1211}
1312
@@ -18,7 +17,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
1817 { name : 'accountNumber' , example : '123456789' } ,
1918 { name : 'routingNumber' , example : '021000021' } ,
2019 ] ,
21- paymentRails : [ 'ACH' , 'WIRE' , 'RTP' , 'FEDNOW' ] ,
2220 beneficiaryRequired : true ,
2321 } ,
2422 EUR_ACCOUNT : {
@@ -27,7 +25,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
2725 { name : 'iban' , example : 'DE89370400440532013000' } ,
2826 { name : 'swiftBic' , example : 'DEUTDEFF' , description : 'Optional' } ,
2927 ] ,
30- paymentRails : [ 'SEPA' , 'SEPA_INSTANT' ] ,
3128 beneficiaryRequired : true ,
3229 } ,
3330 GBP_ACCOUNT : {
@@ -36,7 +33,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
3633 { name : 'sortCode' , example : '20-00-00' } ,
3734 { name : 'accountNumber' , example : '12345678' } ,
3835 ] ,
39- paymentRails : [ 'FASTER_PAYMENTS' ] ,
4036 beneficiaryRequired : true ,
4137 } ,
4238 BRL_ACCOUNT : {
@@ -46,23 +42,20 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
4642 { name : 'pixKeyType' , example : 'PHONE' , description : 'CPF, CNPJ, EMAIL, PHONE, or RANDOM' } ,
4743 { name : 'taxId' , example : '12345678901' } ,
4844 ] ,
49- paymentRails : [ 'PIX' ] ,
5045 beneficiaryRequired : true ,
5146 } ,
5247 MXN_ACCOUNT : {
5348 accountType : 'MXN_ACCOUNT' ,
5449 fields : [
5550 { name : 'clabeNumber' , example : '123456789012345678' } ,
5651 ] ,
57- paymentRails : [ 'SPEI' ] ,
5852 beneficiaryRequired : true ,
5953 } ,
6054 INR_ACCOUNT : {
6155 accountType : 'INR_ACCOUNT' ,
6256 fields : [
6357 { name : 'vpa' , example : 'customer@okbank' } ,
6458 ] ,
65- paymentRails : [ 'UPI' ] ,
6659 beneficiaryRequired : true ,
6760 } ,
6861 DKK_ACCOUNT : {
@@ -71,7 +64,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
7164 { name : 'iban' , example : 'DK5000400440116243' } ,
7265 { name : 'swiftBic' , example : 'NDEADKKK' , description : 'Optional' } ,
7366 ] ,
74- paymentRails : [ 'SEPA' , 'SEPA_INSTANT' ] ,
7567 beneficiaryRequired : true ,
7668 } ,
7769 NGN_ACCOUNT : {
@@ -80,7 +72,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
8072 { name : 'accountNumber' , example : '0123456789' } ,
8173 { name : 'bankName' , example : 'First Bank of Nigeria' } ,
8274 ] ,
83- paymentRails : [ 'BANK_TRANSFER' ] ,
8475 beneficiaryRequired : true ,
8576 } ,
8677 CAD_ACCOUNT : {
@@ -90,7 +81,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
9081 { name : 'branchCode' , example : '00012' } ,
9182 { name : 'accountNumber' , example : '1234567' } ,
9283 ] ,
93- paymentRails : [ 'BANK_TRANSFER' ] ,
9484 beneficiaryRequired : true ,
9585 } ,
9686 PHP_ACCOUNT : {
@@ -99,7 +89,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
9989 { name : 'bankName' , example : 'BDO Unibank' } ,
10090 { name : 'accountNumber' , example : '001234567890' } ,
10191 ] ,
102- paymentRails : [ 'BANK_TRANSFER' ] ,
10392 beneficiaryRequired : true ,
10493 } ,
10594 SGD_ACCOUNT : {
@@ -109,7 +98,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
10998 { name : 'swiftCode' , example : 'DBSSSGSG' } ,
11099 { name : 'accountNumber' , example : '0123456789' } ,
111100 ] ,
112- paymentRails : [ 'PAYNOW' , 'FAST' , 'BANK_TRANSFER' ] ,
113101 beneficiaryRequired : true ,
114102 } ,
115103 HKD_ACCOUNT : {
@@ -119,7 +107,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
119107 { name : 'accountNumber' , example : '123456789012' } ,
120108 { name : 'swiftCode' , example : 'HSBCHKHHHKH' } ,
121109 ] ,
122- paymentRails : [ 'BANK_TRANSFER' ] ,
123110 beneficiaryRequired : true ,
124111 } ,
125112 IDR_ACCOUNT : {
@@ -130,7 +117,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
130117 { name : 'swiftCode' , example : 'CENAIDJA' } ,
131118 { name : 'phoneNumber' , example : '+6281234567890' } ,
132119 ] ,
133- paymentRails : [ 'BANK_TRANSFER' ] ,
134120 beneficiaryRequired : true ,
135121 } ,
136122 KES_ACCOUNT : {
@@ -139,7 +125,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
139125 { name : 'phoneNumber' , example : '+254712345678' } ,
140126 { name : 'provider' , example : 'M-PESA' , description : 'Mobile money provider' } ,
141127 ] ,
142- paymentRails : [ 'MOBILE_MONEY' ] ,
143128 beneficiaryRequired : true ,
144129 } ,
145130 MYR_ACCOUNT : {
@@ -149,7 +134,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
149134 { name : 'accountNumber' , example : '1234567890' } ,
150135 { name : 'swiftCode' , example : 'MABORUMMYYY' } ,
151136 ] ,
152- paymentRails : [ 'BANK_TRANSFER' ] ,
153137 beneficiaryRequired : true ,
154138 } ,
155139 RWF_ACCOUNT : {
@@ -158,7 +142,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
158142 { name : 'phoneNumber' , example : '+250781234567' } ,
159143 { name : 'provider' , example : 'MTN' , description : 'MTN or AIRTEL' } ,
160144 ] ,
161- paymentRails : [ 'MOBILE_MONEY' ] ,
162145 beneficiaryRequired : true ,
163146 } ,
164147 THB_ACCOUNT : {
@@ -168,7 +151,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
168151 { name : 'accountNumber' , example : '1234567890' } ,
169152 { name : 'swiftCode' , example : 'BKKBTHBK' } ,
170153 ] ,
171- paymentRails : [ 'BANK_TRANSFER' ] ,
172154 beneficiaryRequired : true ,
173155 } ,
174156 TZS_ACCOUNT : {
@@ -177,7 +159,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
177159 { name : 'phoneNumber' , example : '+255712345678' } ,
178160 { name : 'provider' , example : 'VODACOM' , description : 'AIRTEL or VODACOM' } ,
179161 ] ,
180- paymentRails : [ 'MOBILE_MONEY' ] ,
181162 beneficiaryRequired : true ,
182163 } ,
183164 VND_ACCOUNT : {
@@ -187,7 +168,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
187168 { name : 'accountNumber' , example : '1234567890' } ,
188169 { name : 'swiftCode' , example : 'BFTVVNVX' } ,
189170 ] ,
190- paymentRails : [ 'BANK_TRANSFER' ] ,
191171 beneficiaryRequired : true ,
192172 } ,
193173 ZAR_ACCOUNT : {
@@ -196,7 +176,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
196176 { name : 'accountNumber' , example : '1234567890' } ,
197177 { name : 'bankName' , example : 'Standard Bank' } ,
198178 ] ,
199- paymentRails : [ 'BANK_TRANSFER' ] ,
200179 beneficiaryRequired : true ,
201180 } ,
202181 ZMW_ACCOUNT : {
@@ -205,7 +184,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
205184 { name : 'phoneNumber' , example : '+260971234567' } ,
206185 { name : 'provider' , example : 'MTN' , description : 'TNM, AIRTEL, ZAMTEL, or MTN' } ,
207186 ] ,
208- paymentRails : [ 'MOBILE_MONEY' ] ,
209187 beneficiaryRequired : true ,
210188 } ,
211189 MWK_ACCOUNT : {
@@ -214,7 +192,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
214192 { name : 'phoneNumber' , example : '+265991234567' } ,
215193 { name : 'provider' , example : 'AIRTEL' , description : 'Mobile money provider' } ,
216194 ] ,
217- paymentRails : [ 'MOBILE_MONEY' ] ,
218195 beneficiaryRequired : true ,
219196 } ,
220197 UGX_ACCOUNT : {
@@ -223,7 +200,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
223200 { name : 'phoneNumber' , example : '+256771234567' } ,
224201 { name : 'provider' , example : 'MTN' , description : 'Mobile money provider' } ,
225202 ] ,
226- paymentRails : [ 'MOBILE_MONEY' ] ,
227203 beneficiaryRequired : true ,
228204 } ,
229205 XOF_ACCOUNT : {
@@ -232,7 +208,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
232208 { name : 'phoneNumber' , example : '+221771234567' } ,
233209 { name : 'provider' , example : 'ORANGE' , description : 'Mobile money provider' } ,
234210 ] ,
235- paymentRails : [ 'MOBILE_MONEY' ] ,
236211 beneficiaryRequired : true ,
237212 } ,
238213 SPARK_WALLET : {
@@ -290,7 +265,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
290265 { name : 'iban' , example : 'AE070331234567890123456' , description : 'UAE IBAN (23 characters)' } ,
291266 { name : 'swiftCode' , example : 'EBILAEAD' , description : 'Optional' } ,
292267 ] ,
293- paymentRails : [ 'BANK_TRANSFER' ] ,
294268 beneficiaryRequired : true ,
295269 } ,
296270 BWP_ACCOUNT : {
@@ -299,7 +273,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
299273 { name : 'phoneNumber' , example : '+26771234567' } ,
300274 { name : 'provider' , example : 'Orange' , description : 'Mobile money provider' } ,
301275 ] ,
302- paymentRails : [ 'MOBILE_MONEY' ] ,
303276 beneficiaryRequired : true ,
304277 } ,
305278 XAF_ACCOUNT : {
@@ -309,7 +282,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
309282 { name : 'provider' , example : 'MTN' , description : 'Mobile money provider' } ,
310283 { name : 'region' , example : 'CM' , description : 'Country code (CM or CG)' } ,
311284 ] ,
312- paymentRails : [ 'MOBILE_MONEY' ] ,
313285 beneficiaryRequired : true ,
314286 } ,
315287 BDT_ACCOUNT : {
@@ -320,7 +292,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
320292 { name : 'phoneNumber' , example : '+8801712345678' } ,
321293 { name : 'swiftCode' , example : 'BABORUMMYYY' , description : 'Optional' } ,
322294 ] ,
323- paymentRails : [ 'BANK_TRANSFER' , 'MOBILE_MONEY' ] ,
324295 beneficiaryRequired : true ,
325296 } ,
326297 COP_ACCOUNT : {
@@ -330,7 +301,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
330301 { name : 'bankAccountType' , example : 'SAVINGS' , description : 'CHECKING or SAVINGS' } ,
331302 { name : 'phoneNumber' , example : '+573001234567' } ,
332303 ] ,
333- paymentRails : [ 'BANK_TRANSFER' , 'MOBILE_MONEY' ] ,
334304 beneficiaryRequired : true ,
335305 } ,
336306 EGP_ACCOUNT : {
@@ -340,7 +310,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
340310 { name : 'iban' , example : 'EG380019000500000000263180002' , description : 'Optional' } ,
341311 { name : 'swiftCode' , example : 'NBEGEGCX' , description : 'Optional' } ,
342312 ] ,
343- paymentRails : [ 'BANK_TRANSFER' ] ,
344313 beneficiaryRequired : true ,
345314 } ,
346315 GHS_ACCOUNT : {
@@ -349,7 +318,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
349318 { name : 'accountNumber' , example : '1234567890' } ,
350319 { name : 'phoneNumber' , example : '+233241234567' } ,
351320 ] ,
352- paymentRails : [ 'BANK_TRANSFER' , 'MOBILE_MONEY' ] ,
353321 beneficiaryRequired : true ,
354322 } ,
355323 GTQ_ACCOUNT : {
@@ -358,15 +326,13 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
358326 { name : 'accountNumber' , example : '1234567890' } ,
359327 { name : 'phoneNumber' , example : '+50212345678' } ,
360328 ] ,
361- paymentRails : [ 'BANK_TRANSFER' , 'MOBILE_MONEY' ] ,
362329 beneficiaryRequired : true ,
363330 } ,
364331 HTG_ACCOUNT : {
365332 accountType : 'HTG_ACCOUNT' ,
366333 fields : [
367334 { name : 'phoneNumber' , example : '+50934567890' } ,
368335 ] ,
369- paymentRails : [ 'MOBILE_MONEY' ] ,
370336 beneficiaryRequired : true ,
371337 } ,
372338 JMD_ACCOUNT : {
@@ -376,7 +342,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
376342 { name : 'branchCode' , example : '12345' , description : '5-digit branch code' } ,
377343 { name : 'bankAccountType' , example : 'CHECKING' , description : 'CHECKING or SAVINGS' } ,
378344 ] ,
379- paymentRails : [ 'BANK_TRANSFER' ] ,
380345 beneficiaryRequired : true ,
381346 } ,
382347 PKR_ACCOUNT : {
@@ -386,7 +351,6 @@ export const accountTypeSpecs: Record<string, AccountTypeSpec> = {
386351 { name : 'phoneNumber' , example : '+923001234567' } ,
387352 { name : 'iban' , example : 'PK36SCBL0000001123456702' , description : 'Optional' } ,
388353 ] ,
389- paymentRails : [ 'BANK_TRANSFER' , 'MOBILE_MONEY' ] ,
390354 beneficiaryRequired : true ,
391355 } ,
392356} ;
0 commit comments