mollie-api-typescript 0.0.2 → 0.0.4

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 (120) hide show
  1. package/FUNCTIONS.md +1 -1
  2. package/README.md +6 -6
  3. package/bin/mcp-server.js +97 -199
  4. package/bin/mcp-server.js.map +16 -16
  5. package/dist/commonjs/lib/config.d.ts +3 -3
  6. package/dist/commonjs/lib/config.js +3 -3
  7. package/dist/commonjs/mcp-server/mcp-server.js +1 -1
  8. package/dist/commonjs/mcp-server/server.js +1 -1
  9. package/dist/commonjs/models/operations/cancelpayment.d.ts +10 -59
  10. package/dist/commonjs/models/operations/cancelpayment.d.ts.map +1 -1
  11. package/dist/commonjs/models/operations/cancelpayment.js +10 -43
  12. package/dist/commonjs/models/operations/cancelpayment.js.map +1 -1
  13. package/dist/commonjs/models/operations/createcustomerpayment.d.ts +20 -118
  14. package/dist/commonjs/models/operations/createcustomerpayment.d.ts.map +1 -1
  15. package/dist/commonjs/models/operations/createcustomerpayment.js +19 -86
  16. package/dist/commonjs/models/operations/createcustomerpayment.js.map +1 -1
  17. package/dist/commonjs/models/operations/createpayment.d.ts +20 -118
  18. package/dist/commonjs/models/operations/createpayment.d.ts.map +1 -1
  19. package/dist/commonjs/models/operations/createpayment.js +18 -84
  20. package/dist/commonjs/models/operations/createpayment.js.map +1 -1
  21. package/dist/commonjs/models/operations/getpayment.d.ts +10 -59
  22. package/dist/commonjs/models/operations/getpayment.d.ts.map +1 -1
  23. package/dist/commonjs/models/operations/getpayment.js +10 -43
  24. package/dist/commonjs/models/operations/getpayment.js.map +1 -1
  25. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts +10 -59
  26. package/dist/commonjs/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  27. package/dist/commonjs/models/operations/getpaymentlinkpayments.js +11 -44
  28. package/dist/commonjs/models/operations/getpaymentlinkpayments.js.map +1 -1
  29. package/dist/commonjs/models/operations/listallsubscriptions.d.ts +10 -59
  30. package/dist/commonjs/models/operations/listallsubscriptions.d.ts.map +1 -1
  31. package/dist/commonjs/models/operations/listallsubscriptions.js +11 -44
  32. package/dist/commonjs/models/operations/listallsubscriptions.js.map +1 -1
  33. package/dist/commonjs/models/operations/listcustomerpayments.d.ts +10 -59
  34. package/dist/commonjs/models/operations/listcustomerpayments.d.ts.map +1 -1
  35. package/dist/commonjs/models/operations/listcustomerpayments.js +11 -44
  36. package/dist/commonjs/models/operations/listcustomerpayments.js.map +1 -1
  37. package/dist/commonjs/models/operations/listpayments.d.ts +10 -59
  38. package/dist/commonjs/models/operations/listpayments.d.ts.map +1 -1
  39. package/dist/commonjs/models/operations/listpayments.js +11 -44
  40. package/dist/commonjs/models/operations/listpayments.js.map +1 -1
  41. package/dist/commonjs/models/operations/listsettlementpayments.d.ts +10 -59
  42. package/dist/commonjs/models/operations/listsettlementpayments.d.ts.map +1 -1
  43. package/dist/commonjs/models/operations/listsettlementpayments.js +11 -44
  44. package/dist/commonjs/models/operations/listsettlementpayments.js.map +1 -1
  45. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts +10 -59
  46. package/dist/commonjs/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  47. package/dist/commonjs/models/operations/listsubscriptionpayments.js +11 -44
  48. package/dist/commonjs/models/operations/listsubscriptionpayments.js.map +1 -1
  49. package/dist/commonjs/models/operations/updatepayment.d.ts +16 -59
  50. package/dist/commonjs/models/operations/updatepayment.d.ts.map +1 -1
  51. package/dist/commonjs/models/operations/updatepayment.js +13 -44
  52. package/dist/commonjs/models/operations/updatepayment.js.map +1 -1
  53. package/dist/esm/lib/config.d.ts +3 -3
  54. package/dist/esm/lib/config.js +3 -3
  55. package/dist/esm/mcp-server/mcp-server.js +1 -1
  56. package/dist/esm/mcp-server/server.js +1 -1
  57. package/dist/esm/models/operations/cancelpayment.d.ts +10 -59
  58. package/dist/esm/models/operations/cancelpayment.d.ts.map +1 -1
  59. package/dist/esm/models/operations/cancelpayment.js +6 -39
  60. package/dist/esm/models/operations/cancelpayment.js.map +1 -1
  61. package/dist/esm/models/operations/createcustomerpayment.d.ts +20 -118
  62. package/dist/esm/models/operations/createcustomerpayment.d.ts.map +1 -1
  63. package/dist/esm/models/operations/createcustomerpayment.js +13 -80
  64. package/dist/esm/models/operations/createcustomerpayment.js.map +1 -1
  65. package/dist/esm/models/operations/createpayment.d.ts +20 -118
  66. package/dist/esm/models/operations/createpayment.d.ts.map +1 -1
  67. package/dist/esm/models/operations/createpayment.js +12 -78
  68. package/dist/esm/models/operations/createpayment.js.map +1 -1
  69. package/dist/esm/models/operations/getpayment.d.ts +10 -59
  70. package/dist/esm/models/operations/getpayment.d.ts.map +1 -1
  71. package/dist/esm/models/operations/getpayment.js +6 -39
  72. package/dist/esm/models/operations/getpayment.js.map +1 -1
  73. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts +10 -59
  74. package/dist/esm/models/operations/getpaymentlinkpayments.d.ts.map +1 -1
  75. package/dist/esm/models/operations/getpaymentlinkpayments.js +6 -39
  76. package/dist/esm/models/operations/getpaymentlinkpayments.js.map +1 -1
  77. package/dist/esm/models/operations/listallsubscriptions.d.ts +10 -59
  78. package/dist/esm/models/operations/listallsubscriptions.d.ts.map +1 -1
  79. package/dist/esm/models/operations/listallsubscriptions.js +6 -39
  80. package/dist/esm/models/operations/listallsubscriptions.js.map +1 -1
  81. package/dist/esm/models/operations/listcustomerpayments.d.ts +10 -59
  82. package/dist/esm/models/operations/listcustomerpayments.d.ts.map +1 -1
  83. package/dist/esm/models/operations/listcustomerpayments.js +6 -39
  84. package/dist/esm/models/operations/listcustomerpayments.js.map +1 -1
  85. package/dist/esm/models/operations/listpayments.d.ts +10 -59
  86. package/dist/esm/models/operations/listpayments.d.ts.map +1 -1
  87. package/dist/esm/models/operations/listpayments.js +6 -39
  88. package/dist/esm/models/operations/listpayments.js.map +1 -1
  89. package/dist/esm/models/operations/listsettlementpayments.d.ts +10 -59
  90. package/dist/esm/models/operations/listsettlementpayments.d.ts.map +1 -1
  91. package/dist/esm/models/operations/listsettlementpayments.js +6 -39
  92. package/dist/esm/models/operations/listsettlementpayments.js.map +1 -1
  93. package/dist/esm/models/operations/listsubscriptionpayments.d.ts +10 -59
  94. package/dist/esm/models/operations/listsubscriptionpayments.d.ts.map +1 -1
  95. package/dist/esm/models/operations/listsubscriptionpayments.js +6 -39
  96. package/dist/esm/models/operations/listsubscriptionpayments.js.map +1 -1
  97. package/dist/esm/models/operations/updatepayment.d.ts +16 -59
  98. package/dist/esm/models/operations/updatepayment.d.ts.map +1 -1
  99. package/dist/esm/models/operations/updatepayment.js +8 -39
  100. package/dist/esm/models/operations/updatepayment.js.map +1 -1
  101. package/docs/sdks/customers/README.md +2 -2
  102. package/docs/sdks/payments/README.md +2 -2
  103. package/examples/package-lock.json +1 -1
  104. package/examples/paymentsCreate.example.ts +1 -1
  105. package/jsr.json +1 -1
  106. package/package.json +1 -1
  107. package/src/lib/config.ts +3 -3
  108. package/src/mcp-server/mcp-server.ts +1 -1
  109. package/src/mcp-server/server.ts +1 -1
  110. package/src/models/operations/cancelpayment.ts +10 -71
  111. package/src/models/operations/createcustomerpayment.ts +21 -150
  112. package/src/models/operations/createpayment.ts +20 -143
  113. package/src/models/operations/getpayment.ts +10 -69
  114. package/src/models/operations/getpaymentlinkpayments.ts +10 -72
  115. package/src/models/operations/listallsubscriptions.ts +10 -71
  116. package/src/models/operations/listcustomerpayments.ts +10 -71
  117. package/src/models/operations/listpayments.ts +10 -71
  118. package/src/models/operations/listsettlementpayments.ts +10 -72
  119. package/src/models/operations/listsubscriptionpayments.ts +10 -74
  120. package/src/models/operations/updatepayment.ts +12 -71
@@ -546,6 +546,7 @@ export declare const CreatePaymentMethodRequest: {
546
546
  readonly Banktransfer: "banktransfer";
547
547
  readonly Belfius: "belfius";
548
548
  readonly Billie: "billie";
549
+ readonly Bizum: "bizum";
549
550
  readonly Blik: "blik";
550
551
  readonly Creditcard: "creditcard";
551
552
  readonly Directdebit: "directdebit";
@@ -558,6 +559,7 @@ export declare const CreatePaymentMethodRequest: {
558
559
  readonly Mbway: "mbway";
559
560
  readonly Multibanco: "multibanco";
560
561
  readonly Mybank: "mybank";
562
+ readonly Paybybank: "paybybank";
561
563
  readonly Payconiq: "payconiq";
562
564
  readonly Paypal: "paypal";
563
565
  readonly Paysafecard: "paysafecard";
@@ -611,43 +613,6 @@ export declare const CreatePaymentCaptureModeRequest: {
611
613
  * This field needs to be set to `manual` for method `riverty`.
612
614
  */
613
615
  export type CreatePaymentCaptureModeRequest = ClosedEnum<typeof CreatePaymentCaptureModeRequest>;
614
- /**
615
- * **Only relevant if you wish to manage authorization and capturing separately.**
616
- *
617
- * @remarks
618
- *
619
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
620
- * later point either be 'captured' or canceled.
621
- *
622
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
623
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
624
- * example `8 hours` or `2 days`.
625
- *
626
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
627
- *
628
- * The maximum delay is 7 days (168 hours).
629
- */
630
- export declare const CreatePaymentCaptureDelayRequest: {
631
- readonly DotDotDotHours: "... hours";
632
- readonly DotDotDotDays: "... days";
633
- };
634
- /**
635
- * **Only relevant if you wish to manage authorization and capturing separately.**
636
- *
637
- * @remarks
638
- *
639
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
640
- * later point either be 'captured' or canceled.
641
- *
642
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
643
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
644
- * example `8 hours` or `2 days`.
645
- *
646
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
647
- *
648
- * The maximum delay is 7 days (168 hours).
649
- */
650
- export type CreatePaymentCaptureDelayRequest = ClosedEnum<typeof CreatePaymentCaptureDelayRequest>;
651
616
  /**
652
617
  * The fee that you wish to charge.
653
618
  *
@@ -1026,8 +991,10 @@ export type CreatePaymentRequestBody = {
1026
991
  * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1027
992
  *
1028
993
  * The maximum delay is 7 days (168 hours).
994
+ *
995
+ * Possible values: `... hours` `... days`
1029
996
  */
1030
- captureDelay?: CreatePaymentCaptureDelayRequest | null | undefined;
997
+ captureDelay?: string | null | undefined;
1031
998
  /**
1032
999
  * With Mollie Connect you can charge fees on payments that your app is processing on behalf of other Mollie
1033
1000
  *
@@ -1781,6 +1748,7 @@ export declare const CreatePaymentMethodResponse: {
1781
1748
  readonly Banktransfer: "banktransfer";
1782
1749
  readonly Belfius: "belfius";
1783
1750
  readonly Billie: "billie";
1751
+ readonly Bizum: "bizum";
1784
1752
  readonly Blik: "blik";
1785
1753
  readonly Creditcard: "creditcard";
1786
1754
  readonly Directdebit: "directdebit";
@@ -1793,6 +1761,7 @@ export declare const CreatePaymentMethodResponse: {
1793
1761
  readonly Mbway: "mbway";
1794
1762
  readonly Multibanco: "multibanco";
1795
1763
  readonly Mybank: "mybank";
1764
+ readonly Paybybank: "paybybank";
1796
1765
  readonly Payconiq: "payconiq";
1797
1766
  readonly Paypal: "paypal";
1798
1767
  readonly Paysafecard: "paysafecard";
@@ -1841,43 +1810,6 @@ export declare const CreatePaymentCaptureModeResponse: {
1841
1810
  * This field needs to be set to `manual` for method `riverty`.
1842
1811
  */
1843
1812
  export type CreatePaymentCaptureModeResponse = ClosedEnum<typeof CreatePaymentCaptureModeResponse>;
1844
- /**
1845
- * **Only relevant if you wish to manage authorization and capturing separately.**
1846
- *
1847
- * @remarks
1848
- *
1849
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
1850
- * later point either be 'captured' or canceled.
1851
- *
1852
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
1853
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
1854
- * example `8 hours` or `2 days`.
1855
- *
1856
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1857
- *
1858
- * The maximum delay is 7 days (168 hours).
1859
- */
1860
- export declare const CreatePaymentCaptureDelayResponse: {
1861
- readonly DotDotDotHours: "... hours";
1862
- readonly DotDotDotDays: "... days";
1863
- };
1864
- /**
1865
- * **Only relevant if you wish to manage authorization and capturing separately.**
1866
- *
1867
- * @remarks
1868
- *
1869
- * Some payment methods allow placing a hold on the card or bank account. This hold or 'authorization' can then at a
1870
- * later point either be 'captured' or canceled.
1871
- *
1872
- * By default, we charge the customer's card or bank account immediately when they complete the payment. If you set a
1873
- * capture delay however, we will delay the automatic capturing of the payment for the specified amount of time. For
1874
- * example `8 hours` or `2 days`.
1875
- *
1876
- * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
1877
- *
1878
- * The maximum delay is 7 days (168 hours).
1879
- */
1880
- export type CreatePaymentCaptureDelayResponse = ClosedEnum<typeof CreatePaymentCaptureDelayResponse>;
1881
1813
  /**
1882
1814
  * The fee that you wish to charge.
1883
1815
  *
@@ -2665,8 +2597,10 @@ export type CreatePaymentResponse = {
2665
2597
  * To schedule an automatic capture, the `captureMode` must be set to `automatic`.
2666
2598
  *
2667
2599
  * The maximum delay is 7 days (168 hours).
2600
+ *
2601
+ * Possible values: `... hours` `... days`
2668
2602
  */
2669
- captureDelay?: CreatePaymentCaptureDelayResponse | null | undefined;
2603
+ captureDelay?: string | null | undefined;
2670
2604
  /**
2671
2605
  * Indicates the date before which the payment needs to be captured, in ISO 8601 format. From this date onwards we
2672
2606
  *
@@ -3295,6 +3229,7 @@ export declare namespace CreatePaymentMethodRequest$ {
3295
3229
  readonly Banktransfer: "banktransfer";
3296
3230
  readonly Belfius: "belfius";
3297
3231
  readonly Billie: "billie";
3232
+ readonly Bizum: "bizum";
3298
3233
  readonly Blik: "blik";
3299
3234
  readonly Creditcard: "creditcard";
3300
3235
  readonly Directdebit: "directdebit";
@@ -3307,6 +3242,7 @@ export declare namespace CreatePaymentMethodRequest$ {
3307
3242
  readonly Mbway: "mbway";
3308
3243
  readonly Multibanco: "multibanco";
3309
3244
  readonly Mybank: "mybank";
3245
+ readonly Paybybank: "paybybank";
3310
3246
  readonly Payconiq: "payconiq";
3311
3247
  readonly Paypal: "paypal";
3312
3248
  readonly Paysafecard: "paysafecard";
@@ -3329,6 +3265,7 @@ export declare namespace CreatePaymentMethodRequest$ {
3329
3265
  readonly Banktransfer: "banktransfer";
3330
3266
  readonly Belfius: "belfius";
3331
3267
  readonly Billie: "billie";
3268
+ readonly Bizum: "bizum";
3332
3269
  readonly Blik: "blik";
3333
3270
  readonly Creditcard: "creditcard";
3334
3271
  readonly Directdebit: "directdebit";
@@ -3341,6 +3278,7 @@ export declare namespace CreatePaymentMethodRequest$ {
3341
3278
  readonly Mbway: "mbway";
3342
3279
  readonly Multibanco: "multibanco";
3343
3280
  readonly Mybank: "mybank";
3281
+ readonly Paybybank: "paybybank";
3344
3282
  readonly Payconiq: "payconiq";
3345
3283
  readonly Paypal: "paypal";
3346
3284
  readonly Paysafecard: "paysafecard";
@@ -3415,26 +3353,6 @@ export declare namespace CreatePaymentCaptureModeRequest$ {
3415
3353
  }>;
3416
3354
  }
3417
3355
  /** @internal */
3418
- export declare const CreatePaymentCaptureDelayRequest$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCaptureDelayRequest>;
3419
- /** @internal */
3420
- export declare const CreatePaymentCaptureDelayRequest$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCaptureDelayRequest>;
3421
- /**
3422
- * @internal
3423
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
3424
- */
3425
- export declare namespace CreatePaymentCaptureDelayRequest$ {
3426
- /** @deprecated use `CreatePaymentCaptureDelayRequest$inboundSchema` instead. */
3427
- const inboundSchema: z.ZodNativeEnum<{
3428
- readonly DotDotDotHours: "... hours";
3429
- readonly DotDotDotDays: "... days";
3430
- }>;
3431
- /** @deprecated use `CreatePaymentCaptureDelayRequest$outboundSchema` instead. */
3432
- const outboundSchema: z.ZodNativeEnum<{
3433
- readonly DotDotDotHours: "... hours";
3434
- readonly DotDotDotDays: "... days";
3435
- }>;
3436
- }
3437
- /** @internal */
3438
3356
  export declare const CreatePaymentApplicationFeeAmountRequest$inboundSchema: z.ZodType<CreatePaymentApplicationFeeAmountRequest, z.ZodTypeDef, unknown>;
3439
3357
  /** @internal */
3440
3358
  export type CreatePaymentApplicationFeeAmountRequest$Outbound = {
@@ -3677,7 +3595,7 @@ export type CreatePaymentRequestBody$Outbound = {
3677
3595
  issuer?: string | null | undefined;
3678
3596
  restrictPaymentMethodsToCountry?: string | null | undefined;
3679
3597
  metadata?: CreatePaymentMetadataRequest$Outbound | string | Array<string> | null | undefined;
3680
- captureMode: string | null;
3598
+ captureMode?: string | null | undefined;
3681
3599
  captureDelay?: string | null | undefined;
3682
3600
  applicationFee?: CreatePaymentApplicationFeeRequest$Outbound | null | undefined;
3683
3601
  routing?: Array<CreatePaymentRoutingRequest$Outbound> | null | undefined;
@@ -4374,6 +4292,7 @@ export declare namespace CreatePaymentMethodResponse$ {
4374
4292
  readonly Banktransfer: "banktransfer";
4375
4293
  readonly Belfius: "belfius";
4376
4294
  readonly Billie: "billie";
4295
+ readonly Bizum: "bizum";
4377
4296
  readonly Blik: "blik";
4378
4297
  readonly Creditcard: "creditcard";
4379
4298
  readonly Directdebit: "directdebit";
@@ -4386,6 +4305,7 @@ export declare namespace CreatePaymentMethodResponse$ {
4386
4305
  readonly Mbway: "mbway";
4387
4306
  readonly Multibanco: "multibanco";
4388
4307
  readonly Mybank: "mybank";
4308
+ readonly Paybybank: "paybybank";
4389
4309
  readonly Payconiq: "payconiq";
4390
4310
  readonly Paypal: "paypal";
4391
4311
  readonly Paysafecard: "paysafecard";
@@ -4408,6 +4328,7 @@ export declare namespace CreatePaymentMethodResponse$ {
4408
4328
  readonly Banktransfer: "banktransfer";
4409
4329
  readonly Belfius: "belfius";
4410
4330
  readonly Billie: "billie";
4331
+ readonly Bizum: "bizum";
4411
4332
  readonly Blik: "blik";
4412
4333
  readonly Creditcard: "creditcard";
4413
4334
  readonly Directdebit: "directdebit";
@@ -4420,6 +4341,7 @@ export declare namespace CreatePaymentMethodResponse$ {
4420
4341
  readonly Mbway: "mbway";
4421
4342
  readonly Multibanco: "multibanco";
4422
4343
  readonly Mybank: "mybank";
4344
+ readonly Paybybank: "paybybank";
4423
4345
  readonly Payconiq: "payconiq";
4424
4346
  readonly Paypal: "paypal";
4425
4347
  readonly Paysafecard: "paysafecard";
@@ -4494,26 +4416,6 @@ export declare namespace CreatePaymentCaptureModeResponse$ {
4494
4416
  }>;
4495
4417
  }
4496
4418
  /** @internal */
4497
- export declare const CreatePaymentCaptureDelayResponse$inboundSchema: z.ZodNativeEnum<typeof CreatePaymentCaptureDelayResponse>;
4498
- /** @internal */
4499
- export declare const CreatePaymentCaptureDelayResponse$outboundSchema: z.ZodNativeEnum<typeof CreatePaymentCaptureDelayResponse>;
4500
- /**
4501
- * @internal
4502
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
4503
- */
4504
- export declare namespace CreatePaymentCaptureDelayResponse$ {
4505
- /** @deprecated use `CreatePaymentCaptureDelayResponse$inboundSchema` instead. */
4506
- const inboundSchema: z.ZodNativeEnum<{
4507
- readonly DotDotDotHours: "... hours";
4508
- readonly DotDotDotDays: "... days";
4509
- }>;
4510
- /** @deprecated use `CreatePaymentCaptureDelayResponse$outboundSchema` instead. */
4511
- const outboundSchema: z.ZodNativeEnum<{
4512
- readonly DotDotDotHours: "... hours";
4513
- readonly DotDotDotDays: "... days";
4514
- }>;
4515
- }
4516
- /** @internal */
4517
4419
  export declare const CreatePaymentApplicationFeeAmountResponse$inboundSchema: z.ZodType<CreatePaymentApplicationFeeAmountResponse, z.ZodTypeDef, unknown>;
4518
4420
  /** @internal */
4519
4421
  export type CreatePaymentApplicationFeeAmountResponse$Outbound = {
@@ -5222,7 +5124,7 @@ export type CreatePaymentResponse$Outbound = {
5222
5124
  method?: string | null | undefined;
5223
5125
  restrictPaymentMethodsToCountry?: string | null | undefined;
5224
5126
  metadata?: CreatePaymentMetadataResponse$Outbound | string | Array<string> | null | undefined;
5225
- captureMode: string | null;
5127
+ captureMode?: string | null | undefined;
5226
5128
  captureDelay?: string | null | undefined;
5227
5129
  captureBefore?: string | null | undefined;
5228
5130
  applicationFee?: CreatePaymentApplicationFeeResponse$Outbound | null | undefined;