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
@@ -174,6 +174,10 @@ export interface SetupIntent {
174
174
  * The list of payment method types (e.g. card) that this SetupIntent is allowed to set up. A list of valid payment method types can be found [here](https://docs.stripe.com/api/payment_methods/object#payment_method_object-type).
175
175
  */
176
176
  payment_method_types: Array<string>;
177
+ /**
178
+ * Options to configure Radar.
179
+ */
180
+ radar_options?: SetupIntent.RadarOptions | null;
177
181
  /**
178
182
  * Redaction status of this SetupIntent. If the SetupIntent isn't redacted, this field is null.
179
183
  */
@@ -195,7 +199,7 @@ export interface SetupIntent {
195
199
  usage: string;
196
200
  }
197
201
  export declare namespace SetupIntent {
198
- type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
202
+ type AllowedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'dbarai' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
199
203
  interface AutomaticPaymentMethods {
200
204
  /**
201
205
  * Controls whether this SetupIntent will accept redirect-based payment methods.
@@ -209,7 +213,7 @@ export declare namespace SetupIntent {
209
213
  enabled: boolean | null;
210
214
  }
211
215
  type CancellationReason = 'abandoned' | 'duplicate' | 'requested_by_customer' | OtherString;
212
- type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | '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' | '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;
216
+ type ExcludedPaymentMethodType = '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' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | '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;
213
217
  type FlowDirection = 'inbound' | 'outbound' | OtherString;
214
218
  interface LastSetupError {
215
219
  /**
@@ -364,6 +368,16 @@ export declare namespace SetupIntent {
364
368
  upi?: PaymentMethodOptions.Upi;
365
369
  us_bank_account?: PaymentMethodOptions.UsBankAccount;
366
370
  }
371
+ interface RadarOptions {
372
+ /**
373
+ * The value you provided for whether this transaction starts a free trial. This is null if you haven't explicitly set it.
374
+ */
375
+ is_free_trial_transaction?: boolean | null;
376
+ /**
377
+ * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
378
+ */
379
+ session?: string;
380
+ }
367
381
  interface Redaction {
368
382
  /**
369
383
  * Indicates whether this object and its related objects have been redacted or not.
@@ -443,7 +457,7 @@ export declare namespace SetupIntent {
443
457
  };
444
458
  interface VerifyWithMicrodeposits {
445
459
  /**
446
- * The timestamp when the microdeposits are expected to land.
460
+ * The timestamp when the microdeposits are expected to land. Null for instant microdeposits.
447
461
  */
448
462
  arrival_date: number;
449
463
  /**
@@ -632,7 +646,7 @@ export declare namespace SetupIntent {
632
646
  */
633
647
  reference_prefix?: string;
634
648
  }
635
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
649
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
636
650
  }
637
651
  namespace Blik {
638
652
  interface MandateOptions {
@@ -974,6 +988,10 @@ export interface SetupIntentCreateParams {
974
988
  * Payment method-specific configuration for this SetupIntent.
975
989
  */
976
990
  payment_method_options?: SetupIntentCreateParams.PaymentMethodOptions;
991
+ /**
992
+ * Options to configure Radar.
993
+ */
994
+ radar_options?: SetupIntentCreateParams.RadarOptions;
977
995
  /**
978
996
  * The URL to redirect your customer back to after they authenticate or cancel their payment on the payment method's app or site. To redirect to a mobile application, you can alternatively supply an application URI scheme. This parameter can only be used with [`confirm=true`](https://docs.stripe.com/api/setup_intents/create#create_setup_intent-confirm).
979
997
  */
@@ -998,7 +1016,7 @@ export interface SetupIntentCreateParams {
998
1016
  use_stripe_sdk?: boolean;
999
1017
  }
1000
1018
  export declare namespace SetupIntentCreateParams {
1001
- type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
1019
+ type AllowedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'dbarai' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
1002
1020
  interface AutomaticPaymentMethods {
1003
1021
  /**
1004
1022
  * Controls whether this SetupIntent will accept redirect-based payment methods.
@@ -1011,7 +1029,7 @@ export declare namespace SetupIntentCreateParams {
1011
1029
  */
1012
1030
  enabled: boolean;
1013
1031
  }
1014
- type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | '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' | '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;
1032
+ type ExcludedPaymentMethodType = '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' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | '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;
1015
1033
  type FlowDirection = 'inbound' | 'outbound' | OtherString;
1016
1034
  interface MandateData {
1017
1035
  /**
@@ -1024,6 +1042,10 @@ export declare namespace SetupIntentCreateParams {
1024
1042
  * If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
1025
1043
  */
1026
1044
  acss_debit?: PaymentMethodData.AcssDebit;
1045
+ /**
1046
+ * If this is a `aeon_pay` PaymentMethod, this hash contains details about the AEON Pay payment method.
1047
+ */
1048
+ aeon_pay?: PaymentMethodData.AeonPay;
1027
1049
  /**
1028
1050
  * If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
1029
1051
  */
@@ -1052,6 +1074,10 @@ export declare namespace SetupIntentCreateParams {
1052
1074
  * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
1053
1075
  */
1054
1076
  au_becs_debit?: PaymentMethodData.AuBecsDebit;
1077
+ /**
1078
+ * If this is a `au_pay` PaymentMethod, this hash contains details about the au PAY payment method.
1079
+ */
1080
+ au_pay?: PaymentMethodData.AuPay;
1055
1081
  /**
1056
1082
  * If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
1057
1083
  */
@@ -1096,6 +1122,10 @@ export declare namespace SetupIntentCreateParams {
1096
1122
  * If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
1097
1123
  */
1098
1124
  customer_balance?: PaymentMethodData.CustomerBalance;
1125
+ /**
1126
+ * If this is a `dbarai` PaymentMethod, this hash contains details about the d-Barai payment method.
1127
+ */
1128
+ dbarai?: PaymentMethodData.Dbarai;
1099
1129
  /**
1100
1130
  * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
1101
1131
  */
@@ -1160,6 +1190,10 @@ export declare namespace SetupIntentCreateParams {
1160
1190
  * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
1161
1191
  */
1162
1192
  mb_way?: PaymentMethodData.MbWay;
1193
+ /**
1194
+ * If this is a `merpay` PaymentMethod, this hash contains details about the Merpay payment method.
1195
+ */
1196
+ merpay?: PaymentMethodData.Merpay;
1163
1197
  /**
1164
1198
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
1165
1199
  */
@@ -1391,6 +1425,16 @@ export declare namespace SetupIntentCreateParams {
1391
1425
  */
1392
1426
  us_bank_account?: PaymentMethodOptions.UsBankAccount;
1393
1427
  }
1428
+ interface RadarOptions {
1429
+ /**
1430
+ * Whether this transaction starts a free trial. Set to `true` for a free trial or `false` otherwise. If omitted, retains the previously set value. If never set, Stripe uses Billing or metadata to determine trial status.
1431
+ */
1432
+ is_free_trial_transaction?: boolean;
1433
+ /**
1434
+ * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
1435
+ */
1436
+ session?: string;
1437
+ }
1394
1438
  interface SetupDetails {
1395
1439
  /**
1396
1440
  * Benefit details for this SetupIntent
@@ -1465,6 +1509,8 @@ export declare namespace SetupIntentCreateParams {
1465
1509
  */
1466
1510
  transit_number: string;
1467
1511
  }
1512
+ interface AeonPay {
1513
+ }
1468
1514
  interface Affirm {
1469
1515
  }
1470
1516
  interface AfterpayClearpay {
@@ -1486,6 +1532,8 @@ export declare namespace SetupIntentCreateParams {
1486
1532
  */
1487
1533
  bsb_number: string;
1488
1534
  }
1535
+ interface AuPay {
1536
+ }
1489
1537
  interface BacsDebit {
1490
1538
  /**
1491
1539
  * Account number of the bank account that the funds will be debited from.
@@ -1540,6 +1588,8 @@ export declare namespace SetupIntentCreateParams {
1540
1588
  }
1541
1589
  interface CustomerBalance {
1542
1590
  }
1591
+ interface Dbarai {
1592
+ }
1543
1593
  interface Eps {
1544
1594
  /**
1545
1595
  * The customer's bank.
@@ -1600,6 +1650,8 @@ export declare namespace SetupIntentCreateParams {
1600
1650
  }
1601
1651
  interface MbWay {
1602
1652
  }
1653
+ interface Merpay {
1654
+ }
1603
1655
  interface Mobilepay {
1604
1656
  }
1605
1657
  interface Multibanco {
@@ -1727,7 +1779,7 @@ export declare namespace SetupIntentCreateParams {
1727
1779
  }
1728
1780
  interface Twint {
1729
1781
  }
1730
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | '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;
1782
+ 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' | 'carecredit' | 'cashapp' | 'crypto' | '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;
1731
1783
  interface Upi {
1732
1784
  /**
1733
1785
  * Configuration options for setting up an eMandate
@@ -2053,7 +2105,7 @@ export declare namespace SetupIntentCreateParams {
2053
2105
  */
2054
2106
  reference_prefix?: Emptyable<string>;
2055
2107
  }
2056
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
2108
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
2057
2109
  }
2058
2110
  namespace Blik {
2059
2111
  interface MandateOptions {
@@ -2538,14 +2590,18 @@ export interface SetupIntentUpdateParams {
2538
2590
  setup_details?: SetupIntentUpdateParams.SetupDetails;
2539
2591
  }
2540
2592
  export declare namespace SetupIntentUpdateParams {
2541
- type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
2542
- type ExcludedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'card' | 'carecredit' | 'cashapp' | 'crypto' | 'customer_balance' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | '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' | '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;
2593
+ type AllowedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'dbarai' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
2594
+ type ExcludedPaymentMethodType = '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' | 'customer_balance' | 'dbarai' | 'eps' | 'fpx' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'kakao_pay' | 'klarna' | 'konbini' | 'kr_card' | '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;
2543
2595
  type FlowDirection = 'inbound' | 'outbound' | OtherString;
2544
2596
  interface PaymentMethodData {
2545
2597
  /**
2546
2598
  * If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
2547
2599
  */
2548
2600
  acss_debit?: PaymentMethodData.AcssDebit;
2601
+ /**
2602
+ * If this is a `aeon_pay` PaymentMethod, this hash contains details about the AEON Pay payment method.
2603
+ */
2604
+ aeon_pay?: PaymentMethodData.AeonPay;
2549
2605
  /**
2550
2606
  * If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
2551
2607
  */
@@ -2574,6 +2630,10 @@ export declare namespace SetupIntentUpdateParams {
2574
2630
  * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
2575
2631
  */
2576
2632
  au_becs_debit?: PaymentMethodData.AuBecsDebit;
2633
+ /**
2634
+ * If this is a `au_pay` PaymentMethod, this hash contains details about the au PAY payment method.
2635
+ */
2636
+ au_pay?: PaymentMethodData.AuPay;
2577
2637
  /**
2578
2638
  * If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
2579
2639
  */
@@ -2618,6 +2678,10 @@ export declare namespace SetupIntentUpdateParams {
2618
2678
  * If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
2619
2679
  */
2620
2680
  customer_balance?: PaymentMethodData.CustomerBalance;
2681
+ /**
2682
+ * If this is a `dbarai` PaymentMethod, this hash contains details about the d-Barai payment method.
2683
+ */
2684
+ dbarai?: PaymentMethodData.Dbarai;
2621
2685
  /**
2622
2686
  * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
2623
2687
  */
@@ -2682,6 +2746,10 @@ export declare namespace SetupIntentUpdateParams {
2682
2746
  * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
2683
2747
  */
2684
2748
  mb_way?: PaymentMethodData.MbWay;
2749
+ /**
2750
+ * If this is a `merpay` PaymentMethod, this hash contains details about the Merpay payment method.
2751
+ */
2752
+ merpay?: PaymentMethodData.Merpay;
2685
2753
  /**
2686
2754
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
2687
2755
  */
@@ -2938,6 +3006,8 @@ export declare namespace SetupIntentUpdateParams {
2938
3006
  */
2939
3007
  transit_number: string;
2940
3008
  }
3009
+ interface AeonPay {
3010
+ }
2941
3011
  interface Affirm {
2942
3012
  }
2943
3013
  interface AfterpayClearpay {
@@ -2959,6 +3029,8 @@ export declare namespace SetupIntentUpdateParams {
2959
3029
  */
2960
3030
  bsb_number: string;
2961
3031
  }
3032
+ interface AuPay {
3033
+ }
2962
3034
  interface BacsDebit {
2963
3035
  /**
2964
3036
  * Account number of the bank account that the funds will be debited from.
@@ -3013,6 +3085,8 @@ export declare namespace SetupIntentUpdateParams {
3013
3085
  }
3014
3086
  interface CustomerBalance {
3015
3087
  }
3088
+ interface Dbarai {
3089
+ }
3016
3090
  interface Eps {
3017
3091
  /**
3018
3092
  * The customer's bank.
@@ -3073,6 +3147,8 @@ export declare namespace SetupIntentUpdateParams {
3073
3147
  }
3074
3148
  interface MbWay {
3075
3149
  }
3150
+ interface Merpay {
3151
+ }
3076
3152
  interface Mobilepay {
3077
3153
  }
3078
3154
  interface Multibanco {
@@ -3200,7 +3276,7 @@ export declare namespace SetupIntentUpdateParams {
3200
3276
  }
3201
3277
  interface Twint {
3202
3278
  }
3203
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | '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;
3279
+ 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' | 'carecredit' | 'cashapp' | 'crypto' | '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;
3204
3280
  interface Upi {
3205
3281
  /**
3206
3282
  * Configuration options for setting up an eMandate
@@ -3526,7 +3602,7 @@ export declare namespace SetupIntentUpdateParams {
3526
3602
  */
3527
3603
  reference_prefix?: Emptyable<string>;
3528
3604
  }
3529
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
3605
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
3530
3606
  }
3531
3607
  namespace Blik {
3532
3608
  interface MandateOptions {
@@ -4003,6 +4079,10 @@ export interface SetupIntentConfirmParams {
4003
4079
  * Payment method-specific configuration for this SetupIntent.
4004
4080
  */
4005
4081
  payment_method_options?: SetupIntentConfirmParams.PaymentMethodOptions;
4082
+ /**
4083
+ * Options to configure Radar.
4084
+ */
4085
+ radar_options?: SetupIntentConfirmParams.RadarOptions;
4006
4086
  /**
4007
4087
  * The URL to redirect your customer back to after they authenticate on the payment method's app or site.
4008
4088
  * If you'd prefer to redirect to a mobile application, you can alternatively supply an application URI scheme.
@@ -4019,7 +4099,7 @@ export interface SetupIntentConfirmParams {
4019
4099
  use_stripe_sdk?: boolean;
4020
4100
  }
4021
4101
  export declare namespace SetupIntentConfirmParams {
4022
- type AllowedPaymentMethodType = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
4102
+ type AllowedPaymentMethodType = 'acss_debit' | 'aeon_pay' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'au_pay' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boku_promptpay' | 'boleto' | 'capchase_pay' | 'card' | 'card_present' | 'carecredit' | 'cashapp' | 'check_scan' | 'click_to_pay' | 'crypto' | 'customer_balance' | 'dbarai' | 'demo_pay' | 'duitnow' | 'dummy_auth_push' | 'dummy_passthrough_card' | 'edenred' | 'eps' | 'fpx' | 'gcash' | 'getbalance' | 'getflex' | 'gift_card' | 'giropay' | 'gopay' | 'grabpay' | 'id_bank_transfer' | 'ideal' | 'interac_present' | 'kakao_pay' | 'klarna' | 'knet' | 'konbini' | 'kr_card' | 'kr_market' | 'kriya' | 'link' | 'mb_way' | 'merpay' | 'mobilepay' | 'momo' | 'mondu' | 'multibanco' | 'naver_pay' | 'netbanking' | 'ng_bank' | 'ng_bank_transfer' | 'ng_card' | 'ng_market' | 'ng_ussd' | 'ng_wallet' | 'nz_bank_account' | 'octopus' | 'oxxo' | 'p24' | 'paper_check' | 'pay_by_bank' | 'payco' | 'paynow' | 'paypal' | 'paypay' | 'payto' | 'pix' | 'promptpay' | 'qris' | 'rakuten_pay' | 'rechnung' | 'revolut_pay' | 'samsung_pay' | 'satispay' | 'scalapay' | 'sepa_debit' | 'sequra' | 'sezzle' | 'shop_pay' | 'shopeepay' | 'sofort' | 'south_korea_market' | 'stripe_balance' | 'sunbit' | 'swish' | 'tamara' | 'test_pay' | 'toss_pay' | 'touch_n_go' | 'truemoney' | 'twint' | 'upi' | 'us_bank_account' | 'us_cash_voucher' | 'vipps' | 'wechat_pay' | 'wero' | 'zip' | OtherString;
4023
4103
  interface MandateData {
4024
4104
  /**
4025
4105
  * This hash contains details about the customer acceptance of the Mandate.
@@ -4031,6 +4111,10 @@ export declare namespace SetupIntentConfirmParams {
4031
4111
  * If this is an `acss_debit` PaymentMethod, this hash contains details about the ACSS Debit payment method.
4032
4112
  */
4033
4113
  acss_debit?: PaymentMethodData.AcssDebit;
4114
+ /**
4115
+ * If this is a `aeon_pay` PaymentMethod, this hash contains details about the AEON Pay payment method.
4116
+ */
4117
+ aeon_pay?: PaymentMethodData.AeonPay;
4034
4118
  /**
4035
4119
  * If this is an `affirm` PaymentMethod, this hash contains details about the Affirm payment method.
4036
4120
  */
@@ -4059,6 +4143,10 @@ export declare namespace SetupIntentConfirmParams {
4059
4143
  * If this is an `au_becs_debit` PaymentMethod, this hash contains details about the bank account.
4060
4144
  */
4061
4145
  au_becs_debit?: PaymentMethodData.AuBecsDebit;
4146
+ /**
4147
+ * If this is a `au_pay` PaymentMethod, this hash contains details about the au PAY payment method.
4148
+ */
4149
+ au_pay?: PaymentMethodData.AuPay;
4062
4150
  /**
4063
4151
  * If this is a `bacs_debit` PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
4064
4152
  */
@@ -4103,6 +4191,10 @@ export declare namespace SetupIntentConfirmParams {
4103
4191
  * If this is a `customer_balance` PaymentMethod, this hash contains details about the CustomerBalance payment method.
4104
4192
  */
4105
4193
  customer_balance?: PaymentMethodData.CustomerBalance;
4194
+ /**
4195
+ * If this is a `dbarai` PaymentMethod, this hash contains details about the d-Barai payment method.
4196
+ */
4197
+ dbarai?: PaymentMethodData.Dbarai;
4106
4198
  /**
4107
4199
  * If this is an `eps` PaymentMethod, this hash contains details about the EPS payment method.
4108
4200
  */
@@ -4167,6 +4259,10 @@ export declare namespace SetupIntentConfirmParams {
4167
4259
  * If this is a MB WAY PaymentMethod, this hash contains details about the MB WAY payment method.
4168
4260
  */
4169
4261
  mb_way?: PaymentMethodData.MbWay;
4262
+ /**
4263
+ * If this is a `merpay` PaymentMethod, this hash contains details about the Merpay payment method.
4264
+ */
4265
+ merpay?: PaymentMethodData.Merpay;
4170
4266
  /**
4171
4267
  * Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.
4172
4268
  */
@@ -4398,6 +4494,16 @@ export declare namespace SetupIntentConfirmParams {
4398
4494
  */
4399
4495
  us_bank_account?: PaymentMethodOptions.UsBankAccount;
4400
4496
  }
4497
+ interface RadarOptions {
4498
+ /**
4499
+ * Whether this transaction starts a free trial. Set to `true` for a free trial or `false` otherwise. If omitted, retains the previously set value. If never set, Stripe uses Billing or metadata to determine trial status.
4500
+ */
4501
+ is_free_trial_transaction?: boolean;
4502
+ /**
4503
+ * A [Radar Session](https://docs.stripe.com/radar/radar-session) is a snapshot of the browser metadata and device details that help Radar make more accurate predictions on your payments.
4504
+ */
4505
+ session?: string;
4506
+ }
4401
4507
  interface SetupDetails {
4402
4508
  /**
4403
4509
  * Benefit details for this SetupIntent
@@ -4458,6 +4564,8 @@ export declare namespace SetupIntentConfirmParams {
4458
4564
  */
4459
4565
  transit_number: string;
4460
4566
  }
4567
+ interface AeonPay {
4568
+ }
4461
4569
  interface Affirm {
4462
4570
  }
4463
4571
  interface AfterpayClearpay {
@@ -4479,6 +4587,8 @@ export declare namespace SetupIntentConfirmParams {
4479
4587
  */
4480
4588
  bsb_number: string;
4481
4589
  }
4590
+ interface AuPay {
4591
+ }
4482
4592
  interface BacsDebit {
4483
4593
  /**
4484
4594
  * Account number of the bank account that the funds will be debited from.
@@ -4533,6 +4643,8 @@ export declare namespace SetupIntentConfirmParams {
4533
4643
  }
4534
4644
  interface CustomerBalance {
4535
4645
  }
4646
+ interface Dbarai {
4647
+ }
4536
4648
  interface Eps {
4537
4649
  /**
4538
4650
  * The customer's bank.
@@ -4593,6 +4705,8 @@ export declare namespace SetupIntentConfirmParams {
4593
4705
  }
4594
4706
  interface MbWay {
4595
4707
  }
4708
+ interface Merpay {
4709
+ }
4596
4710
  interface Mobilepay {
4597
4711
  }
4598
4712
  interface Multibanco {
@@ -4720,7 +4834,7 @@ export declare namespace SetupIntentConfirmParams {
4720
4834
  }
4721
4835
  interface Twint {
4722
4836
  }
4723
- type Type = 'acss_debit' | 'affirm' | 'afterpay_clearpay' | 'alipay' | 'alma' | 'amazon_pay' | 'au_becs_debit' | 'bacs_debit' | 'bancontact' | 'billie' | 'bizum' | 'blik' | 'boleto' | 'carecredit' | 'cashapp' | 'crypto' | '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;
4837
+ 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' | 'carecredit' | 'cashapp' | 'crypto' | '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;
4724
4838
  interface Upi {
4725
4839
  /**
4726
4840
  * Configuration options for setting up an eMandate
@@ -5046,7 +5160,7 @@ export declare namespace SetupIntentConfirmParams {
5046
5160
  */
5047
5161
  reference_prefix?: Emptyable<string>;
5048
5162
  }
5049
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
5163
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
5050
5164
  }
5051
5165
  namespace Blik {
5052
5166
  interface MandateOptions {
@@ -138,7 +138,7 @@ export interface Subscription {
138
138
  application_fee_percent: number | null;
139
139
  automatic_tax: Subscription.AutomaticTax;
140
140
  /**
141
- * The Billing Cadence which controls the timing of recurring invoice generation for this subscription.If unset, the subscription will bill according to its own configured schedule and create its own invoices.If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
141
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
142
142
  */
143
143
  billing_cadence?: string;
144
144
  /**
@@ -149,6 +149,10 @@ export interface Subscription {
149
149
  * The fixed values used to calculate the `billing_cycle_anchor`.
150
150
  */
151
151
  billing_cycle_anchor_config: Subscription.BillingCycleAnchorConfig | null;
152
+ /**
153
+ * The Billing Group which controls the timing of recurring invoice generation for this subscription.If unset, the subscription will bill according to its own configured schedule and create its own invoices.If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
154
+ */
155
+ billing_group?: string;
152
156
  /**
153
157
  * The billing mode of the subscription.
154
158
  */
@@ -906,7 +910,7 @@ export declare namespace Subscription {
906
910
  }
907
911
  }
908
912
  namespace BacsDebit {
909
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
913
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
910
914
  }
911
915
  namespace Bancontact {
912
916
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
@@ -1182,6 +1186,10 @@ export interface SubscriptionCreateParams {
1182
1186
  * Mutually exclusive with billing_cycle_anchor and only valid with monthly and yearly price intervals. When provided, the billing_cycle_anchor is set to the next occurrence of the day_of_month at the hour, minute, and second UTC.
1183
1187
  */
1184
1188
  billing_cycle_anchor_config?: SubscriptionCreateParams.BillingCycleAnchorConfig;
1189
+ /**
1190
+ * The Billing Group which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
1191
+ */
1192
+ billing_group?: string;
1185
1193
  /**
1186
1194
  * Controls how prorations and invoices for subscriptions are calculated and orchestrated.
1187
1195
  */
@@ -2222,7 +2230,7 @@ export declare namespace SubscriptionCreateParams {
2222
2230
  }
2223
2231
  }
2224
2232
  namespace BacsDebit {
2225
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
2233
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
2226
2234
  }
2227
2235
  namespace Bancontact {
2228
2236
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
@@ -2469,6 +2477,10 @@ export interface SubscriptionUpdateParams {
2469
2477
  * Controls how the subscription's billing cycle anchor changes. Set `type` to `now` to reset the billing cycle anchor to the current time (in UTC), or `unchanged` to preserve it. For more information, see the billing cycle [documentation](https://docs.stripe.com/billing/subscriptions/billing-cycle).
2470
2478
  */
2471
2479
  billing_cycle_anchor?: SubscriptionUpdateParams.BillingCycleAnchor;
2480
+ /**
2481
+ * The Billing Group which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
2482
+ */
2483
+ billing_group?: string;
2472
2484
  /**
2473
2485
  * An array of billing schedules, which allow you to bill customers in advance for multiple service periods. Requires flexible billing mode and API version 2026-05-27.dahlia or later. Learn more about [prebilling](https://docs.stripe.com/billing/subscriptions/prebilling).
2474
2486
  */
@@ -3499,7 +3511,7 @@ export declare namespace SubscriptionUpdateParams {
3499
3511
  }
3500
3512
  }
3501
3513
  namespace BacsDebit {
3502
- type VerificationMethod = 'automatic' | 'payer_name_verification' | OtherString;
3514
+ type VerificationMethod = 'automatic' | 'instant' | 'payer_name_verification' | OtherString;
3503
3515
  }
3504
3516
  namespace Bancontact {
3505
3517
  type PreferredLanguage = 'de' | 'en' | 'fr' | 'nl' | OtherString;
@@ -3725,9 +3737,13 @@ export interface SubscriptionListParams extends PaginationParams {
3725
3737
  */
3726
3738
  automatic_tax?: SubscriptionListParams.AutomaticTax;
3727
3739
  /**
3728
- * Filter for subscriptions that have the specified billing cadence.
3740
+ * The Billing Cadence which controls the timing of recurring invoice generation for this subscription. If unset, the subscription will bill according to its own configured schedule and create its own invoices. If set, this subscription will be billed by the cadence instead, potentially sharing invoices with the other subscriptions linked to that Cadence.
3729
3741
  */
3730
3742
  billing_cadence?: string;
3743
+ /**
3744
+ * Filter for subscriptions that have the specified billing group.
3745
+ */
3746
+ billing_group?: string;
3731
3747
  /**
3732
3748
  * The collection method of the subscriptions to retrieve. Either `charge_automatically` or `send_invoice`.
3733
3749
  */