From 8bbb441548e9084d26748d42e5616789acb95afa Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Fri, 7 Nov 2025 21:19:16 +0000
Subject: [PATCH 1/4] Update generated code for v2113 and
---
API_VERSION | 2 +-
OPENAPI_VERSION | 2 +-
src/Stripe.net/Constants/ApiVersion.cs | 2 +-
.../Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/API_VERSION b/API_VERSION
index dffa3a76a2..afa88f5303 100644
--- a/API_VERSION
+++ b/API_VERSION
@@ -1 +1 @@
-6d15a7f20cb77c2c22091a30e499cb89d7e3248c
\ No newline at end of file
+125d391b75519fa8a44e8fdd6c482ca583fe8294
\ No newline at end of file
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index dfd2783f16..5c19124a9f 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v2111
\ No newline at end of file
+v2113
\ No newline at end of file
diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs
index 3fd1388ce4..fe194fbea8 100644
--- a/src/Stripe.net/Constants/ApiVersion.cs
+++ b/src/Stripe.net/Constants/ApiVersion.cs
@@ -3,7 +3,7 @@ namespace Stripe
{
internal class ApiVersion
{
- public const string Current = "2025-10-29.clover";
+ public const string Current = "2025-11-17.clover";
public const string CurrentMajor = "clover";
}
}
\ No newline at end of file
diff --git a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
index de5b267fbc..f0aa78ff95 100644
--- a/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
+++ b/src/Stripe.net/Services/WebhookEndpoints/WebhookEndpointCreateOptions.cs
@@ -42,7 +42,7 @@ public class WebhookEndpointCreateOptions : BaseOptions, IHasMetadata
/// 2025-01-27.acacia, 2025-02-24.acacia, 2025-03-01.dashboard,
/// 2025-03-31.basil, 2025-04-30.basil, 2025-05-28.basil,
/// 2025-06-30.basil, 2025-07-30.basil, 2025-08-27.basil,
- /// 2025-09-30.clover, or 2025-10-29.clover.
+ /// 2025-09-30.clover, 2025-10-29.clover, or 2025-11-17.clover.
///
[JsonProperty("api_version")]
#if NET6_0_OR_GREATER
From 1f26aac3478b577d9fb4f1d99c775f51b3143372 Mon Sep 17 00:00:00 2001
From: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Date: Sun, 9 Nov 2025 23:51:17 +0000
Subject: [PATCH 2/4] Update generated code for v2114 and
---
API_VERSION | 2 +-
OPENAPI_VERSION | 2 +-
src/Stripe.net/Constants/EventTypes.cs | 10 ++++
.../Entities/BankAccounts/BankAccount.cs | 32 ++++++-----
...onfigurationFeaturesPaymentMethodUpdate.cs | 12 ++++
.../ChargePaymentMethodDetailsIdeal.cs | 9 +++
...reviewUsBankAccountStatusDetailsBlocked.cs | 3 +-
src/Stripe.net/Entities/Events/Event.cs | 2 +
.../FinancialConnections/Accounts/Account.cs | 9 +++
.../Accounts/AccountAccountNumber.cs | 54 ++++++++++++++++++
...aymentAttemptRecordPaymentMethodDetails.cs | 3 -
...tAttemptRecordPaymentMethodDetailsIdeal.cs | 9 +++
...RecordPaymentMethodDetailsUsBankAccount.cs | 6 +-
...MethodUsBankAccountStatusDetailsBlocked.cs | 3 +-
.../PaymentRecordPaymentMethodDetails.cs | 3 -
.../PaymentRecordPaymentMethodDetailsIdeal.cs | 9 +++
...RecordPaymentMethodDetailsUsBankAccount.cs | 6 +-
.../Refunds/RefundDestinationDetails.cs | 12 ++++
.../Refunds/RefundDestinationDetailsMbWay.cs | 30 ++++++++++
.../Refunds/RefundDestinationDetailsTwint.cs | 7 +++
.../OnboardingLinks/OnboardingLink.cs | 56 +++++++++++++++++++
.../OnboardingLinkLinkOptions.cs | 20 +++++++
...gLinkLinkOptionsAppleTermsAndConditions.cs | 29 ++++++++++
.../Public/StripeTypeRegistry.cs | 1 +
.../CustomerBalanceTransactionListOptions.cs | 18 ++++++
.../InvoicePaymentListOptions.cs | 13 +++++
...ountryOptionsUsLocalAmusementTaxOptions.cs | 6 +-
.../OnboardingLinkCreateOptions.cs | 38 +++++++++++++
...nkOptionsAppleTermsAndConditionsOptions.cs | 29 ++++++++++
.../OnboardingLinkLinkOptionsOptions.cs | 20 +++++++
.../OnboardingLinks/OnboardingLinkService.cs | 44 +++++++++++++++
src/Stripe.net/Services/TerminalService.cs | 4 ++
...orizationRiskAssessmentFraudRiskOptions.cs | 33 +++++++++++
.../AuthorizationRiskAssessmentOptions.cs | 9 +++
.../WebhookEndpointCreateOptions.cs | 2 +
.../WebhookEndpointUpdateOptions.cs | 2 +
36 files changed, 516 insertions(+), 31 deletions(-)
create mode 100644 src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountNumber.cs
create mode 100644 src/Stripe.net/Entities/Refunds/RefundDestinationDetailsMbWay.cs
create mode 100644 src/Stripe.net/Entities/Refunds/RefundDestinationDetailsTwint.cs
create mode 100644 src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLink.cs
create mode 100644 src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLinkLinkOptions.cs
create mode 100644 src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsAppleTermsAndConditions.cs
create mode 100644 src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkCreateOptions.cs
create mode 100644 src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsAppleTermsAndConditionsOptions.cs
create mode 100644 src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsOptions.cs
create mode 100644 src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkService.cs
create mode 100644 src/Stripe.net/Services/TestHelpers/Issuing/Authorizations/AuthorizationRiskAssessmentFraudRiskOptions.cs
diff --git a/API_VERSION b/API_VERSION
index afa88f5303..0eb25f0f63 100644
--- a/API_VERSION
+++ b/API_VERSION
@@ -1 +1 @@
-125d391b75519fa8a44e8fdd6c482ca583fe8294
\ No newline at end of file
+30548eb63bda9b0c49c54b3ff449525f9d83b761
\ No newline at end of file
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 5c19124a9f..f23e431db4 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v2113
\ No newline at end of file
+v2114
\ No newline at end of file
diff --git a/src/Stripe.net/Constants/EventTypes.cs b/src/Stripe.net/Constants/EventTypes.cs
index c5488baa38..203816bac0 100644
--- a/src/Stripe.net/Constants/EventTypes.cs
+++ b/src/Stripe.net/Constants/EventTypes.cs
@@ -423,6 +423,11 @@ public static class EventTypes
///
public const string FileCreated = "file.created";
+ ///
+ /// Occurs when a Financial Connections account's account numbers are updated.
+ ///
+ public const string FinancialConnectionsAccountAccountNumbersUpdated = "financial_connections.account.account_numbers_updated";
+
///
/// Occurs when a new Financial Connections account is created.
///
@@ -463,6 +468,11 @@ public static class EventTypes
///
public const string FinancialConnectionsAccountRefreshedTransactions = "financial_connections.account.refreshed_transactions";
+ ///
+ /// Occurs when an Account’s tokenized account number is about to expire.
+ ///
+ public const string FinancialConnectionsAccountUpcomingAccountNumberExpiry = "financial_connections.account.upcoming_account_number_expiry";
+
///
/// Occurs whenever a VerificationSession is canceled.
///
diff --git a/src/Stripe.net/Entities/BankAccounts/BankAccount.cs b/src/Stripe.net/Entities/BankAccounts/BankAccount.cs
index e96dff8d61..27bb0dec24 100644
--- a/src/Stripe.net/Entities/BankAccounts/BankAccount.cs
+++ b/src/Stripe.net/Entities/BankAccounts/BankAccount.cs
@@ -283,21 +283,25 @@ public Customer Customer
///
/// For bank accounts, possible values are new, validated, verified,
- /// verification_failed, or errored. A bank account that hasn't had any
- /// activity or validation performed is new. If Stripe can determine that the bank
- /// account exists, its status will be validated. Note that there often isn’t enough
- /// information to know (e.g., for smaller credit unions), and the validation is not always
- /// run. If customer bank account verification has succeeded, the bank account status will
- /// be verified. If the verification failed for any reason, such as microdeposit
- /// failure, the status will be verification_failed. If a payout sent to this bank
- /// account fails, we'll set the status to errored and will not continue to send scheduled payouts until the
- /// bank details are updated.
+ /// verification_failed, tokenized_account_number_deactivated or
+ /// errored. A bank account that hasn't had any activity or validation performed is
+ /// new. If Stripe can determine that the bank account exists, its status will be
+ /// validated. Note that there often isn’t enough information to know (e.g., for
+ /// smaller credit unions), and the validation is not always run. If customer bank account
+ /// verification has succeeded, the bank account status will be verified. If the
+ /// verification failed for any reason, such as microdeposit failure, the status will be
+ /// verification_failed. If the status is
+ /// tokenized_account_number_deactivated, the account utilizes a tokenized account
+ /// number which has been deactivated due to expiration or revocation. This account will
+ /// need to be reverified to continue using it for money movement. If a payout sent to this
+ /// bank account fails, we'll set the status to errored and will not continue to send
+ /// scheduled payouts until
+ /// the bank details are updated.
///
- /// For external accounts, possible values are new, errored and
- /// verification_failed. If a payout fails, the status is set to errored and
- /// scheduled payouts are stopped until account details are updated. In the US and India, if
- /// we can't new, errored,
+ /// verification_failed, and tokenized_account_number_deactivated. If a payout
+ /// fails, the status is set to errored and scheduled payouts are stopped until
+ /// account details are updated. In the US and India, if we can't verify
/// the owner of the bank account, we'll set the status to verification_failed.
/// Other validations aren't run against external accounts because they're only used for
diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesPaymentMethodUpdate.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesPaymentMethodUpdate.cs
index e0954104d7..1e00668a5f 100644
--- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesPaymentMethodUpdate.cs
+++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesPaymentMethodUpdate.cs
@@ -16,5 +16,17 @@ public class ConfigurationFeaturesPaymentMethodUpdate : StripeEntity
+ /// The Payment Method
+ /// Configuration to use for this portal session. When specified, customers will be able
+ /// to update their payment method to one of the options specified by the payment method
+ /// configuration. If not set, the default payment method configuration is used.
+ ///
+ [JsonProperty("payment_method_configuration")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("payment_method_configuration")]
+#endif
+ public string PaymentMethodConfiguration { get; set; }
}
}
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs
index a18217a5d6..5369ba336c 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs
@@ -132,6 +132,15 @@ public Mandate GeneratedSepaDebitMandate
#endif
public string IbanLast4 { get; set; }
+ ///
+ /// Unique transaction ID generated by iDEAL.
+ ///
+ [JsonProperty("transaction_id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("transaction_id")]
+#endif
+ public string TransactionId { get; set; }
+
///
/// Owner's verified full name. Values are verified or provided by iDEAL directly (if
/// supported) at the time of authorization or settlement. They cannot be set or mutated.
diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewUsBankAccountStatusDetailsBlocked.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewUsBankAccountStatusDetailsBlocked.cs
index 59e33cfa27..05c33bc59a 100644
--- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewUsBankAccountStatusDetailsBlocked.cs
+++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewUsBankAccountStatusDetailsBlocked.cs
@@ -23,7 +23,8 @@ public class ConfirmationTokenPaymentMethodPreviewUsBankAccountStatusDetailsBloc
/// The reason why this PaymentMethod's fingerprint has been blocked.
/// One of: bank_account_closed, bank_account_frozen,
/// bank_account_invalid_details, bank_account_restricted,
- /// bank_account_unusable, or debit_not_authorized.
+ /// bank_account_unusable, debit_not_authorized, or
+ /// tokenized_account_number_deactivated.
///
[JsonProperty("reason")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Events/Event.cs b/src/Stripe.net/Entities/Events/Event.cs
index 4bd3e41c81..0d16de57bd 100644
--- a/src/Stripe.net/Entities/Events/Event.cs
+++ b/src/Stripe.net/Entities/Events/Event.cs
@@ -168,6 +168,7 @@ public class Event : StripeEntity, IHasId, IHasObject
/// customer.tax_id.deleted, customer.tax_id.updated, customer.updated,
/// customer_cash_balance_transaction.created,
/// entitlements.active_entitlement_summary.updated, file.created,
+ /// financial_connections.account.account_numbers_updated,
/// financial_connections.account.created,
/// financial_connections.account.deactivated,
/// financial_connections.account.disconnected,
@@ -175,6 +176,7 @@ public class Event : StripeEntity, IHasId, IHasObject
/// financial_connections.account.refreshed_balance,
/// financial_connections.account.refreshed_ownership,
/// financial_connections.account.refreshed_transactions,
+ /// financial_connections.account.upcoming_account_number_expiry,
/// identity.verification_session.canceled,
/// identity.verification_session.created,
/// identity.verification_session.processing,
diff --git a/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs b/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs
index 591ddc6366..d629637502 100644
--- a/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs
+++ b/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs
@@ -45,6 +45,15 @@ public class Account : StripeEntity, IHasId, IHasObject
#endif
public AccountAccountHolder AccountHolder { get; set; }
+ ///
+ /// Details about the account numbers.
+ ///
+ [JsonProperty("account_numbers")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("account_numbers")]
+#endif
+ public List AccountNumbers { get; set; }
+
///
/// The most recent information about the account's balance.
///
diff --git a/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountNumber.cs b/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountNumber.cs
new file mode 100644
index 0000000000..6541dc1650
--- /dev/null
+++ b/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountNumber.cs
@@ -0,0 +1,54 @@
+// File generated from our OpenAPI spec
+namespace Stripe.FinancialConnections
+{
+ using System;
+ using System.Collections.Generic;
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class AccountAccountNumber : StripeEntity
+ {
+ ///
+ /// When the account number is expected to expire, if applicable.
+ ///
+ [JsonProperty("expected_expiry_date")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_expiry_date")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime? ExpectedExpiryDate { get; set; }
+
+ ///
+ /// The type of account number associated with the account.
+ /// One of: account_number, or tokenized_account_number.
+ ///
+ [JsonProperty("identifier_type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("identifier_type")]
+#endif
+ public string IdentifierType { get; set; }
+
+ ///
+ /// Whether the account number is currently active and usable for transactions.
+ /// One of: deactivated, or transactable.
+ ///
+ [JsonProperty("status")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("status")]
+#endif
+ public string Status { get; set; }
+
+ ///
+ /// The payment networks that the account number can be used for.
+ ///
+ [JsonProperty("supported_networks")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("supported_networks")]
+#endif
+ public List SupportedNetworks { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs
index 2cf4480a6b..a1e6bf232f 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs
@@ -366,9 +366,6 @@ public class PaymentAttemptRecordPaymentMethodDetails : StripeEntity
- /// Details of the US Bank Account used for this payment attempt.
- ///
[JsonProperty("us_bank_account")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("us_bank_account")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs
index dd241bc1a2..cc77b21279 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs
@@ -132,6 +132,15 @@ public Mandate GeneratedSepaDebitMandate
#endif
public string IbanLast4 { get; set; }
+ ///
+ /// Unique transaction ID generated by iDEAL.
+ ///
+ [JsonProperty("transaction_id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("transaction_id")]
+#endif
+ public string TransactionId { get; set; }
+
///
/// Owner's verified full name. Values are verified or provided by iDEAL directly (if
/// supported) at the time of authorization or settlement. They cannot be set or mutated.
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs
index 5d64c89d8d..acdecb8120 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs
@@ -13,6 +13,7 @@ namespace Stripe
public class PaymentAttemptRecordPaymentMethodDetailsUsBankAccount : StripeEntity
{
///
+ /// The type of entity that holds the account. This can be either 'individual' or 'company'.
/// One of: company, or individual.
///
[JsonProperty("account_holder_type")]
@@ -22,6 +23,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsUsBankAccount : StripeEntit
public string AccountHolderType { get; set; }
///
+ /// The type of the bank account. This can be either 'checking' or 'savings'.
/// One of: checking, or savings.
///
[JsonProperty("account_type")]
@@ -100,7 +102,7 @@ public Mandate Mandate
#endregion
///
- /// Reference number to locate ACH payments with customer’s bank.
+ /// The ACH payment reference for this transaction.
///
[JsonProperty("payment_reference")]
#if NET6_0_OR_GREATER
@@ -109,7 +111,7 @@ public Mandate Mandate
public string PaymentReference { get; set; }
///
- /// Routing number of the bank account.
+ /// The routing number for the bank account.
///
[JsonProperty("routing_number")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodUsBankAccountStatusDetailsBlocked.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodUsBankAccountStatusDetailsBlocked.cs
index c575943be0..a9ead620a9 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodUsBankAccountStatusDetailsBlocked.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodUsBankAccountStatusDetailsBlocked.cs
@@ -23,7 +23,8 @@ public class PaymentMethodUsBankAccountStatusDetailsBlocked : StripeEntitybank_account_closed, bank_account_frozen,
/// bank_account_invalid_details, bank_account_restricted,
- /// bank_account_unusable, or debit_not_authorized.
+ /// bank_account_unusable, debit_not_authorized, or
+ /// tokenized_account_number_deactivated.
///
[JsonProperty("reason")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs
index 62057a1416..3364ea16ea 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs
@@ -366,9 +366,6 @@ public class PaymentRecordPaymentMethodDetails : StripeEntity
- /// Details of the US Bank Account used for this payment attempt.
- ///
[JsonProperty("us_bank_account")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("us_bank_account")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs
index a5a16582b6..22bb5a881e 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs
@@ -132,6 +132,15 @@ public Mandate GeneratedSepaDebitMandate
#endif
public string IbanLast4 { get; set; }
+ ///
+ /// Unique transaction ID generated by iDEAL.
+ ///
+ [JsonProperty("transaction_id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("transaction_id")]
+#endif
+ public string TransactionId { get; set; }
+
///
/// Owner's verified full name. Values are verified or provided by iDEAL directly (if
/// supported) at the time of authorization or settlement. They cannot be set or mutated.
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs
index 40823c3e48..a26ba93bf8 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs
@@ -13,6 +13,7 @@ namespace Stripe
public class PaymentRecordPaymentMethodDetailsUsBankAccount : StripeEntity
{
///
+ /// The type of entity that holds the account. This can be either 'individual' or 'company'.
/// One of: company, or individual.
///
[JsonProperty("account_holder_type")]
@@ -22,6 +23,7 @@ public class PaymentRecordPaymentMethodDetailsUsBankAccount : StripeEntity
+ /// The type of the bank account. This can be either 'checking' or 'savings'.
/// One of: checking, or savings.
///
[JsonProperty("account_type")]
@@ -100,7 +102,7 @@ public Mandate Mandate
#endregion
///
- /// Reference number to locate ACH payments with customer’s bank.
+ /// The ACH payment reference for this transaction.
///
[JsonProperty("payment_reference")]
#if NET6_0_OR_GREATER
@@ -109,7 +111,7 @@ public Mandate Mandate
public string PaymentReference { get; set; }
///
- /// Routing number of the bank account.
+ /// The routing number for the bank account.
///
[JsonProperty("routing_number")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Refunds/RefundDestinationDetails.cs b/src/Stripe.net/Entities/Refunds/RefundDestinationDetails.cs
index 44987e7c86..1b2adf9ea4 100644
--- a/src/Stripe.net/Entities/Refunds/RefundDestinationDetails.cs
+++ b/src/Stripe.net/Entities/Refunds/RefundDestinationDetails.cs
@@ -122,6 +122,12 @@ public class RefundDestinationDetails : StripeEntity
#endif
public RefundDestinationDetailsKlarna Klarna { get; set; }
+ [JsonProperty("mb_way")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("mb_way")]
+#endif
+ public RefundDestinationDetailsMbWay MbWay { get; set; }
+
[JsonProperty("multibanco")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("multibanco")]
@@ -188,6 +194,12 @@ public class RefundDestinationDetails : StripeEntity
#endif
public RefundDestinationDetailsThBankTransfer ThBankTransfer { get; set; }
+ [JsonProperty("twint")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("twint")]
+#endif
+ public RefundDestinationDetailsTwint Twint { get; set; }
+
///
/// The type of transaction-specific details of the payment method used in the refund (e.g.,
/// card). An additional hash is included on destination_details with a name
diff --git a/src/Stripe.net/Entities/Refunds/RefundDestinationDetailsMbWay.cs b/src/Stripe.net/Entities/Refunds/RefundDestinationDetailsMbWay.cs
new file mode 100644
index 0000000000..a9282384b3
--- /dev/null
+++ b/src/Stripe.net/Entities/Refunds/RefundDestinationDetailsMbWay.cs
@@ -0,0 +1,30 @@
+// File generated from our OpenAPI spec
+namespace Stripe
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class RefundDestinationDetailsMbWay : StripeEntity
+ {
+ ///
+ /// The reference assigned to the refund.
+ ///
+ [JsonProperty("reference")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("reference")]
+#endif
+ public string Reference { get; set; }
+
+ ///
+ /// Status of the reference on the refund. This can be pending, available or
+ /// unavailable.
+ ///
+ [JsonProperty("reference_status")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("reference_status")]
+#endif
+ public string ReferenceStatus { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Refunds/RefundDestinationDetailsTwint.cs b/src/Stripe.net/Entities/Refunds/RefundDestinationDetailsTwint.cs
new file mode 100644
index 0000000000..add2b7acf9
--- /dev/null
+++ b/src/Stripe.net/Entities/Refunds/RefundDestinationDetailsTwint.cs
@@ -0,0 +1,7 @@
+// File generated from our OpenAPI spec
+namespace Stripe
+{
+ public class RefundDestinationDetailsTwint : StripeEntity
+ {
+ }
+}
diff --git a/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLink.cs b/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLink.cs
new file mode 100644
index 0000000000..33fbd45dca
--- /dev/null
+++ b/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLink.cs
@@ -0,0 +1,56 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Terminal
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// Returns redirect links used for onboarding onto Tap to Pay on iPhone.
+ ///
+ public class OnboardingLink : StripeEntity, IHasObject
+ {
+ [JsonProperty("object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("object")]
+#endif
+ public string Object { get; set; }
+
+ ///
+ /// Link type options associated with the current onboarding link object.
+ ///
+ [JsonProperty("link_options")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("link_options")]
+#endif
+ public OnboardingLinkLinkOptions LinkOptions { get; set; }
+
+ ///
+ /// The type of link being generated.
+ ///
+ [JsonProperty("link_type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("link_type")]
+#endif
+ public string LinkType { get; set; }
+
+ ///
+ /// Stripe account ID to generate the link for.
+ ///
+ [JsonProperty("on_behalf_of")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("on_behalf_of")]
+#endif
+ public string OnBehalfOf { get; set; }
+
+ ///
+ /// The link passed back to the user for their onboarding.
+ ///
+ [JsonProperty("redirect_url")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("redirect_url")]
+#endif
+ public string RedirectUrl { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLinkLinkOptions.cs b/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLinkLinkOptions.cs
new file mode 100644
index 0000000000..24bcc24a03
--- /dev/null
+++ b/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLinkLinkOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Terminal
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class OnboardingLinkLinkOptions : StripeEntity
+ {
+ ///
+ /// The options associated with the Apple Terms and Conditions link type.
+ ///
+ [JsonProperty("apple_terms_and_conditions")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("apple_terms_and_conditions")]
+#endif
+ public OnboardingLinkLinkOptionsAppleTermsAndConditions AppleTermsAndConditions { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsAppleTermsAndConditions.cs b/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsAppleTermsAndConditions.cs
new file mode 100644
index 0000000000..8b971ab7af
--- /dev/null
+++ b/src/Stripe.net/Entities/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsAppleTermsAndConditions.cs
@@ -0,0 +1,29 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Terminal
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class OnboardingLinkLinkOptionsAppleTermsAndConditions : StripeEntity
+ {
+ ///
+ /// Whether the link should also support users relinking their Apple account.
+ ///
+ [JsonProperty("allow_relinking")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("allow_relinking")]
+#endif
+ public bool? AllowRelinking { get; set; }
+
+ ///
+ /// The business name of the merchant accepting Apple's Terms and Conditions.
+ ///
+ [JsonProperty("merchant_display_name")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("merchant_display_name")]
+#endif
+ public string MerchantDisplayName { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs b/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs
index fd02dfbe35..36cbffcd10 100644
--- a/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs
+++ b/src/Stripe.net/Infrastructure/Public/StripeTypeRegistry.cs
@@ -155,6 +155,7 @@ public static class StripeTypeRegistry
{ "terminal.configuration", typeof(Terminal.Configuration) },
{ "terminal.connection_token", typeof(Terminal.ConnectionToken) },
{ "terminal.location", typeof(Terminal.Location) },
+ { "terminal.onboarding_link", typeof(Terminal.OnboardingLink) },
{ "terminal.reader", typeof(Terminal.Reader) },
{ "test_helpers.test_clock", typeof(TestHelpers.TestClock) },
{ "token", typeof(Token) },
diff --git a/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionListOptions.cs b/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionListOptions.cs
index 94d00ca0ad..0251ef05b3 100644
--- a/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionListOptions.cs
+++ b/src/Stripe.net/Services/CustomerBalanceTransactions/CustomerBalanceTransactionListOptions.cs
@@ -1,7 +1,25 @@
// File generated from our OpenAPI spec
namespace Stripe
{
+ using System;
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
public class CustomerBalanceTransactionListOptions : ListOptions
{
+ ///
+ /// Only return customer balance transactions that were created during the given date
+ /// interval.
+ ///
+ [JsonProperty("created")]
+ [JsonConverter(typeof(AnyOfConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created")]
+ [STJS.JsonConverter(typeof(STJAnyOfConverter))]
+#endif
+ public AnyOf Created { get; set; }
}
}
diff --git a/src/Stripe.net/Services/InvoicePayments/InvoicePaymentListOptions.cs b/src/Stripe.net/Services/InvoicePayments/InvoicePaymentListOptions.cs
index 7b6066f04e..a190b3b7e7 100644
--- a/src/Stripe.net/Services/InvoicePayments/InvoicePaymentListOptions.cs
+++ b/src/Stripe.net/Services/InvoicePayments/InvoicePaymentListOptions.cs
@@ -1,13 +1,26 @@
// File generated from our OpenAPI spec
namespace Stripe
{
+ using System;
using Newtonsoft.Json;
+ using Stripe.Infrastructure;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif
public class InvoicePaymentListOptions : ListOptions
{
+ ///
+ /// Only return invoice payments that were created during the given date interval.
+ ///
+ [JsonProperty("created")]
+ [JsonConverter(typeof(AnyOfConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created")]
+ [STJS.JsonConverter(typeof(STJAnyOfConverter))]
+#endif
+ public AnyOf Created { get; set; }
+
///
/// The identifier of the invoice whose payments to return.
///
diff --git a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsLocalAmusementTaxOptions.cs b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsLocalAmusementTaxOptions.cs
index 8c29521f04..7f9f086e23 100644
--- a/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsLocalAmusementTaxOptions.cs
+++ b/src/Stripe.net/Services/Tax/Registrations/RegistrationCountryOptionsUsLocalAmusementTaxOptions.cs
@@ -11,9 +11,9 @@ public class RegistrationCountryOptionsUsLocalAmusementTaxOptions : INestedOptio
///
/// A FIPS code
/// representing the local jurisdiction. Supported FIPS codes are: 14000 (Chicago),
- /// 06613 (Bloomington), 21696 (East Dundee), 24582 (Evanston),
- /// 45421 (Lynwood), 48892 (Midlothian), 64343 (River Grove), and
- /// 68081 (Schiller Park).
+ /// 02154 (Arlington Heights), 06613 (Bloomington), 10906 (Campton
+ /// Hills), 21696 (East Dundee), 24582 (Evanston), 45421 (Lynwood),
+ /// 48892 (Midlothian), 64343 (River Grove), and 68081 (Schiller Park).
///
[JsonProperty("jurisdiction")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkCreateOptions.cs b/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkCreateOptions.cs
new file mode 100644
index 0000000000..34172ef9e3
--- /dev/null
+++ b/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkCreateOptions.cs
@@ -0,0 +1,38 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Terminal
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class OnboardingLinkCreateOptions : BaseOptions
+ {
+ ///
+ /// Specific fields needed to generate the desired link type.
+ ///
+ [JsonProperty("link_options")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("link_options")]
+#endif
+ public OnboardingLinkLinkOptionsOptions LinkOptions { get; set; }
+
+ ///
+ /// The type of link being generated.
+ ///
+ [JsonProperty("link_type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("link_type")]
+#endif
+ public string LinkType { get; set; }
+
+ ///
+ /// Stripe account ID to generate the link for.
+ ///
+ [JsonProperty("on_behalf_of")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("on_behalf_of")]
+#endif
+ public string OnBehalfOf { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsAppleTermsAndConditionsOptions.cs b/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsAppleTermsAndConditionsOptions.cs
new file mode 100644
index 0000000000..3330036ed0
--- /dev/null
+++ b/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsAppleTermsAndConditionsOptions.cs
@@ -0,0 +1,29 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Terminal
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class OnboardingLinkLinkOptionsAppleTermsAndConditionsOptions : INestedOptions
+ {
+ ///
+ /// Whether the link should also support users relinking their Apple account.
+ ///
+ [JsonProperty("allow_relinking")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("allow_relinking")]
+#endif
+ public bool? AllowRelinking { get; set; }
+
+ ///
+ /// The business name of the merchant accepting Apple's Terms and Conditions.
+ ///
+ [JsonProperty("merchant_display_name")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("merchant_display_name")]
+#endif
+ public string MerchantDisplayName { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsOptions.cs b/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsOptions.cs
new file mode 100644
index 0000000000..c9fa2f0570
--- /dev/null
+++ b/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkLinkOptionsOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Terminal
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class OnboardingLinkLinkOptionsOptions : INestedOptions
+ {
+ ///
+ /// The options associated with the Apple Terms and Conditions link type.
+ ///
+ [JsonProperty("apple_terms_and_conditions")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("apple_terms_and_conditions")]
+#endif
+ public OnboardingLinkLinkOptionsAppleTermsAndConditionsOptions AppleTermsAndConditions { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkService.cs b/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkService.cs
new file mode 100644
index 0000000000..215043e282
--- /dev/null
+++ b/src/Stripe.net/Services/Terminal/OnboardingLinks/OnboardingLinkService.cs
@@ -0,0 +1,44 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Terminal
+{
+ using System;
+ using System.Net.Http;
+ using System.Threading;
+ using System.Threading.Tasks;
+
+ public class OnboardingLinkService : Service,
+ ICreatable
+ {
+ public OnboardingLinkService()
+ {
+ }
+
+ internal OnboardingLinkService(ApiRequestor requestor)
+ : base(requestor)
+ {
+ }
+
+ public OnboardingLinkService(IStripeClient client)
+ : base(client)
+ {
+ }
+
+ ///
+ ///
Creates a new OnboardingLink object that contains a redirect_url used for
+ /// onboarding onto Tap to Pay on iPhone.