@getivy/node-sdk 1.4.0 → 1.6.0

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 (85) hide show
  1. package/CHANGELOG.md +96 -0
  2. package/LICENSE +1 -1
  3. package/core.d.ts +1 -1
  4. package/core.d.ts.map +1 -1
  5. package/core.js +10 -15
  6. package/core.js.map +1 -1
  7. package/core.mjs +10 -15
  8. package/core.mjs.map +1 -1
  9. package/index.d.mts +7 -4
  10. package/index.d.ts +7 -4
  11. package/index.d.ts.map +1 -1
  12. package/index.js +4 -0
  13. package/index.js.map +1 -1
  14. package/index.mjs +4 -0
  15. package/index.mjs.map +1 -1
  16. package/internal/utils/query.d.ts +5 -0
  17. package/internal/utils/query.d.ts.map +1 -0
  18. package/internal/utils/query.js +24 -0
  19. package/internal/utils/query.js.map +1 -0
  20. package/internal/utils/query.mjs +20 -0
  21. package/internal/utils/query.mjs.map +1 -0
  22. package/package.json +1 -1
  23. package/resources/balance.d.ts +9 -3
  24. package/resources/balance.d.ts.map +1 -1
  25. package/resources/checkoutsession.d.ts +80 -121
  26. package/resources/checkoutsession.d.ts.map +1 -1
  27. package/resources/data/accounts.d.ts +12 -1
  28. package/resources/data/accounts.d.ts.map +1 -1
  29. package/resources/data/transactions.d.ts +19 -133
  30. package/resources/data/transactions.d.ts.map +1 -1
  31. package/resources/deposits.d.ts +32 -6
  32. package/resources/deposits.d.ts.map +1 -1
  33. package/resources/fx.d.ts +70 -6
  34. package/resources/fx.d.ts.map +1 -1
  35. package/resources/fx.js +6 -0
  36. package/resources/fx.js.map +1 -1
  37. package/resources/fx.mjs +6 -0
  38. package/resources/fx.mjs.map +1 -1
  39. package/resources/index.d.ts +3 -2
  40. package/resources/index.d.ts.map +1 -1
  41. package/resources/index.js +3 -1
  42. package/resources/index.js.map +1 -1
  43. package/resources/index.mjs +1 -0
  44. package/resources/index.mjs.map +1 -1
  45. package/resources/orders.d.ts +147 -141
  46. package/resources/orders.d.ts.map +1 -1
  47. package/resources/payee.d.ts +50 -0
  48. package/resources/payee.d.ts.map +1 -0
  49. package/resources/payee.js +30 -0
  50. package/resources/payee.js.map +1 -0
  51. package/resources/payee.mjs +26 -0
  52. package/resources/payee.mjs.map +1 -0
  53. package/resources/payouts.d.ts +124 -18
  54. package/resources/payouts.d.ts.map +1 -1
  55. package/resources/refunds.d.ts +3 -9
  56. package/resources/refunds.d.ts.map +1 -1
  57. package/resources/refunds.js.map +1 -1
  58. package/resources/refunds.mjs.map +1 -1
  59. package/resources/returns.d.ts +2 -2
  60. package/resources/returns.d.ts.map +1 -1
  61. package/resources/transactions.d.ts +25 -2
  62. package/resources/transactions.d.ts.map +1 -1
  63. package/resources/webhook/subscription.d.ts +5 -5
  64. package/resources/webhook/subscription.d.ts.map +1 -1
  65. package/src/core.ts +13 -19
  66. package/src/index.ts +14 -2
  67. package/src/internal/utils/query.ts +23 -0
  68. package/src/resources/balance.ts +10 -3
  69. package/src/resources/checkoutsession.ts +360 -178
  70. package/src/resources/data/accounts.ts +15 -1
  71. package/src/resources/data/transactions.ts +19 -175
  72. package/src/resources/deposits.ts +56 -6
  73. package/src/resources/fx.ts +83 -5
  74. package/src/resources/index.ts +3 -1
  75. package/src/resources/orders.ts +195 -189
  76. package/src/resources/payee.ts +63 -0
  77. package/src/resources/payouts.ts +208 -18
  78. package/src/resources/refunds.ts +2 -29
  79. package/src/resources/returns.ts +2 -2
  80. package/src/resources/transactions.ts +38 -2
  81. package/src/resources/webhook/subscription.ts +15 -20
  82. package/src/version.ts +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
  85. package/version.mjs +1 -1
@@ -346,8 +346,6 @@ export interface CheckoutsessionCreateResponse {
346
346
 
347
347
  locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'fi' | 'it' | 'pt' | 'sv' | 'pl' | 'sk' | 'lt';
348
348
 
349
- mandate?: CheckoutsessionCreateResponse.Mandate;
350
-
351
349
  market?:
352
350
  | 'AF'
353
351
  | 'AL'
@@ -610,7 +608,7 @@ export interface CheckoutsessionCreateResponse {
610
608
 
611
609
  plugin?: string;
612
610
 
613
- prefill?: unknown;
611
+ prefill?: CheckoutsessionCreateResponse.Prefill;
614
612
 
615
613
  quoteCallbackUrl?: string;
616
614
 
@@ -952,17 +950,17 @@ export namespace CheckoutsessionCreateResponse {
952
950
  | 'SS'
953
951
  | 'XK';
954
952
 
955
- firstName: string;
953
+ line1: string;
956
954
 
957
- lastName: string;
955
+ zipCode: string;
958
956
 
959
- line1: string;
957
+ firstName?: string;
960
958
 
961
- line2: string;
959
+ lastName?: string;
962
960
 
963
- region: string;
961
+ line2?: string;
964
962
 
965
- zipCode: string;
963
+ region?: string;
966
964
  }
967
965
  }
968
966
 
@@ -1235,49 +1233,25 @@ export namespace CheckoutsessionCreateResponse {
1235
1233
  | 'SS'
1236
1234
  | 'XK';
1237
1235
 
1238
- firstName: string;
1236
+ line1: string;
1239
1237
 
1240
- lastName: string;
1238
+ zipCode: string;
1241
1239
 
1242
- line1: string;
1240
+ firstName?: string;
1243
1241
 
1244
- line2: string;
1242
+ lastName?: string;
1245
1243
 
1246
- region: string;
1244
+ line2?: string;
1247
1245
 
1248
- zipCode: string;
1246
+ region?: string;
1249
1247
  }
1250
1248
 
1251
1249
  export interface Customer {
1252
1250
  id: string;
1253
1251
  }
1254
1252
 
1255
- export interface Mandate {
1256
- accountHolderName?: string;
1257
-
1258
- additionalDisplayInformation?: Mandate.AdditionalDisplayInformation;
1259
-
1260
- referenceId?: string;
1261
-
1262
- setup?: boolean;
1263
-
1264
- userNotificationEmail?: string;
1265
- }
1266
-
1267
- export namespace Mandate {
1268
- export interface AdditionalDisplayInformation {
1269
- cadence?: 'BI_WEEKLY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUAL' | 'ANNUAL' | 'ON_DEMAND';
1270
-
1271
- price?: AdditionalDisplayInformation.Price;
1272
- }
1273
-
1274
- export namespace AdditionalDisplayInformation {
1275
- export interface Price {
1276
- amount: number;
1277
-
1278
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
1279
- }
1280
- }
1253
+ export interface Prefill {
1254
+ bankId: string;
1281
1255
  }
1282
1256
 
1283
1257
  export interface Required {
@@ -1539,17 +1513,17 @@ export namespace CheckoutsessionCreateResponse {
1539
1513
  | 'SS'
1540
1514
  | 'XK';
1541
1515
 
1542
- firstName: string;
1516
+ line1: string;
1543
1517
 
1544
- lastName: string;
1518
+ zipCode: string;
1545
1519
 
1546
- line1: string;
1520
+ firstName?: string;
1547
1521
 
1548
- line2: string;
1522
+ lastName?: string;
1549
1523
 
1550
- region: string;
1524
+ line2?: string;
1551
1525
 
1552
- zipCode: string;
1526
+ region?: string;
1553
1527
  }
1554
1528
  }
1555
1529
 
@@ -1861,8 +1835,6 @@ export interface CheckoutsessionRetrieveResponse {
1861
1835
 
1862
1836
  locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'fi' | 'it' | 'pt' | 'sv' | 'pl' | 'sk' | 'lt';
1863
1837
 
1864
- mandate?: CheckoutsessionRetrieveResponse.Mandate;
1865
-
1866
1838
  market?:
1867
1839
  | 'AF'
1868
1840
  | 'AL'
@@ -2125,7 +2097,7 @@ export interface CheckoutsessionRetrieveResponse {
2125
2097
 
2126
2098
  plugin?: string;
2127
2099
 
2128
- prefill?: unknown;
2100
+ prefill?: CheckoutsessionRetrieveResponse.Prefill;
2129
2101
 
2130
2102
  quoteCallbackUrl?: string;
2131
2103
 
@@ -2467,17 +2439,17 @@ export namespace CheckoutsessionRetrieveResponse {
2467
2439
  | 'SS'
2468
2440
  | 'XK';
2469
2441
 
2470
- firstName: string;
2442
+ line1: string;
2471
2443
 
2472
- lastName: string;
2444
+ zipCode: string;
2473
2445
 
2474
- line1: string;
2446
+ firstName?: string;
2475
2447
 
2476
- line2: string;
2448
+ lastName?: string;
2477
2449
 
2478
- region: string;
2450
+ line2?: string;
2479
2451
 
2480
- zipCode: string;
2452
+ region?: string;
2481
2453
  }
2482
2454
  }
2483
2455
 
@@ -2750,49 +2722,25 @@ export namespace CheckoutsessionRetrieveResponse {
2750
2722
  | 'SS'
2751
2723
  | 'XK';
2752
2724
 
2753
- firstName: string;
2725
+ line1: string;
2754
2726
 
2755
- lastName: string;
2727
+ zipCode: string;
2756
2728
 
2757
- line1: string;
2729
+ firstName?: string;
2758
2730
 
2759
- line2: string;
2731
+ lastName?: string;
2760
2732
 
2761
- region: string;
2733
+ line2?: string;
2762
2734
 
2763
- zipCode: string;
2735
+ region?: string;
2764
2736
  }
2765
2737
 
2766
2738
  export interface Customer {
2767
2739
  id: string;
2768
2740
  }
2769
2741
 
2770
- export interface Mandate {
2771
- accountHolderName?: string;
2772
-
2773
- additionalDisplayInformation?: Mandate.AdditionalDisplayInformation;
2774
-
2775
- referenceId?: string;
2776
-
2777
- setup?: boolean;
2778
-
2779
- userNotificationEmail?: string;
2780
- }
2781
-
2782
- export namespace Mandate {
2783
- export interface AdditionalDisplayInformation {
2784
- cadence?: 'BI_WEEKLY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUAL' | 'ANNUAL' | 'ON_DEMAND';
2785
-
2786
- price?: AdditionalDisplayInformation.Price;
2787
- }
2788
-
2789
- export namespace AdditionalDisplayInformation {
2790
- export interface Price {
2791
- amount: number;
2792
-
2793
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
2794
- }
2795
- }
2742
+ export interface Prefill {
2743
+ bankId: string;
2796
2744
  }
2797
2745
 
2798
2746
  export interface Required {
@@ -3054,17 +3002,17 @@ export namespace CheckoutsessionRetrieveResponse {
3054
3002
  | 'SS'
3055
3003
  | 'XK';
3056
3004
 
3057
- firstName: string;
3005
+ line1: string;
3058
3006
 
3059
- lastName: string;
3007
+ zipCode: string;
3060
3008
 
3061
- line1: string;
3009
+ firstName?: string;
3062
3010
 
3063
- line2: string;
3011
+ lastName?: string;
3064
3012
 
3065
- region: string;
3013
+ line2?: string;
3066
3014
 
3067
- zipCode: string;
3015
+ region?: string;
3068
3016
  }
3069
3017
  }
3070
3018
 
@@ -3376,8 +3324,6 @@ export interface CheckoutsessionExpireResponse {
3376
3324
 
3377
3325
  locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'fi' | 'it' | 'pt' | 'sv' | 'pl' | 'sk' | 'lt';
3378
3326
 
3379
- mandate?: CheckoutsessionExpireResponse.Mandate;
3380
-
3381
3327
  market?:
3382
3328
  | 'AF'
3383
3329
  | 'AL'
@@ -3640,7 +3586,7 @@ export interface CheckoutsessionExpireResponse {
3640
3586
 
3641
3587
  plugin?: string;
3642
3588
 
3643
- prefill?: unknown;
3589
+ prefill?: CheckoutsessionExpireResponse.Prefill;
3644
3590
 
3645
3591
  quoteCallbackUrl?: string;
3646
3592
 
@@ -3982,17 +3928,17 @@ export namespace CheckoutsessionExpireResponse {
3982
3928
  | 'SS'
3983
3929
  | 'XK';
3984
3930
 
3985
- firstName: string;
3931
+ line1: string;
3986
3932
 
3987
- lastName: string;
3933
+ zipCode: string;
3988
3934
 
3989
- line1: string;
3935
+ firstName?: string;
3990
3936
 
3991
- line2: string;
3937
+ lastName?: string;
3992
3938
 
3993
- region: string;
3939
+ line2?: string;
3994
3940
 
3995
- zipCode: string;
3941
+ region?: string;
3996
3942
  }
3997
3943
  }
3998
3944
 
@@ -4265,49 +4211,25 @@ export namespace CheckoutsessionExpireResponse {
4265
4211
  | 'SS'
4266
4212
  | 'XK';
4267
4213
 
4268
- firstName: string;
4214
+ line1: string;
4269
4215
 
4270
- lastName: string;
4216
+ zipCode: string;
4271
4217
 
4272
- line1: string;
4218
+ firstName?: string;
4273
4219
 
4274
- line2: string;
4220
+ lastName?: string;
4275
4221
 
4276
- region: string;
4222
+ line2?: string;
4277
4223
 
4278
- zipCode: string;
4224
+ region?: string;
4279
4225
  }
4280
4226
 
4281
4227
  export interface Customer {
4282
4228
  id: string;
4283
4229
  }
4284
4230
 
4285
- export interface Mandate {
4286
- accountHolderName?: string;
4287
-
4288
- additionalDisplayInformation?: Mandate.AdditionalDisplayInformation;
4289
-
4290
- referenceId?: string;
4291
-
4292
- setup?: boolean;
4293
-
4294
- userNotificationEmail?: string;
4295
- }
4296
-
4297
- export namespace Mandate {
4298
- export interface AdditionalDisplayInformation {
4299
- cadence?: 'BI_WEEKLY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUAL' | 'ANNUAL' | 'ON_DEMAND';
4300
-
4301
- price?: AdditionalDisplayInformation.Price;
4302
- }
4303
-
4304
- export namespace AdditionalDisplayInformation {
4305
- export interface Price {
4306
- amount: number;
4307
-
4308
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
4309
- }
4310
- }
4231
+ export interface Prefill {
4232
+ bankId: string;
4311
4233
  }
4312
4234
 
4313
4235
  export interface Required {
@@ -4569,17 +4491,17 @@ export namespace CheckoutsessionExpireResponse {
4569
4491
  | 'SS'
4570
4492
  | 'XK';
4571
4493
 
4572
- firstName: string;
4494
+ line1: string;
4573
4495
 
4574
- lastName: string;
4496
+ zipCode: string;
4575
4497
 
4576
- line1: string;
4498
+ firstName?: string;
4577
4499
 
4578
- line2: string;
4500
+ lastName?: string;
4579
4501
 
4580
- region: string;
4502
+ line2?: string;
4581
4503
 
4582
- zipCode: string;
4504
+ region?: string;
4583
4505
  }
4584
4506
  }
4585
4507
 
@@ -4649,8 +4571,6 @@ export interface CheckoutsessionCreateParams {
4649
4571
 
4650
4572
  locale?: 'de' | 'nl' | 'en' | 'fr' | 'es' | 'fi' | 'it' | 'pt' | 'sv' | 'pl' | 'sk' | 'lt';
4651
4573
 
4652
- mandate?: CheckoutsessionCreateParams.Mandate;
4653
-
4654
4574
  /**
4655
4575
  * The market of the checkoutSession. Will show the market banks connected with
4656
4576
  * this market
@@ -5219,17 +5139,17 @@ export namespace CheckoutsessionCreateParams {
5219
5139
  | 'SS'
5220
5140
  | 'XK';
5221
5141
 
5222
- firstName: string;
5142
+ line1: string;
5223
5143
 
5224
- lastName: string;
5144
+ zipCode: string;
5225
5145
 
5226
- line1: string;
5146
+ firstName?: string;
5227
5147
 
5228
- line2: string;
5148
+ lastName?: string;
5229
5149
 
5230
- region: string;
5150
+ line2?: string;
5231
5151
 
5232
- zipCode: string;
5152
+ region?: string;
5233
5153
  }
5234
5154
 
5235
5155
  export interface Customer {
@@ -5295,34 +5215,6 @@ export namespace CheckoutsessionCreateParams {
5295
5215
  referenceId?: string;
5296
5216
  }
5297
5217
 
5298
- export interface Mandate {
5299
- accountHolderName?: string;
5300
-
5301
- additionalDisplayInformation?: Mandate.AdditionalDisplayInformation;
5302
-
5303
- referenceId?: string;
5304
-
5305
- setup?: boolean;
5306
-
5307
- userNotificationEmail?: string;
5308
- }
5309
-
5310
- export namespace Mandate {
5311
- export interface AdditionalDisplayInformation {
5312
- cadence?: 'BI_WEEKLY' | 'WEEKLY' | 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUAL' | 'ANNUAL' | 'ON_DEMAND';
5313
-
5314
- price?: AdditionalDisplayInformation.Price;
5315
- }
5316
-
5317
- export namespace AdditionalDisplayInformation {
5318
- export interface Price {
5319
- amount: number;
5320
-
5321
- currency: 'EUR' | 'GBP' | 'PLN' | 'SEK' | 'DKK';
5322
- }
5323
- }
5324
- }
5325
-
5326
5218
  /**
5327
5219
  * The values specified here will be pre-filled in the Ivy Checkout.
5328
5220
  */
@@ -5337,12 +5229,288 @@ export namespace CheckoutsessionCreateParams {
5337
5229
  export interface SettlementDestination {
5338
5230
  reference: string;
5339
5231
 
5232
+ /**
5233
+ * Physical address of the bank that holds the settlement account. Must match the
5234
+ * address of the financial institution associated with the provided account
5235
+ * details.
5236
+ */
5237
+ bankAddress?: SettlementDestination.BankAddress;
5238
+
5340
5239
  financialAddress?: SettlementDestination.FinancialAddress;
5341
5240
  }
5342
5241
 
5343
5242
  export namespace SettlementDestination {
5243
+ /**
5244
+ * Physical address of the bank that holds the settlement account. Must match the
5245
+ * address of the financial institution associated with the provided account
5246
+ * details.
5247
+ */
5248
+ export interface BankAddress {
5249
+ city: string;
5250
+
5251
+ country:
5252
+ | 'AF'
5253
+ | 'AL'
5254
+ | 'DZ'
5255
+ | 'AS'
5256
+ | 'AD'
5257
+ | 'AO'
5258
+ | 'AI'
5259
+ | 'AQ'
5260
+ | 'AG'
5261
+ | 'AR'
5262
+ | 'AM'
5263
+ | 'AW'
5264
+ | 'AU'
5265
+ | 'AT'
5266
+ | 'AZ'
5267
+ | 'BS'
5268
+ | 'BH'
5269
+ | 'BD'
5270
+ | 'BB'
5271
+ | 'BY'
5272
+ | 'BE'
5273
+ | 'BZ'
5274
+ | 'BJ'
5275
+ | 'BM'
5276
+ | 'BT'
5277
+ | 'BO'
5278
+ | 'BA'
5279
+ | 'BW'
5280
+ | 'BV'
5281
+ | 'BR'
5282
+ | 'IO'
5283
+ | 'BN'
5284
+ | 'BG'
5285
+ | 'BF'
5286
+ | 'BI'
5287
+ | 'KH'
5288
+ | 'CM'
5289
+ | 'CA'
5290
+ | 'CV'
5291
+ | 'KY'
5292
+ | 'CF'
5293
+ | 'TD'
5294
+ | 'CL'
5295
+ | 'CN'
5296
+ | 'CX'
5297
+ | 'CC'
5298
+ | 'CO'
5299
+ | 'KM'
5300
+ | 'CG'
5301
+ | 'CD'
5302
+ | 'CK'
5303
+ | 'CR'
5304
+ | 'CI'
5305
+ | 'HR'
5306
+ | 'CU'
5307
+ | 'CY'
5308
+ | 'CZ'
5309
+ | 'DK'
5310
+ | 'DJ'
5311
+ | 'DM'
5312
+ | 'DO'
5313
+ | 'EC'
5314
+ | 'EG'
5315
+ | 'SV'
5316
+ | 'GQ'
5317
+ | 'ER'
5318
+ | 'EE'
5319
+ | 'ET'
5320
+ | 'FK'
5321
+ | 'FO'
5322
+ | 'FJ'
5323
+ | 'FI'
5324
+ | 'FR'
5325
+ | 'GF'
5326
+ | 'PF'
5327
+ | 'TF'
5328
+ | 'GA'
5329
+ | 'GM'
5330
+ | 'GE'
5331
+ | 'DE'
5332
+ | 'GH'
5333
+ | 'GI'
5334
+ | 'GR'
5335
+ | 'GL'
5336
+ | 'GD'
5337
+ | 'GP'
5338
+ | 'GU'
5339
+ | 'GT'
5340
+ | 'GN'
5341
+ | 'GW'
5342
+ | 'GY'
5343
+ | 'HT'
5344
+ | 'HM'
5345
+ | 'VA'
5346
+ | 'HN'
5347
+ | 'HK'
5348
+ | 'HU'
5349
+ | 'IS'
5350
+ | 'IN'
5351
+ | 'ID'
5352
+ | 'IR'
5353
+ | 'IQ'
5354
+ | 'IE'
5355
+ | 'IL'
5356
+ | 'IT'
5357
+ | 'JM'
5358
+ | 'JP'
5359
+ | 'JO'
5360
+ | 'KZ'
5361
+ | 'KE'
5362
+ | 'KI'
5363
+ | 'KP'
5364
+ | 'KR'
5365
+ | 'KW'
5366
+ | 'KG'
5367
+ | 'LA'
5368
+ | 'LV'
5369
+ | 'LB'
5370
+ | 'LS'
5371
+ | 'LR'
5372
+ | 'LY'
5373
+ | 'LI'
5374
+ | 'LT'
5375
+ | 'LU'
5376
+ | 'MO'
5377
+ | 'MG'
5378
+ | 'MW'
5379
+ | 'MY'
5380
+ | 'MV'
5381
+ | 'ML'
5382
+ | 'MT'
5383
+ | 'MH'
5384
+ | 'MQ'
5385
+ | 'MR'
5386
+ | 'MU'
5387
+ | 'YT'
5388
+ | 'MX'
5389
+ | 'FM'
5390
+ | 'MD'
5391
+ | 'MC'
5392
+ | 'MN'
5393
+ | 'MS'
5394
+ | 'MA'
5395
+ | 'MZ'
5396
+ | 'MM'
5397
+ | 'NA'
5398
+ | 'NR'
5399
+ | 'NP'
5400
+ | 'NL'
5401
+ | 'NC'
5402
+ | 'NZ'
5403
+ | 'NI'
5404
+ | 'NE'
5405
+ | 'NG'
5406
+ | 'NU'
5407
+ | 'NF'
5408
+ | 'MP'
5409
+ | 'MK'
5410
+ | 'NO'
5411
+ | 'OM'
5412
+ | 'PK'
5413
+ | 'PW'
5414
+ | 'PS'
5415
+ | 'PA'
5416
+ | 'PG'
5417
+ | 'PY'
5418
+ | 'PE'
5419
+ | 'PH'
5420
+ | 'PN'
5421
+ | 'PL'
5422
+ | 'PT'
5423
+ | 'PR'
5424
+ | 'QA'
5425
+ | 'RE'
5426
+ | 'RO'
5427
+ | 'RU'
5428
+ | 'RW'
5429
+ | 'SH'
5430
+ | 'KN'
5431
+ | 'LC'
5432
+ | 'PM'
5433
+ | 'VC'
5434
+ | 'WS'
5435
+ | 'SM'
5436
+ | 'ST'
5437
+ | 'SA'
5438
+ | 'SN'
5439
+ | 'SC'
5440
+ | 'SL'
5441
+ | 'SG'
5442
+ | 'SK'
5443
+ | 'SI'
5444
+ | 'SB'
5445
+ | 'SO'
5446
+ | 'ZA'
5447
+ | 'GS'
5448
+ | 'ES'
5449
+ | 'LK'
5450
+ | 'SD'
5451
+ | 'SR'
5452
+ | 'SJ'
5453
+ | 'SZ'
5454
+ | 'SE'
5455
+ | 'CH'
5456
+ | 'SY'
5457
+ | 'TW'
5458
+ | 'TJ'
5459
+ | 'TZ'
5460
+ | 'TH'
5461
+ | 'TL'
5462
+ | 'TG'
5463
+ | 'TK'
5464
+ | 'TO'
5465
+ | 'TT'
5466
+ | 'TN'
5467
+ | 'TR'
5468
+ | 'TM'
5469
+ | 'TC'
5470
+ | 'TV'
5471
+ | 'UG'
5472
+ | 'UA'
5473
+ | 'AE'
5474
+ | 'GB'
5475
+ | 'US'
5476
+ | 'UM'
5477
+ | 'UY'
5478
+ | 'UZ'
5479
+ | 'VU'
5480
+ | 'VE'
5481
+ | 'VN'
5482
+ | 'VG'
5483
+ | 'VI'
5484
+ | 'WF'
5485
+ | 'EH'
5486
+ | 'YE'
5487
+ | 'ZM'
5488
+ | 'ZW'
5489
+ | 'AX'
5490
+ | 'BQ'
5491
+ | 'CW'
5492
+ | 'GG'
5493
+ | 'IM'
5494
+ | 'JE'
5495
+ | 'ME'
5496
+ | 'BL'
5497
+ | 'MF'
5498
+ | 'RS'
5499
+ | 'SX'
5500
+ | 'SS'
5501
+ | 'XK';
5502
+
5503
+ line1: string;
5504
+
5505
+ zipCode: string;
5506
+
5507
+ line2?: string;
5508
+
5509
+ region?: string;
5510
+ }
5511
+
5344
5512
  export interface FinancialAddress {
5345
- type: 'iban' | 'sort_code' | 'bank_code' | 'bban';
5513
+ type: 'iban' | 'sort_code' | 'bank_code' | 'bban' | 'wallet';
5346
5514
 
5347
5515
  bankCode?: FinancialAddress.BankCode;
5348
5516
 
@@ -5351,6 +5519,8 @@ export namespace CheckoutsessionCreateParams {
5351
5519
  iban?: FinancialAddress.Iban;
5352
5520
 
5353
5521
  sortCode?: FinancialAddress.SortCode;
5522
+
5523
+ wallet?: FinancialAddress.Wallet;
5354
5524
  }
5355
5525
 
5356
5526
  export namespace FinancialAddress {
@@ -5385,6 +5555,18 @@ export namespace CheckoutsessionCreateParams {
5385
5555
 
5386
5556
  sortCode: string;
5387
5557
  }
5558
+
5559
+ export interface Wallet {
5560
+ /**
5561
+ * The blockchain wallet address
5562
+ */
5563
+ address: string;
5564
+
5565
+ /**
5566
+ * The blockchain network
5567
+ */
5568
+ blockchain: 'ETH' | 'ETH-SEPOLIA' | 'SOL' | 'SOL-DEVNET' | 'MATIC' | 'MATIC-AMOY';
5569
+ }
5388
5570
  }
5389
5571
  }
5390
5572
  }