stripe 23.2.0-alpha.1 → 23.2.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 (153) hide show
  1. package/CHANGELOG.md +55 -0
  2. package/OPENAPI_VERSION +1 -1
  3. package/VERSION +1 -1
  4. package/cjs/StripeEventNotificationHandler.js +2 -0
  5. package/cjs/StripeEventNotificationHandler.js.map +1 -1
  6. package/cjs/WorkloadIdentity.js +1 -1
  7. package/cjs/resources/AccountSessions.d.ts +226 -0
  8. package/cjs/resources/Apps/Installs.d.ts +1 -1
  9. package/cjs/resources/Apps/Installs.js +1 -1
  10. package/cjs/resources/Charges.d.ts +383 -0
  11. package/cjs/resources/Checkout/Sessions.d.ts +82 -6
  12. package/cjs/resources/ConfirmationTokens.d.ts +40 -1
  13. package/cjs/resources/CustomerTaxExemptions.d.ts +28 -0
  14. package/cjs/resources/Customers.d.ts +31 -1
  15. package/cjs/resources/Disputes.d.ts +1 -1
  16. package/cjs/resources/Invoices.d.ts +15 -3
  17. package/cjs/resources/Issuing/Cards.d.ts +2 -2
  18. package/cjs/resources/PaymentAttemptRecords.d.ts +140 -1
  19. package/cjs/resources/PaymentIntentAmountDetailsLineItems.d.ts +48 -0
  20. package/cjs/resources/PaymentIntents.d.ts +532 -20
  21. package/cjs/resources/PaymentLinks.d.ts +3 -3
  22. package/cjs/resources/PaymentMethodConfigurations.d.ts +70 -0
  23. package/cjs/resources/PaymentMethods.d.ts +66 -3
  24. package/cjs/resources/PaymentRecords.d.ts +85 -1
  25. package/cjs/resources/QuotePreviewInvoices.d.ts +1 -1
  26. package/cjs/resources/Quotes.d.ts +2 -2
  27. package/cjs/resources/Radar/PaymentEvaluations.d.ts +45 -4
  28. package/cjs/resources/Refunds.d.ts +31 -1
  29. package/cjs/resources/Reporting/ReportRuns.d.ts +4 -0
  30. package/cjs/resources/SetupAttempts.d.ts +4 -0
  31. package/cjs/resources/SetupIntents.d.ts +129 -15
  32. package/cjs/resources/Subscriptions.d.ts +21 -5
  33. package/cjs/resources/Tax/Certificates.d.ts +107 -0
  34. package/cjs/resources/Tax/Certificates.js +35 -0
  35. package/cjs/resources/Tax/Certificates.js.map +1 -0
  36. package/cjs/resources/Tax/FormCorrections.d.ts +29 -0
  37. package/cjs/resources/Tax/FormCorrections.js +4 -0
  38. package/cjs/resources/Tax/FormCorrections.js.map +1 -0
  39. package/cjs/resources/Tax/Forms.d.ts +376 -1
  40. package/cjs/resources/Tax/Forms.js +6 -0
  41. package/cjs/resources/Tax/Forms.js.map +1 -1
  42. package/cjs/resources/Tax/index.d.ts +38 -25
  43. package/cjs/resources/Tax/index.js +2 -0
  44. package/cjs/resources/Tax/index.js.map +1 -1
  45. package/cjs/resources/TestHelpers/ConfirmationTokens.d.ts +25 -1
  46. package/cjs/resources/Treasury/InboundTransfers.d.ts +22 -0
  47. package/cjs/resources/Treasury/OutboundPayments.d.ts +22 -0
  48. package/cjs/resources/Treasury/OutboundTransfers.d.ts +22 -0
  49. package/cjs/resources/V2/Core/AccountSessions.d.ts +28 -0
  50. package/cjs/resources/V2/Core/ApprovalRequests.d.ts +34 -2
  51. package/cjs/resources/V2/Core/Events.d.ts +85 -5
  52. package/cjs/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
  53. package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js +4 -0
  54. package/cjs/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
  55. package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
  56. package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js +23 -0
  57. package/cjs/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
  58. package/cjs/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
  59. package/cjs/resources/V2/Extend/ObjectDefinitions.js +29 -0
  60. package/cjs/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
  61. package/cjs/resources/V2/Extend/index.d.ts +16 -7
  62. package/cjs/resources/V2/Extend/index.js +2 -0
  63. package/cjs/resources/V2/Extend/index.js.map +1 -1
  64. package/cjs/resources/V2/MoneyManagement/Adjustments.d.ts +34 -2
  65. package/cjs/resources/V2/MoneyManagement/FundingIntents.d.ts +30 -2
  66. package/cjs/resources/V2/MoneyManagement/FundingIntents.js.map +1 -1
  67. package/cjs/resources/V2/MoneyManagement/InboundTransfers.d.ts +34 -2
  68. package/cjs/resources/V2/MoneyManagement/OutboundPayments.d.ts +32 -2
  69. package/cjs/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
  70. package/cjs/resources/V2/MoneyManagement/ReceivedCredits.d.ts +34 -2
  71. package/cjs/resources/V2/MoneyManagement/TransactionEntries.d.ts +30 -2
  72. package/cjs/resources/V2/MoneyManagement/Transactions.d.ts +30 -2
  73. package/cjs/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  74. package/cjs/resources.js +4 -0
  75. package/cjs/resources.js.map +1 -1
  76. package/cjs/stripe.cjs.node.d.ts +459 -0
  77. package/cjs/stripe.cjs.node.js.map +1 -1
  78. package/cjs/stripe.core.js +1 -1
  79. package/esm/StripeEventNotificationHandler.js +2 -0
  80. package/esm/StripeEventNotificationHandler.js.map +1 -1
  81. package/esm/WorkloadIdentity.js +1 -1
  82. package/esm/resources/AccountSessions.d.ts +226 -0
  83. package/esm/resources/Apps/Installs.d.ts +1 -1
  84. package/esm/resources/Apps/Installs.js +1 -1
  85. package/esm/resources/Charges.d.ts +383 -0
  86. package/esm/resources/Checkout/Sessions.d.ts +82 -6
  87. package/esm/resources/ConfirmationTokens.d.ts +40 -1
  88. package/esm/resources/CustomerTaxExemptions.d.ts +28 -0
  89. package/esm/resources/Customers.d.ts +31 -1
  90. package/esm/resources/Disputes.d.ts +1 -1
  91. package/esm/resources/Invoices.d.ts +15 -3
  92. package/esm/resources/Issuing/Cards.d.ts +2 -2
  93. package/esm/resources/PaymentAttemptRecords.d.ts +140 -1
  94. package/esm/resources/PaymentIntentAmountDetailsLineItems.d.ts +48 -0
  95. package/esm/resources/PaymentIntents.d.ts +532 -20
  96. package/esm/resources/PaymentLinks.d.ts +3 -3
  97. package/esm/resources/PaymentMethodConfigurations.d.ts +70 -0
  98. package/esm/resources/PaymentMethods.d.ts +66 -3
  99. package/esm/resources/PaymentRecords.d.ts +85 -1
  100. package/esm/resources/QuotePreviewInvoices.d.ts +1 -1
  101. package/esm/resources/Quotes.d.ts +2 -2
  102. package/esm/resources/Radar/PaymentEvaluations.d.ts +45 -4
  103. package/esm/resources/Refunds.d.ts +31 -1
  104. package/esm/resources/Reporting/ReportRuns.d.ts +4 -0
  105. package/esm/resources/SetupAttempts.d.ts +4 -0
  106. package/esm/resources/SetupIntents.d.ts +129 -15
  107. package/esm/resources/Subscriptions.d.ts +21 -5
  108. package/esm/resources/Tax/Certificates.d.ts +107 -0
  109. package/esm/resources/Tax/Certificates.js +31 -0
  110. package/esm/resources/Tax/Certificates.js.map +1 -0
  111. package/esm/resources/Tax/FormCorrections.d.ts +29 -0
  112. package/esm/resources/Tax/FormCorrections.js +3 -0
  113. package/esm/resources/Tax/FormCorrections.js.map +1 -0
  114. package/esm/resources/Tax/Forms.d.ts +376 -1
  115. package/esm/resources/Tax/Forms.js +6 -0
  116. package/esm/resources/Tax/Forms.js.map +1 -1
  117. package/esm/resources/Tax/index.d.ts +38 -25
  118. package/esm/resources/Tax/index.js +2 -0
  119. package/esm/resources/Tax/index.js.map +1 -1
  120. package/esm/resources/TestHelpers/ConfirmationTokens.d.ts +25 -1
  121. package/esm/resources/Treasury/InboundTransfers.d.ts +22 -0
  122. package/esm/resources/Treasury/OutboundPayments.d.ts +22 -0
  123. package/esm/resources/Treasury/OutboundTransfers.d.ts +22 -0
  124. package/esm/resources/V2/Core/AccountSessions.d.ts +28 -0
  125. package/esm/resources/V2/Core/ApprovalRequests.d.ts +34 -2
  126. package/esm/resources/V2/Core/Events.d.ts +85 -5
  127. package/esm/resources/V2/Extend/ObjectDefinitionVersions.d.ts +222 -0
  128. package/esm/resources/V2/Extend/ObjectDefinitionVersions.js +3 -0
  129. package/esm/resources/V2/Extend/ObjectDefinitionVersions.js.map +1 -0
  130. package/esm/resources/V2/Extend/ObjectDefinitions/Versions.d.ts +33 -0
  131. package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js +19 -0
  132. package/esm/resources/V2/Extend/ObjectDefinitions/Versions.js.map +1 -0
  133. package/esm/resources/V2/Extend/ObjectDefinitions.d.ts +63 -0
  134. package/esm/resources/V2/Extend/ObjectDefinitions.js +25 -0
  135. package/esm/resources/V2/Extend/ObjectDefinitions.js.map +1 -0
  136. package/esm/resources/V2/Extend/index.d.ts +16 -7
  137. package/esm/resources/V2/Extend/index.js +2 -0
  138. package/esm/resources/V2/Extend/index.js.map +1 -1
  139. package/esm/resources/V2/MoneyManagement/Adjustments.d.ts +34 -2
  140. package/esm/resources/V2/MoneyManagement/FundingIntents.d.ts +30 -2
  141. package/esm/resources/V2/MoneyManagement/FundingIntents.js.map +1 -1
  142. package/esm/resources/V2/MoneyManagement/InboundTransfers.d.ts +34 -2
  143. package/esm/resources/V2/MoneyManagement/OutboundPayments.d.ts +32 -2
  144. package/esm/resources/V2/MoneyManagement/OutboundPayments.js.map +1 -1
  145. package/esm/resources/V2/MoneyManagement/ReceivedCredits.d.ts +34 -2
  146. package/esm/resources/V2/MoneyManagement/TransactionEntries.d.ts +30 -2
  147. package/esm/resources/V2/MoneyManagement/Transactions.d.ts +30 -2
  148. package/esm/resources/V2/MoneyManagement/Transactions.js.map +1 -1
  149. package/esm/resources.js +4 -0
  150. package/esm/resources.js.map +1 -1
  151. package/esm/stripe.core.js +1 -1
  152. package/esm/stripe.esm.node.js +1 -1
  153. package/package.json +1 -1
@@ -799,6 +799,7 @@ export declare namespace Session {
799
799
  sepa_debit?: PaymentMethodOptions.SepaDebit;
800
800
  sequra?: PaymentMethodOptions.Sequra;
801
801
  sofort?: PaymentMethodOptions.Sofort;
802
+ stripe_balance?: PaymentMethodOptions.StripeBalance;
802
803
  sunbit?: PaymentMethodOptions.Sunbit;
803
804
  swish?: PaymentMethodOptions.Swish;
804
805
  twint?: PaymentMethodOptions.Twint;
@@ -2392,6 +2393,16 @@ export declare namespace Session {
2392
2393
  subsellers?: Array<string>;
2393
2394
  }
2394
2395
  interface Paypay {
2396
+ /**
2397
+ * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2398
+ *
2399
+ * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2400
+ *
2401
+ * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2402
+ *
2403
+ * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
2404
+ */
2405
+ setup_future_usage?: Paypay.SetupFutureUsage;
2395
2406
  /**
2396
2407
  * A reference to the merchant subscription this payment corresponds to.
2397
2408
  */
@@ -2510,6 +2521,18 @@ export declare namespace Session {
2510
2521
  */
2511
2522
  setup_future_usage?: 'none';
2512
2523
  }
2524
+ interface StripeBalance {
2525
+ /**
2526
+ * Indicates that you intend to make future payments with this PaymentIntent's payment method.
2527
+ *
2528
+ * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
2529
+ *
2530
+ * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
2531
+ *
2532
+ * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
2533
+ */
2534
+ setup_future_usage?: StripeBalance.SetupFutureUsage;
2535
+ }
2513
2536
  interface Sunbit {
2514
2537
  /**
2515
2538
  * Controls when the funds will be captured from the customer's account.
@@ -2627,7 +2650,7 @@ export declare namespace Session {
2627
2650
  namespace MandateOptions {
2628
2651
  type DefaultFor = 'invoice' | 'subscription' | OtherString;
2629
2652
  type PaymentSchedule = 'combined' | 'interval' | 'sporadic' | OtherString;
2630
- type TransactionType = 'business' | 'personal' | OtherString;
2653
+ type TransactionType = 'business' | 'buyer_choice' | 'personal' | OtherString;
2631
2654
  }
2632
2655
  }
2633
2656
  namespace Alipay {
@@ -2644,7 +2667,7 @@ export declare namespace Session {
2644
2667
  reference_prefix?: string;
2645
2668
  }
2646
2669
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
2647
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
2670
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
2648
2671
  }
2649
2672
  namespace Bancontact {
2650
2673
  type SetupFutureUsage = 'none' | 'off_session' | OtherString;
@@ -2777,6 +2800,9 @@ export declare namespace Session {
2777
2800
  namespace Paypal {
2778
2801
  type SetupFutureUsage = 'none' | 'off_session' | OtherString;
2779
2802
  }
2803
+ namespace Paypay {
2804
+ type SetupFutureUsage = 'none' | 'off_session' | OtherString;
2805
+ }
2780
2806
  namespace Payto {
2781
2807
  interface MandateOptions {
2782
2808
  /**
@@ -2870,6 +2896,9 @@ export declare namespace Session {
2870
2896
  }
2871
2897
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
2872
2898
  }
2899
+ namespace StripeBalance {
2900
+ type SetupFutureUsage = 'none' | 'off_session' | OtherString;
2901
+ }
2873
2902
  namespace Twint {
2874
2903
  type SetupFutureUsage = 'none' | 'off_session' | OtherString;
2875
2904
  }
@@ -3183,6 +3212,12 @@ export declare namespace Checkout {
3183
3212
  * Collect additional information from your customer using custom fields. Up to 3 fields are supported. You can't set this parameter if `ui_mode` is `elements`.
3184
3213
  */
3185
3214
  custom_fields?: Array<SessionCreateParams.CustomField>;
3215
+ /**
3216
+ * Options keyed by custom payment method type IDs (e.g., `cpmt_123`). Each ID must belong to your account and be included in `custom_payment_method_types`. Only available in `payment` mode.
3217
+ */
3218
+ custom_payment_method_options?: {
3219
+ [key: string]: SessionCreateParams.CustomPaymentMethodOptions;
3220
+ };
3186
3221
  /**
3187
3222
  * A list of custom payment methods (e.g., `cpmt_123`) this Checkout Session can accept.
3188
3223
  *
@@ -3435,7 +3470,7 @@ export declare namespace Checkout {
3435
3470
  */
3436
3471
  recovery?: AfterExpiration.Recovery;
3437
3472
  }
3438
- type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
3473
+ type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
3439
3474
  type ApprovalMethod = 'auto' | 'manual' | OtherString;
3440
3475
  interface AutomaticPassThroughFee {
3441
3476
  /**
@@ -3568,6 +3603,12 @@ export declare namespace Checkout {
3568
3603
  */
3569
3604
  type: CustomField.Type;
3570
3605
  }
3606
+ interface CustomPaymentMethodOptions {
3607
+ /**
3608
+ * Use `off_session` to set up this custom payment method for future payments when the customer is absent. Use `none` to disable setup for future usage.
3609
+ */
3610
+ setup_future_usage?: CustomPaymentMethodOptions.SetupFutureUsage;
3611
+ }
3571
3612
  interface CustomText {
3572
3613
  /**
3573
3614
  * Custom text that should be displayed after the payment confirmation button.
@@ -3617,7 +3658,7 @@ export declare namespace Checkout {
3617
3658
  */
3618
3659
  promotion_code?: string;
3619
3660
  }
3620
- type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
3661
+ type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'giropay' | 'gopay' | 'grabpay' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'twint' | 'upi' | 'us_bank_account' | 'wechat_pay' | 'zip' | OtherString;
3621
3662
  interface InvoiceCreation {
3622
3663
  /**
3623
3664
  * Set to `true` to enable invoice creation.
@@ -4000,6 +4041,10 @@ export declare namespace Checkout {
4000
4041
  * contains details about the Sofort payment method options.
4001
4042
  */
4002
4043
  sofort?: PaymentMethodOptions.Sofort;
4044
+ /**
4045
+ * contains details about the Stripe Balance payment method options.
4046
+ */
4047
+ stripe_balance?: PaymentMethodOptions.StripeBalance;
4003
4048
  /**
4004
4049
  * contains details about the Sunbit payment method options.
4005
4050
  */
@@ -4439,6 +4484,9 @@ export declare namespace Checkout {
4439
4484
  }
4440
4485
  }
4441
4486
  }
4487
+ namespace CustomPaymentMethodOptions {
4488
+ type SetupFutureUsage = 'none' | 'off_session' | OtherString;
4489
+ }
4442
4490
  namespace CustomText {
4443
4491
  interface AfterSubmit {
4444
4492
  /**
@@ -5813,6 +5861,16 @@ export declare namespace Checkout {
5813
5861
  subsellers?: Array<string>;
5814
5862
  }
5815
5863
  interface Paypay {
5864
+ /**
5865
+ * Indicates that you intend to make future payments with this PaymentIntent's payment method.
5866
+ *
5867
+ * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
5868
+ *
5869
+ * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
5870
+ *
5871
+ * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
5872
+ */
5873
+ setup_future_usage?: Paypay.SetupFutureUsage;
5816
5874
  /**
5817
5875
  * The merchant's subscription identifier for this off-session charge.
5818
5876
  */
@@ -5940,6 +5998,18 @@ export declare namespace Checkout {
5940
5998
  */
5941
5999
  setup_future_usage?: 'none';
5942
6000
  }
6001
+ interface StripeBalance {
6002
+ /**
6003
+ * Indicates that you intend to make future payments with this PaymentIntent's payment method.
6004
+ *
6005
+ * If you provide a Customer with the PaymentIntent, you can use this parameter to [attach the payment method](https://docs.stripe.com/payments/save-during-payment) to the Customer after the PaymentIntent is confirmed and the customer completes any required actions. If you don't provide a Customer, you can still [attach](https://docs.stripe.com/api/payment_methods/attach) the payment method to a Customer after the transaction completes.
6006
+ *
6007
+ * If the payment method is `card_present` and isn't a digital wallet, Stripe creates and attaches a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card to the Customer instead.
6008
+ *
6009
+ * When processing card payments, Stripe uses `setup_future_usage` to help you comply with regional legislation and network rules, such as [SCA](https://docs.stripe.com/strong-customer-authentication).
6010
+ */
6011
+ setup_future_usage?: StripeBalance.SetupFutureUsage;
6012
+ }
5943
6013
  interface Sunbit {
5944
6014
  /**
5945
6015
  * Controls when the funds will be captured from the customer's account.
@@ -6056,7 +6126,7 @@ export declare namespace Checkout {
6056
6126
  namespace MandateOptions {
6057
6127
  type DefaultFor = 'invoice' | 'subscription' | OtherString;
6058
6128
  type PaymentSchedule = 'combined' | 'interval' | 'sporadic' | OtherString;
6059
- type TransactionType = 'business' | 'personal' | OtherString;
6129
+ type TransactionType = 'business' | 'buyer_choice' | 'personal' | OtherString;
6060
6130
  }
6061
6131
  }
6062
6132
  namespace Alipay {
@@ -6073,7 +6143,7 @@ export declare namespace Checkout {
6073
6143
  reference_prefix?: Emptyable<string>;
6074
6144
  }
6075
6145
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
6076
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
6146
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
6077
6147
  }
6078
6148
  namespace Bancontact {
6079
6149
  type SetupFutureUsage = 'none' | 'off_session' | OtherString;
@@ -6257,6 +6327,9 @@ export declare namespace Checkout {
6257
6327
  type PreferredLocale = 'cs-CZ' | 'da-DK' | 'de-AT' | 'de-DE' | 'de-LU' | 'el-GR' | 'en-GB' | 'en-US' | 'es-ES' | 'fi-FI' | 'fr-BE' | 'fr-FR' | 'fr-LU' | 'hu-HU' | 'it-IT' | 'nl-BE' | 'nl-NL' | 'pl-PL' | 'pt-PT' | 'sk-SK' | 'sv-SE' | OtherString;
6258
6328
  type SetupFutureUsage = 'none' | 'off_session' | OtherString;
6259
6329
  }
6330
+ namespace Paypay {
6331
+ type SetupFutureUsage = 'none' | 'off_session' | OtherString;
6332
+ }
6260
6333
  namespace Payto {
6261
6334
  interface MandateOptions {
6262
6335
  /**
@@ -6350,6 +6423,9 @@ export declare namespace Checkout {
6350
6423
  }
6351
6424
  type SetupFutureUsage = 'none' | 'off_session' | 'on_session' | OtherString;
6352
6425
  }
6426
+ namespace StripeBalance {
6427
+ type SetupFutureUsage = 'none' | 'off_session' | OtherString;
6428
+ }
6353
6429
  namespace Twint {
6354
6430
  type SetupFutureUsage = 'none' | 'off_session' | OtherString;
6355
6431
  }
@@ -90,6 +90,7 @@ export declare namespace ConfirmationToken {
90
90
  }
91
91
  interface PaymentMethodPreview {
92
92
  acss_debit?: PaymentMethodPreview.AcssDebit;
93
+ aeon_pay?: PaymentMethodPreview.AeonPay;
93
94
  affirm?: PaymentMethodPreview.Affirm;
94
95
  afterpay_clearpay?: PaymentMethodPreview.AfterpayClearpay;
95
96
  alipay?: PaymentMethodPreview.Alipay;
@@ -100,6 +101,7 @@ export declare namespace ConfirmationToken {
100
101
  alma?: PaymentMethodPreview.Alma;
101
102
  amazon_pay?: PaymentMethodPreview.AmazonPay;
102
103
  au_becs_debit?: PaymentMethodPreview.AuBecsDebit;
104
+ au_pay?: PaymentMethodPreview.AuPay;
103
105
  bacs_debit?: PaymentMethodPreview.BacsDebit;
104
106
  bancontact?: PaymentMethodPreview.Bancontact;
105
107
  billie?: PaymentMethodPreview.Billie;
@@ -118,6 +120,7 @@ export declare namespace ConfirmationToken {
118
120
  customer: string | Customer | null;
119
121
  customer_account: string | null;
120
122
  customer_balance?: PaymentMethodPreview.CustomerBalance;
123
+ dbarai?: PaymentMethodPreview.Dbarai;
121
124
  eps?: PaymentMethodPreview.Eps;
122
125
  fpx?: PaymentMethodPreview.Fpx;
123
126
  getflex?: PaymentMethodPreview.Getflex;
@@ -134,6 +137,7 @@ export declare namespace ConfirmationToken {
134
137
  kr_card?: PaymentMethodPreview.KrCard;
135
138
  link?: PaymentMethodPreview.Link;
136
139
  mb_way?: PaymentMethodPreview.MbWay;
140
+ merpay?: PaymentMethodPreview.Merpay;
137
141
  mobilepay?: PaymentMethodPreview.Mobilepay;
138
142
  multibanco?: PaymentMethodPreview.Multibanco;
139
143
  naver_pay?: PaymentMethodPreview.NaverPay;
@@ -276,6 +280,8 @@ export declare namespace ConfirmationToken {
276
280
  */
277
281
  transit_number: string | null;
278
282
  }
283
+ interface AeonPay {
284
+ }
279
285
  interface Affirm {
280
286
  }
281
287
  interface AfterpayClearpay {
@@ -301,6 +307,8 @@ export declare namespace ConfirmationToken {
301
307
  */
302
308
  last4: string | null;
303
309
  }
310
+ interface AuPay {
311
+ }
304
312
  interface BacsDebit {
305
313
  /**
306
314
  * Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.
@@ -517,6 +525,8 @@ export declare namespace ConfirmationToken {
517
525
  }
518
526
  interface CustomerBalance {
519
527
  }
528
+ interface Dbarai {
529
+ }
520
530
  interface Eps {
521
531
  /**
522
532
  * The customer's bank. Should be one of `arzte_und_apotheker_bank`, `austrian_anadi_bank_ag`, `bank_austria`, `bankhaus_carl_spangler`, `bankhaus_schelhammer_und_schattera_ag`, `bawag_psk_ag`, `bks_bank_ag`, `brull_kallmus_bank_ag`, `btv_vier_lander_bank`, `capital_bank_grawe_gruppe_ag`, `deutsche_bank_ag`, `dolomitenbank`, `easybank_ag`, `erste_bank_und_sparkassen`, `hypo_alpeadriabank_international_ag`, `hypo_noe_lb_fur_niederosterreich_u_wien`, `hypo_oberosterreich_salzburg_steiermark`, `hypo_tirol_bank_ag`, `hypo_vorarlberg_bank_ag`, `hypo_bank_burgenland_aktiengesellschaft`, `marchfelder_bank`, `oberbank_ag`, `raiffeisen_bankengruppe_osterreich`, `schoellerbank_ag`, `sparda_bank_wien`, `volksbank_gruppe`, `volkskreditbank_ag`, or `vr_bank_braunau`.
@@ -672,6 +682,8 @@ export declare namespace ConfirmationToken {
672
682
  }
673
683
  interface MbWay {
674
684
  }
685
+ interface Merpay {
686
+ }
675
687
  interface Mobilepay {
676
688
  }
677
689
  interface Multibanco {
@@ -847,7 +859,7 @@ export declare namespace ConfirmationToken {
847
859
  }
848
860
  interface Twint {
849
861
  }
850
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
862
+ type Type = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
851
863
  interface Upi {
852
864
  /**
853
865
  * Customer's unique Virtual Payment Address
@@ -1031,6 +1043,7 @@ export declare namespace ConfirmationToken {
1031
1043
  * *As of May 1, 2021, card fingerprint in India for Connect changed to allow two fingerprints for the same card---one for India and one for the rest of the world.*
1032
1044
  */
1033
1045
  fingerprint: string | null;
1046
+ fleet?: CardPresent.Fleet;
1034
1047
  /**
1035
1048
  * Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.
1036
1049
  */
@@ -1107,6 +1120,12 @@ export declare namespace ConfirmationToken {
1107
1120
  wallet?: CardPresent.Wallet;
1108
1121
  }
1109
1122
  namespace CardPresent {
1123
+ interface Fleet {
1124
+ /**
1125
+ * Fleet prompts and values collected for this transaction.
1126
+ */
1127
+ transaction_data: Array<Fleet.TransactionDatum>;
1128
+ }
1110
1129
  interface Multicapture {
1111
1130
  /**
1112
1131
  * Indicates whether or not multiple captures are supported.
@@ -1174,6 +1193,26 @@ export declare namespace ConfirmationToken {
1174
1193
  */
1175
1194
  type: Wallet.Type;
1176
1195
  }
1196
+ namespace Fleet {
1197
+ interface TransactionDatum {
1198
+ /**
1199
+ * The prompt that the Terminal SDK displays to collect this Fleet value.
1200
+ */
1201
+ prompt: TransactionDatum.Prompt;
1202
+ /**
1203
+ * Whether the collected value is printed on the receipt.
1204
+ */
1205
+ receipt_behavior: TransactionDatum.ReceiptBehavior;
1206
+ /**
1207
+ * The value collected for this Fleet prompt.
1208
+ */
1209
+ value: string;
1210
+ }
1211
+ namespace TransactionDatum {
1212
+ type Prompt = 'additional_fleet_data_1' | 'additional_fleet_data_2' | 'driver_id' | 'employee_number' | 'entered_data_alphanumeric' | 'entered_data_numeric' | 'generic_id' | 'invoice_number' | 'odometer' | 'postal_code' | 'reefer_hours' | 'replacement_car' | 'trailer_number' | 'trip_number' | 'unit_number' | 'vehicle_id' | 'vehicle_tag' | 'work_order';
1213
+ type ReceiptBehavior = 'omit' | 'print';
1214
+ }
1215
+ }
1177
1216
  namespace Multicapture {
1178
1217
  type Status = 'available' | 'unavailable';
1179
1218
  }
@@ -1,3 +1,4 @@
1
+ import { OtherString } from '../shared.js';
1
2
  export interface CustomerTaxExemption {
2
3
  /**
3
4
  * Unique identifier for the object.
@@ -37,6 +38,14 @@ export interface CustomerTaxExemption {
37
38
  * If the object exists in live mode, the value is `true`. If the object exists in test mode, the value is `false`.
38
39
  */
39
40
  livemode: boolean;
41
+ /**
42
+ * The reason the customer is exempt.
43
+ */
44
+ reason?: CustomerTaxExemption.Reason | null;
45
+ /**
46
+ * Additional details about the exemption reason.
47
+ */
48
+ reason_details?: CustomerTaxExemption.ReasonDetails | null;
40
49
  us?: CustomerTaxExemption.Us;
41
50
  }
42
51
  export interface DeletedCustomerTaxExemption {
@@ -70,10 +79,29 @@ export declare namespace CustomerTaxExemption {
70
79
  */
71
80
  state?: string;
72
81
  }
82
+ type Reason = 'direct_pay_permit' | 'legacy_contract' | 'other' | OtherString;
83
+ interface ReasonDetails {
84
+ other?: ReasonDetails.Other;
85
+ }
73
86
  interface Us {
74
87
  /**
75
88
  * Two-letter US state code (ISO 3166-2).
76
89
  */
77
90
  state: string;
91
+ /**
92
+ * The group of tax codes this exemption applies to. Exemptions created without one have `all`.
93
+ */
94
+ tax_code_group?: Us.TaxCodeGroup;
95
+ }
96
+ namespace ReasonDetails {
97
+ interface Other {
98
+ /**
99
+ * A free-text description of the exemption reason.
100
+ */
101
+ reason_text?: string;
102
+ }
103
+ }
104
+ namespace Us {
105
+ type TaxCodeGroup = 'all' | 'saas' | OtherString;
78
106
  }
79
107
  }
@@ -1082,6 +1082,14 @@ export interface CustomerCreateTaxExemptionParams {
1082
1082
  * ISO 8601 date (YYYY-MM-DD) when the exemption expires.
1083
1083
  */
1084
1084
  expiration_date?: string;
1085
+ /**
1086
+ * The reason the customer is exempt. Required when `us.tax_code_group` is `saas`.
1087
+ */
1088
+ reason?: CustomerCreateTaxExemptionParams.Reason;
1089
+ /**
1090
+ * Additional details about the exemption reason.
1091
+ */
1092
+ reason_details?: CustomerCreateTaxExemptionParams.ReasonDetails;
1085
1093
  /**
1086
1094
  * US-specific exemption details. Required when country is US; must be absent otherwise.
1087
1095
  */
@@ -1104,15 +1112,37 @@ export declare namespace CustomerCreateTaxExemptionParams {
1104
1112
  */
1105
1113
  state: string;
1106
1114
  }
1115
+ type Reason = 'direct_pay_permit' | 'legacy_contract' | 'other' | OtherString;
1116
+ interface ReasonDetails {
1117
+ /**
1118
+ * Details for the `other` exemption reason.
1119
+ */
1120
+ other?: ReasonDetails.Other;
1121
+ }
1107
1122
  interface Us {
1108
1123
  /**
1109
1124
  * Two-letter US state code (ISO 3166-2).
1110
1125
  */
1111
1126
  state: string;
1127
+ /**
1128
+ * The group of tax codes this exemption applies to. Defaults to `all`. `saas` is only available when `state` is `CA`.
1129
+ */
1130
+ tax_code_group?: Us.TaxCodeGroup;
1112
1131
  }
1113
1132
  namespace Ca {
1114
1133
  type TaxType = 'gst_hst' | 'pst' | 'qst' | 'rst' | OtherString;
1115
1134
  }
1135
+ namespace ReasonDetails {
1136
+ interface Other {
1137
+ /**
1138
+ * A free-text description of the exemption reason. Maximum 5000 characters.
1139
+ */
1140
+ reason_text: string;
1141
+ }
1142
+ }
1143
+ namespace Us {
1144
+ type TaxCodeGroup = 'all' | 'saas' | OtherString;
1145
+ }
1116
1146
  }
1117
1147
  export interface CustomerCreateTaxIdParams {
1118
1148
  /**
@@ -1179,7 +1209,7 @@ export interface CustomerListPaymentMethodsParams extends PaginationParams {
1179
1209
  }
1180
1210
  export declare namespace CustomerListPaymentMethodsParams {
1181
1211
  type AllowRedisplay = 'always' | 'limited' | 'unspecified' | OtherString;
1182
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
1212
+ type Type = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'custom' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'multibanco' | 'naver_pay' | 'nz_bank_account' | 'oxxo' | 'p24' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shopeepay' | 'sofort' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'toss_pay' | 'twint' | 'upi' | 'us_bank_account' | 'vipps' | 'wechat_pay' | 'zip' | OtherString;
1183
1213
  }
1184
1214
  export interface CustomerListSourcesParams extends PaginationParams {
1185
1215
  /**
@@ -115,7 +115,7 @@ export declare namespace Dispute {
115
115
  /**
116
116
  * Appeal evidence submitted during the appeal stage.
117
117
  */
118
- appeal?: Evidence.Appeal | null;
118
+ appeal: Evidence.Appeal | null;
119
119
  /**
120
120
  * The billing address provided by the customer.
121
121
  */
@@ -1226,6 +1226,10 @@ export declare namespace Invoice {
1226
1226
  expires_after_seconds?: number;
1227
1227
  }
1228
1228
  interface SepaDebit {
1229
+ /**
1230
+ * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1231
+ */
1232
+ target_date?: string;
1229
1233
  }
1230
1234
  interface Upi {
1231
1235
  mandate_options?: Upi.MandateOptions;
@@ -1260,7 +1264,7 @@ export declare namespace Invoice {
1260
1264
  }
1261
1265
  }
1262
1266
  namespace BacsDebit {
1263
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
1267
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
1264
1268
  }
1265
1269
  namespace Bancontact {
1266
1270
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
@@ -1975,6 +1979,10 @@ export declare namespace InvoiceCreateParams {
1975
1979
  expires_after_seconds?: number;
1976
1980
  }
1977
1981
  interface SepaDebit {
1982
+ /**
1983
+ * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
1984
+ */
1985
+ target_date?: string;
1978
1986
  }
1979
1987
  interface Upi {
1980
1988
  /**
@@ -2015,7 +2023,7 @@ export declare namespace InvoiceCreateParams {
2015
2023
  }
2016
2024
  }
2017
2025
  namespace BacsDebit {
2018
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
2026
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
2019
2027
  }
2020
2028
  namespace Bancontact {
2021
2029
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
@@ -2763,6 +2771,10 @@ export declare namespace InvoiceUpdateParams {
2763
2771
  expires_after_seconds?: number;
2764
2772
  }
2765
2773
  interface SepaDebit {
2774
+ /**
2775
+ * Controls when Stripe will attempt to debit the funds from the customer's account. The date must be a string in YYYY-MM-DD format. The date must be in the future and between 3 and 15 calendar days from now.
2776
+ */
2777
+ target_date?: string;
2766
2778
  }
2767
2779
  interface Upi {
2768
2780
  /**
@@ -2803,7 +2815,7 @@ export declare namespace InvoiceUpdateParams {
2803
2815
  }
2804
2816
  }
2805
2817
  namespace BacsDebit {
2806
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
2818
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
2807
2819
  }
2808
2820
  namespace Bancontact {
2809
2821
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
@@ -218,7 +218,7 @@ export declare namespace Card {
218
218
  /**
219
219
  * The time the card was reported as delivered. Null for undelivered or untracked shipments, or if Stripe has not recorded a delivery time.
220
220
  */
221
- delivered_at?: number | null;
221
+ delivered_at: number | null;
222
222
  /**
223
223
  * A unix timestamp representing a best estimate of when the card will be delivered.
224
224
  */
@@ -242,7 +242,7 @@ export declare namespace Card {
242
242
  /**
243
243
  * The time the card was reported as shipped. Null if Stripe has not recorded a shipment time.
244
244
  */
245
- shipped_at?: number | null;
245
+ shipped_at: number | null;
246
246
  /**
247
247
  * The delivery status of the card.
248
248
  */