diff --git a/CHANGELOG.md b/CHANGELOG.md
index fed5cc3bb0..6747937645 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,33 @@
# Changelog
+## 47.3.0 - 2025-01-27
+* [#3044](https://github.com/stripe/stripe-dotnet/pull/3044) Update generated code
+ * Add support for `Close` method on resource `Treasury.FinancialAccount`
+ * Add support for `PayByBankPayments` on `AccountCapabilitiesOptions` and `AccountCapabilities`
+ * Add support for `DirectorshipDeclaration` and `OwnershipExemptionReason` on `AccountCompanyOptions`, `AccountCompany`, and `TokenAccountCompanyOptions`
+ * Add support for `ProofOfUltimateBeneficialOwnership` on `AccountDocumentsOptions`
+ * Add support for `FinancialAccount` on `AccountSessionComponentsOptions`, `AccountSessionComponents`, and `TreasuryOutboundTransferDestinationPaymentMethodDetails`
+ * Add support for `FinancialAccountTransactions`, `IssuingCard`, and `IssuingCardsList` on `AccountSessionComponentsOptions` and `AccountSessionComponents`
+ * Add support for `AdviceCode` on `ChargeOutcome`, `InvoiceLastFinalizationError`, `PaymentIntentLastPaymentError`, `SetupAttemptSetupError`, `SetupIntentLastSetupError`, and `StripeError`
+ * Add support for `PayByBank` on `ChargePaymentMethodDetails`, `CheckoutSessionPaymentMethodOptionsOptions`, `ConfirmationTokenPaymentMethodDataOptions`, `ConfirmationTokenPaymentMethodPreview`, `PaymentIntentPaymentMethodDataOptions`, `PaymentIntentPaymentMethodOptionsOptions`, `PaymentIntentPaymentMethodOptions`, `PaymentMethodConfigurationCreateOptions`, `PaymentMethodConfigurationUpdateOptions`, `PaymentMethodConfiguration`, `PaymentMethodCreateOptions`, `PaymentMethodUpdateOptions`, `PaymentMethod`, and `SetupIntentPaymentMethodDataOptions`
+ * Add support for `Country` on `ChargePaymentMethodDetailsPaypal`, `ConfirmationTokenPaymentMethodPreviewPaypal`, and `PaymentMethodPaypal`
+ * Add support for `Discounts` on `CheckoutSession`
+ * Add support for `PhoneNumberCollection` on `PaymentLinkUpdateOptions`
+ * Add support for `Jpy` on `TerminalConfigurationTippingOptions` and `TerminalConfigurationTipping`
+ * Add support for `Nickname` on `Treasury.FinancialAccountCreateOptions`, `Treasury.FinancialAccountUpdateOptions`, and `TreasuryFinancialAccount`
+ * Add support for `ForwardingSettings` on `Treasury.FinancialAccountUpdateOptions`
+ * Add support for `IsDefault` on `TreasuryFinancialAccount`
+ * Add support for `DestinationPaymentMethodData` on `Treasury.OutboundTransferCreateOptions`
+ * Change type of `TreasuryOutboundTransferDestinationPaymentMethodDetailsType` from `literal('us_bank_account')` to `enum('financial_account'|'us_bank_account')`
+ * Add support for `OutboundTransfer` on `TreasuryReceivedCreditLinkedFlowsSourceFlowDetails`
+* [#3046](https://github.com/stripe/stripe-dotnet/pull/3046) update justfile import
+* [#3045](https://github.com/stripe/stripe-dotnet/pull/3045) Added CONTRIBUTING.md file
+* [#3047](https://github.com/stripe/stripe-dotnet/pull/3047) Pin ubuntu version in ci
+* [#3040](https://github.com/stripe/stripe-dotnet/pull/3040) Add justfile, remove coveralls
+* [#3042](https://github.com/stripe/stripe-dotnet/pull/3042) Remove debug build and test from CI
+* [#3039](https://github.com/stripe/stripe-dotnet/pull/3039) Fixed supported frameworks in project description and readme
+* [#3038](https://github.com/stripe/stripe-dotnet/pull/3038) Added pull request template
+
## 47.3.0-beta.3 - 2025-01-23
* [#3048](https://github.com/stripe/stripe-dotnet/pull/3048) Update generated code for beta
* Remove support for `StripeAccount` on `TerminalReaderActionCollectPaymentMethod`, `TerminalReaderActionConfirmPaymentIntent`, `TerminalReaderActionProcessPaymentIntent`, and `TerminalReaderActionRefundPayment`
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 5454d94e19..130232bf35 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v1460
\ No newline at end of file
+v1472
\ No newline at end of file
diff --git a/src/Stripe.net/Constants/EventTypes.cs b/src/Stripe.net/Constants/EventTypes.cs
index 48cfd750aa..84a496f00b 100644
--- a/src/Stripe.net/Constants/EventTypes.cs
+++ b/src/Stripe.net/Constants/EventTypes.cs
@@ -137,7 +137,8 @@ public static class EventTypes
public const string CapitalFinancingOfferRejected = "capital.financing_offer.rejected";
///
- /// Occurs whenever a replacement for a financing offer has been created.
+ /// Occurs whenever a replacement for a financing offer has been created. More details can
+ /// be found here.
///
public const string CapitalFinancingOfferReplacementCreated = "capital.financing_offer.replacement_created";
diff --git a/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs b/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs
index 38ebc38562..5cac46bc9a 100644
--- a/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs
@@ -19,5 +19,19 @@ public class AccountRiskControls : StripeEntity
[STJS.JsonPropertyName("payouts")]
#endif
public AccountRiskControlsPayouts Payouts { get; set; }
+
+ ///
+ /// Represents the rejected reason of the account. Empty if account is not rejected, or
+ /// rejected by Stripe. Please see this page for
+ /// more details.
+ /// One of: credit, fraud, fraud_no_intent_to_fulfill,
+ /// fraud_other, fraud_payment_method_casher,
+ /// fraud_payment_method_tester, other, or terms_of_service.
+ ///
+ [JsonProperty("rejected_reason")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("rejected_reason")]
+#endif
+ public string RejectedReason { get; set; }
}
}
diff --git a/src/Stripe.net/Entities/Balances/BalanceInstantAvailableNetAvailableSourceTypes.cs b/src/Stripe.net/Entities/Balances/BalanceInstantAvailableNetAvailableSourceTypes.cs
index 8e2b49d236..7ed5262d7a 100644
--- a/src/Stripe.net/Entities/Balances/BalanceInstantAvailableNetAvailableSourceTypes.cs
+++ b/src/Stripe.net/Entities/Balances/BalanceInstantAvailableNetAvailableSourceTypes.cs
@@ -9,7 +9,8 @@ namespace Stripe
public class BalanceInstantAvailableNetAvailableSourceTypes : StripeEntity
{
///
- /// Amount for bank account.
+ /// Amount coming from legacy US ACH
+ /// payments.
///
[JsonProperty("bank_account")]
#if NET6_0_OR_GREATER
@@ -18,7 +19,8 @@ public class BalanceInstantAvailableNetAvailableSourceTypes : StripeEntity
- /// Amount for card.
+ /// Amount coming from most payment methods, including cards as well as non-legacy bank debits.
///
[JsonProperty("card")]
#if NET6_0_OR_GREATER
@@ -27,7 +29,8 @@ public class BalanceInstantAvailableNetAvailableSourceTypes : StripeEntity
- /// Amount for FPX.
+ /// Amount coming from FPX, a Malaysian
+ /// payment method.
///
[JsonProperty("fpx")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Balances/BalanceInstantAvailableSourceTypes.cs b/src/Stripe.net/Entities/Balances/BalanceInstantAvailableSourceTypes.cs
index 691130675d..a203081065 100644
--- a/src/Stripe.net/Entities/Balances/BalanceInstantAvailableSourceTypes.cs
+++ b/src/Stripe.net/Entities/Balances/BalanceInstantAvailableSourceTypes.cs
@@ -9,7 +9,8 @@ namespace Stripe
public class BalanceInstantAvailableSourceTypes : StripeEntity
{
///
- /// Amount for bank account.
+ /// Amount coming from legacy US ACH
+ /// payments.
///
[JsonProperty("bank_account")]
#if NET6_0_OR_GREATER
@@ -18,7 +19,8 @@ public class BalanceInstantAvailableSourceTypes : StripeEntity
- /// Amount for card.
+ /// Amount coming from most payment methods, including cards as well as non-legacy bank debits.
///
[JsonProperty("card")]
#if NET6_0_OR_GREATER
@@ -27,7 +29,8 @@ public class BalanceInstantAvailableSourceTypes : StripeEntity
- /// Amount for FPX.
+ /// Amount coming from FPX, a Malaysian
+ /// payment method.
///
[JsonProperty("fpx")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs
index f78bbb20c7..61fcbf3e60 100644
--- a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs
+++ b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScope.cs
@@ -1,6 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe.Billing
{
+ using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
@@ -18,5 +19,16 @@ public class CreditGrantApplicabilityConfigScope : StripeEntity
+ /// The prices that credit grants can apply to. We currently only support metered
+ /// prices. This refers to prices that have a Billing Meter attached to them.
+ ///
+ [JsonProperty("prices")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("prices")]
+#endif
+ public List Prices { get; set; }
}
}
diff --git a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScopePrice.cs b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScopePrice.cs
new file mode 100644
index 0000000000..3620b111e4
--- /dev/null
+++ b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrantApplicabilityConfigScopePrice.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Billing
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class CreditGrantApplicabilityConfigScopePrice : StripeEntity, IHasId
+ {
+ ///
+ /// Unique identifier for the object.
+ ///
+ [JsonProperty("id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("id")]
+#endif
+ public string Id { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Billing/MeterEventSummaries/MeterEventSummary.cs b/src/Stripe.net/Entities/Billing/MeterEventSummaries/MeterEventSummary.cs
index 7bca18aa73..13d0b818a5 100644
--- a/src/Stripe.net/Entities/Billing/MeterEventSummaries/MeterEventSummary.cs
+++ b/src/Stripe.net/Entities/Billing/MeterEventSummaries/MeterEventSummary.cs
@@ -12,6 +12,9 @@ namespace Stripe.Billing
/// A billing meter event summary represents an aggregated view of a customer's billing
/// meter events within a specified timeframe. It indicates how much usage was accrued by a
/// customer for that period.
+ ///
+ /// Note: Meters events are aggregated asynchronously so the meter event summaries provide
+ /// an eventually consistent view of the reported usage.
///
public class MeterEventSummary : StripeEntity, IHasId, IHasObject
{
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs
index b88e5858b5..20f1befcff 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAmazonPayFundingCard.cs
@@ -19,6 +19,17 @@ public class ChargePaymentMethodDetailsAmazonPayFundingCard : StripeEntity
+ /// The product code that
+ /// identifies the specific program or product associated with a card. (For internal use
+ /// only and not typically available in standard API requests.).
+ ///
+ [JsonProperty("brand_product")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("brand_product")]
+#endif
+ public string BrandProduct { get; set; }
+
///
/// Two-letter ISO code representing the country of the card. You could use this attribute
/// to get a sense of the international breakdown of cards you've collected.
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs
index 23b7969215..adf566a9e8 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsRevolutPayFundingCard.cs
@@ -19,6 +19,17 @@ public class ChargePaymentMethodDetailsRevolutPayFundingCard : StripeEntity
+ /// The product code that
+ /// identifies the specific program or product associated with a card. (For internal use
+ /// only and not typically available in standard API requests.).
+ ///
+ [JsonProperty("brand_product")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("brand_product")]
+#endif
+ public string BrandProduct { get; set; }
+
///
/// Two-letter ISO code representing the country of the card. You could use this attribute
/// to get a sense of the international breakdown of cards you've collected.
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs
index def402740c..814401d717 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs
@@ -88,6 +88,12 @@ public class SessionPaymentMethodOptionsCard : StripeEntity
/// Indicates that you intend to make future payments with this PaymentIntent's payment
/// method.
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCardRestrictions.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCardRestrictions.cs
new file mode 100644
index 0000000000..96feb641c7
--- /dev/null
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCardRestrictions.cs
@@ -0,0 +1,24 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Checkout
+{
+ using System.Collections.Generic;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class SessionPaymentMethodOptionsCardRestrictions : StripeEntity
+ {
+ ///
+ /// Specify the card brands to block in the Checkout Session. If a customer enters or
+ /// selects a card belonging to a blocked brand, they can't complete the Session.
+ /// One of: american_express, discover_global_network, mastercard, or
+ /// visa.
+ ///
+ [JsonProperty("brands_blocked")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("brands_blocked")]
+#endif
+ public List BrandsBlocked { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionShippingCostTax.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionShippingCostTax.cs
index 0618d97c1f..fc48aadbd8 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/SessionShippingCostTax.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionShippingCostTax.cs
@@ -19,12 +19,12 @@ public class SessionShippingCostTax : StripeEntity
///
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownTax.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownTax.cs
index a6386c613b..2e59e9b79c 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownTax.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownTax.cs
@@ -19,12 +19,12 @@ public class SessionTotalDetailsBreakdownTax : StripeEntity
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardNetworks.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardNetworks.cs
index 19399c264d..42318d5898 100644
--- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardNetworks.cs
+++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardNetworks.cs
@@ -10,7 +10,8 @@ namespace Stripe
public class ConfirmationTokenPaymentMethodPreviewCardNetworks : StripeEntity
{
///
- /// All available networks for the card.
+ /// All networks available for selection via payment_method_options.card.network.
///
[JsonProperty("available")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresentNetworks.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresentNetworks.cs
index ebec265ba9..87a6a9d7a1 100644
--- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresentNetworks.cs
+++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardPresentNetworks.cs
@@ -10,7 +10,8 @@ namespace Stripe
public class ConfirmationTokenPaymentMethodPreviewCardPresentNetworks : StripeEntity
{
///
- /// All available networks for the card.
+ /// All networks available for selection via payment_method_options.card.network.
///
[JsonProperty("available")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewInteracPresentNetworks.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewInteracPresentNetworks.cs
index 42bd06e1aa..73c89fcf9b 100644
--- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewInteracPresentNetworks.cs
+++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewInteracPresentNetworks.cs
@@ -10,7 +10,8 @@ namespace Stripe
public class ConfirmationTokenPaymentMethodPreviewInteracPresentNetworks : StripeEntity
{
///
- /// All available networks for the card.
+ /// All networks available for selection via payment_method_options.card.network.
///
[JsonProperty("available")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/CreditNotes/CreditNoteShippingCostTax.cs b/src/Stripe.net/Entities/CreditNotes/CreditNoteShippingCostTax.cs
index ec424055dd..f9ccec715a 100644
--- a/src/Stripe.net/Entities/CreditNotes/CreditNoteShippingCostTax.cs
+++ b/src/Stripe.net/Entities/CreditNotes/CreditNoteShippingCostTax.cs
@@ -19,12 +19,12 @@ public class CreditNoteShippingCostTax : StripeEntity
///
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Invoices/InvoiceShippingCostTax.cs b/src/Stripe.net/Entities/Invoices/InvoiceShippingCostTax.cs
index 54af7cb9d1..831885c4f2 100644
--- a/src/Stripe.net/Entities/Invoices/InvoiceShippingCostTax.cs
+++ b/src/Stripe.net/Entities/Invoices/InvoiceShippingCostTax.cs
@@ -19,12 +19,12 @@ public class InvoiceShippingCostTax : StripeEntity
///
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/LineItems/LineItemTax.cs b/src/Stripe.net/Entities/LineItems/LineItemTax.cs
index d9a8c718cb..8ba5ff07b8 100644
--- a/src/Stripe.net/Entities/LineItems/LineItemTax.cs
+++ b/src/Stripe.net/Entities/LineItems/LineItemTax.cs
@@ -19,12 +19,12 @@ public class LineItemTax : StripeEntity
///
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Orders/OrderShippingCostTax.cs b/src/Stripe.net/Entities/Orders/OrderShippingCostTax.cs
index e554289995..a35cbbcb6b 100644
--- a/src/Stripe.net/Entities/Orders/OrderShippingCostTax.cs
+++ b/src/Stripe.net/Entities/Orders/OrderShippingCostTax.cs
@@ -19,12 +19,12 @@ public class OrderShippingCostTax : StripeEntity
///
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownTax.cs b/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownTax.cs
index 784c447c1b..6e96badbff 100644
--- a/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownTax.cs
+++ b/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownTax.cs
@@ -19,12 +19,12 @@ public class OrderTotalDetailsBreakdownTax : StripeEntity
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardNetworks.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardNetworks.cs
index 4a50e56813..e73893e019 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardNetworks.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardNetworks.cs
@@ -10,7 +10,8 @@ namespace Stripe
public class PaymentMethodCardNetworks : StripeEntity
{
///
- /// All available networks for the card.
+ /// All networks available for selection via payment_method_options.card.network.
///
[JsonProperty("available")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardPresentNetworks.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardPresentNetworks.cs
index 66c7575e62..fedf096100 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardPresentNetworks.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardPresentNetworks.cs
@@ -10,7 +10,8 @@ namespace Stripe
public class PaymentMethodCardPresentNetworks : StripeEntity
{
///
- /// All available networks for the card.
+ /// All networks available for selection via payment_method_options.card.network.
///
[JsonProperty("available")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodInteracPresentNetworks.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodInteracPresentNetworks.cs
index f960957f2a..d938674a40 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodInteracPresentNetworks.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodInteracPresentNetworks.cs
@@ -10,7 +10,8 @@ namespace Stripe
public class PaymentMethodInteracPresentNetworks : StripeEntity
{
///
- /// All available networks for the card.
+ /// All networks available for selection via payment_method_options.card.network.
///
[JsonProperty("available")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceShippingCostTax.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceShippingCostTax.cs
index 974432ee30..276656fd0c 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceShippingCostTax.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceShippingCostTax.cs
@@ -19,12 +19,12 @@ public class QuotePreviewInvoiceShippingCostTax : StripeEntity
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownTax.cs b/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownTax.cs
index 768cb6d5da..22900b70f5 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownTax.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownTax.cs
@@ -19,12 +19,12 @@ public class QuoteComputedRecurringTotalDetailsBreakdownTax : StripeEntity
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownTax.cs b/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownTax.cs
index fb26d0940f..eb2ae61182 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownTax.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownTax.cs
@@ -19,12 +19,12 @@ public class QuoteComputedUpfrontTotalDetailsBreakdownTax : StripeEntity
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownTax.cs b/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownTax.cs
index 8010d81fd0..c218339c6f 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownTax.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownTax.cs
@@ -19,12 +19,12 @@ public class QuoteTotalDetailsBreakdownTax : StripeEntity
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
[JsonProperty("rate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItemTaxBreakdownJurisdiction.cs b/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItemTaxBreakdownJurisdiction.cs
index 5a37d666c2..c847961632 100644
--- a/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItemTaxBreakdownJurisdiction.cs
+++ b/src/Stripe.net/Entities/Tax/CalculationLineItems/CalculationLineItemTaxBreakdownJurisdiction.cs
@@ -38,7 +38,7 @@ public class CalculationLineItemTaxBreakdownJurisdiction : StripeEntity
- /// ISO 3166-2 subdivision code,
+ /// ISO 3166-2 subdivision code,
/// without country prefix. For example, "NY" for New York, United States.
///
[JsonProperty("state")]
diff --git a/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCostTaxBreakdownJurisdiction.cs b/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCostTaxBreakdownJurisdiction.cs
index 0a7363bcc6..377d76c17a 100644
--- a/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCostTaxBreakdownJurisdiction.cs
+++ b/src/Stripe.net/Entities/Tax/Calculations/CalculationShippingCostTaxBreakdownJurisdiction.cs
@@ -38,7 +38,7 @@ public class CalculationShippingCostTaxBreakdownJurisdiction : StripeEntity
- /// ISO 3166-2 subdivision code,
+ /// ISO 3166-2 subdivision code,
/// without country prefix. For example, "NY" for New York, United States.
///
[JsonProperty("state")]
diff --git a/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCostTaxBreakdownJurisdiction.cs b/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCostTaxBreakdownJurisdiction.cs
index 7aa8e006b4..4c930e23f4 100644
--- a/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCostTaxBreakdownJurisdiction.cs
+++ b/src/Stripe.net/Entities/Tax/Transactions/TransactionShippingCostTaxBreakdownJurisdiction.cs
@@ -38,7 +38,7 @@ public class TransactionShippingCostTaxBreakdownJurisdiction : StripeEntity
- /// ISO 3166-2 subdivision code,
+ /// ISO 3166-2 subdivision code,
/// without country prefix. For example, "NY" for New York, United States.
///
[JsonProperty("state")]
diff --git a/src/Stripe.net/Entities/TaxRates/TaxRate.cs b/src/Stripe.net/Entities/TaxRates/TaxRate.cs
index e9849330f2..e8c58bacc2 100644
--- a/src/Stripe.net/Entities/TaxRates/TaxRate.cs
+++ b/src/Stripe.net/Entities/TaxRates/TaxRate.cs
@@ -11,12 +11,12 @@ namespace Stripe
///
/// Tax rates can be applied to invoices, subscriptions and Checkout
- /// Sessions to collect tax.
+ /// href="https://stripe.com/invoicing/taxes/tax-rates">invoices, subscriptions and Checkout Sessions
+ /// to collect tax.
///
- /// Related guide: Tax rates.
+ /// Related guide: Tax rates.
///
public class TaxRate : StripeEntity, IHasId, IHasMetadata, IHasObject
{
@@ -188,7 +188,7 @@ public class TaxRate : StripeEntity, IHasId, IHasMetadata, IHasObject
public string RateType { get; set; }
///
- /// ISO 3166-2 subdivision code,
+ /// ISO 3166-2 subdivision code,
/// without country prefix. For example, "NY" for New York, United States.
///
[JsonProperty("state")]
diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonCreateOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonCreateOptions.cs
index 6a22347540..150558a54b 100644
--- a/src/Stripe.net/Services/AccountPersons/AccountPersonCreateOptions.cs
+++ b/src/Stripe.net/Services/AccountPersons/AccountPersonCreateOptions.cs
@@ -226,6 +226,7 @@ public class AccountPersonCreateOptions : BaseOptions, IHasMetadata
/// Indicates if the person or any of their representatives, family members, or other
/// closely related persons, declares that they hold or have held an important public job or
/// function, in any jurisdiction.
+ /// One of: existing, or none.
///
[JsonProperty("political_exposure")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/AccountPersons/AccountPersonUpdateOptions.cs b/src/Stripe.net/Services/AccountPersons/AccountPersonUpdateOptions.cs
index a5deee9118..b6186fe25d 100644
--- a/src/Stripe.net/Services/AccountPersons/AccountPersonUpdateOptions.cs
+++ b/src/Stripe.net/Services/AccountPersons/AccountPersonUpdateOptions.cs
@@ -226,6 +226,7 @@ public class AccountPersonUpdateOptions : BaseOptions, IHasMetadata
/// Indicates if the person or any of their representatives, family members, or other
/// closely related persons, declares that they hold or have held an important public job or
/// function, in any jurisdiction.
+ /// One of: existing, or none.
///
[JsonProperty("political_exposure")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsOptions.cs
index 295488b99a..2c1cd67306 100644
--- a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsOptions.cs
+++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsOptions.cs
@@ -188,6 +188,15 @@ public class AccountSessionComponentsOptions : INestedOptions
#endif
public AccountSessionComponentsPayoutsListOptions PayoutsList { get; set; }
+ ///
+ /// Configuration for the product tax code selector embedded component.
+ ///
+ [JsonProperty("product_tax_code_selector")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("product_tax_code_selector")]
+#endif
+ public AccountSessionComponentsProductTaxCodeSelectorOptions ProductTaxCodeSelector { get; set; }
+
///
/// Configuration for the recipients component.
///
diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsProductTaxCodeSelectorFeaturesOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsProductTaxCodeSelectorFeaturesOptions.cs
new file mode 100644
index 0000000000..9eea13a664
--- /dev/null
+++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsProductTaxCodeSelectorFeaturesOptions.cs
@@ -0,0 +1,7 @@
+// File generated from our OpenAPI spec
+namespace Stripe
+{
+ public class AccountSessionComponentsProductTaxCodeSelectorFeaturesOptions : INestedOptions
+ {
+ }
+}
diff --git a/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsProductTaxCodeSelectorOptions.cs b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsProductTaxCodeSelectorOptions.cs
new file mode 100644
index 0000000000..4a3c1ac20d
--- /dev/null
+++ b/src/Stripe.net/Services/AccountSessions/AccountSessionComponentsProductTaxCodeSelectorOptions.cs
@@ -0,0 +1,29 @@
+// 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 AccountSessionComponentsProductTaxCodeSelectorOptions : INestedOptions
+ {
+ ///
+ /// Whether the embedded component is enabled.
+ ///
+ [JsonProperty("enabled")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("enabled")]
+#endif
+ public bool? Enabled { get; set; }
+
+ ///
+ /// The list of features enabled in the embedded component.
+ ///
+ [JsonProperty("features")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("features")]
+#endif
+ public AccountSessionComponentsProductTaxCodeSelectorFeaturesOptions Features { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopeOptions.cs b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopeOptions.cs
index f2e9c3bc03..4aa34e6907 100644
--- a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopeOptions.cs
+++ b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopeOptions.cs
@@ -1,6 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe.Billing
{
+ using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
@@ -17,5 +18,15 @@ public class CreditBalanceSummaryFilterApplicabilityScopeOptions : INestedOption
[STJS.JsonPropertyName("price_type")]
#endif
public string PriceType { get; set; }
+
+ ///
+ /// A list of prices that the credit grant can apply to. We currently only support the
+ /// metered prices.
+ ///
+ [JsonProperty("prices")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("prices")]
+#endif
+ public List Prices { get; set; }
}
}
diff --git a/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopePriceOptions.cs b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopePriceOptions.cs
new file mode 100644
index 0000000000..08ec4a4108
--- /dev/null
+++ b/src/Stripe.net/Services/Billing/CreditBalanceSummaries/CreditBalanceSummaryFilterApplicabilityScopePriceOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Billing
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class CreditBalanceSummaryFilterApplicabilityScopePriceOptions : INestedOptions, IHasId
+ {
+ ///
+ /// The price ID this credit grant should apply to.
+ ///
+ [JsonProperty("id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("id")]
+#endif
+ public string Id { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopeOptions.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopeOptions.cs
index cbca3696bb..b32f358eff 100644
--- a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopeOptions.cs
+++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopeOptions.cs
@@ -1,6 +1,7 @@
// File generated from our OpenAPI spec
namespace Stripe.Billing
{
+ using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
@@ -17,5 +18,15 @@ public class CreditGrantApplicabilityConfigScopeOptions : INestedOptions
[STJS.JsonPropertyName("price_type")]
#endif
public string PriceType { get; set; }
+
+ ///
+ /// A list of prices that the credit grant can apply to. We currently only support the
+ /// metered prices.
+ ///
+ [JsonProperty("prices")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("prices")]
+#endif
+ public List Prices { get; set; }
}
}
diff --git a/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopePriceOptions.cs b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopePriceOptions.cs
new file mode 100644
index 0000000000..72594698ce
--- /dev/null
+++ b/src/Stripe.net/Services/Billing/CreditGrants/CreditGrantApplicabilityConfigScopePriceOptions.cs
@@ -0,0 +1,20 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Billing
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class CreditGrantApplicabilityConfigScopePriceOptions : INestedOptions, IHasId
+ {
+ ///
+ /// The price ID this credit grant should apply to.
+ ///
+ [JsonProperty("id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("id")]
+#endif
+ public string Id { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardOptions.cs
index acb1dd9a51..6c633f44e0 100644
--- a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardOptions.cs
+++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardOptions.cs
@@ -91,6 +91,16 @@ public class SessionPaymentMethodOptionsCardOptions : INestedOptions
#endif
public string RequestThreeDSecure { get; set; }
+ ///
+ /// Restrictions to apply to the card payment method. For example, you can block specific
+ /// card brands.
+ ///
+ [JsonProperty("restrictions")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("restrictions")]
+#endif
+ public SessionPaymentMethodOptionsCardRestrictionsOptions Restrictions { get; set; }
+
///
/// Indicates that you intend to make future payments with this PaymentIntent's payment
/// method.
diff --git a/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardRestrictionsOptions.cs b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardRestrictionsOptions.cs
new file mode 100644
index 0000000000..d13dd1cc1d
--- /dev/null
+++ b/src/Stripe.net/Services/Checkout/Sessions/SessionPaymentMethodOptionsCardRestrictionsOptions.cs
@@ -0,0 +1,24 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Checkout
+{
+ using System.Collections.Generic;
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class SessionPaymentMethodOptionsCardRestrictionsOptions : INestedOptions
+ {
+ ///
+ /// Specify the card brands to block in the Checkout Session. If a customer enters or
+ /// selects a card belonging to a blocked brand, they can't complete the Session.
+ /// One of: american_express, discover_global_network, mastercard, or
+ /// visa.
+ ///
+ [JsonProperty("brands_blocked")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("brands_blocked")]
+#endif
+ public List BrandsBlocked { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Services/FinancialConnections/Sessions/SessionCreateOptions.cs b/src/Stripe.net/Services/FinancialConnections/Sessions/SessionCreateOptions.cs
index a9130204cb..c3873319fc 100644
--- a/src/Stripe.net/Services/FinancialConnections/Sessions/SessionCreateOptions.cs
+++ b/src/Stripe.net/Services/FinancialConnections/Sessions/SessionCreateOptions.cs
@@ -37,7 +37,7 @@ public class SessionCreateOptions : BaseOptions
public SessionLimitsOptions Limits { get; set; }
///
- /// Settings for configuring manual entry of account details for this Session.
+ /// Customize manual entry behavior.
///
[JsonProperty("manual_entry")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/Invoices/InvoiceAttachPaymentOptions.cs b/src/Stripe.net/Services/Invoices/InvoiceAttachPaymentOptions.cs
index 33b0d6fa26..c0fbca4c89 100644
--- a/src/Stripe.net/Services/Invoices/InvoiceAttachPaymentOptions.cs
+++ b/src/Stripe.net/Services/Invoices/InvoiceAttachPaymentOptions.cs
@@ -28,7 +28,7 @@ public class InvoiceAttachPaymentOptions : BaseOptions
public string PaymentIntent { get; set; }
///
- /// The ID of the PaymentRecord to detach from the invoice.
+ /// The ID of the PaymentRecord to attach to the invoice.
///
[JsonProperty("payment_record")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs b/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs
index 2eaa9b4c4c..b221bd111c 100644
--- a/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs
+++ b/src/Stripe.net/Services/TaxRates/TaxRateCreateOptions.cs
@@ -90,7 +90,7 @@ public class TaxRateCreateOptions : BaseOptions, IHasMetadata
public decimal? Percentage { get; set; }
///
- /// ISO 3166-2 subdivision code,
+ /// ISO 3166-2 subdivision code,
/// without country prefix. For example, "NY" for New York, United States.
///
[JsonProperty("state")]
diff --git a/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs b/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs
index cf4e50f072..604f918543 100644
--- a/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs
+++ b/src/Stripe.net/Services/TaxRates/TaxRateUpdateOptions.cs
@@ -72,7 +72,7 @@ public class TaxRateUpdateOptions : BaseOptions, IHasMetadata
public Dictionary Metadata { get; set; }
///
- /// ISO 3166-2 subdivision code,
+ /// ISO 3166-2 subdivision code,
/// without country prefix. For example, "NY" for New York, United States.
///
[JsonProperty("state")]
diff --git a/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs b/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs
index f0dc130029..d63ce08870 100644
--- a/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs
+++ b/src/Stripe.net/Services/Tokens/TokenPersonOptions.cs
@@ -216,6 +216,7 @@ public class TokenPersonOptions : INestedOptions, IHasMetadata
/// Indicates if the person or any of their representatives, family members, or other
/// closely related persons, declares that they hold or have held an important public job or
/// function, in any jurisdiction.
+ /// One of: existing, or none.
///
[JsonProperty("political_exposure")]
#if NET6_0_OR_GREATER