Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
with:
dotnet-version: ${{ needs.prepare-dotnet-versions.outputs.latest-dotnet-version }}
- name: Publish NuGet packages to NuGet
run: dotnet nuget push nuget/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source "nuget.org"
run: dotnet nuget push nuget/*.nupkg --api-key ${{ secrets.NUGET_KEY }} --source "nuget.org" --timeout 1200
- uses: stripe/openapi/actions/notify-release@master
if: always()
with:
Expand Down
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
91ef4c6abe8dcdab3a855d81aa624693a6a4da9f
88aa59022b32620f4d66d6196e3b42d5a0f86bbb
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ This release changes the pinned API version to `2025-11-17.clover`.
* Add support for `LatestFraudWarning` on `Issuing.Card`
* Add support for `Hooks` on `PaymentIntentCaptureOptions`, `PaymentIntentConfirmOptions`, `PaymentIntentCreateOptions`, `PaymentIntentIncrementAuthorizationOptions`, `PaymentIntentUpdateOptions`, and `PaymentIntent`
* Add support for `MbWay` and `Twint` on `Refund.DestinationDetails`
* Add support for `Changes` on `V2.Core.Event`
* Add support for snapshot events `FinancialConnectionsAccountAccountNumbersUpdated` and `FinancialConnectionsAccountUpcomingAccountNumberExpiry` with resource `FinancialConnections.Account`

## 49.2.0 - 2025-11-05
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2125
v2140
2 changes: 1 addition & 1 deletion src/Stripe.net/Constants/ApiVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ namespace Stripe
{
internal class ApiVersion
{
public const string Current = "2025-11-17.preview";
public const string Current = "2025-12-15.preview";
}
}
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/AccountLinks/AccountLink.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Stripe
/// permission to access Stripe-hosted applications, such as Connect Onboarding.
///
/// Related guide: <a
/// href="https://stripe.com/docs/connect/custom/hosted-onboarding">Connect Onboarding</a>.
/// href="https://docs.stripe.com/connect/custom/hosted-onboarding">Connect Onboarding</a>.
/// </summary>
public class AccountLink : StripeEntity<AccountLink>, IHasObject
{
Expand Down
6 changes: 3 additions & 3 deletions src/Stripe.net/Entities/AccountNotices/AccountNotice.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Stripe
/// opt to send the notices yourself.
///
/// See the <a
/// href="https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices">guide
/// href="https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices">guide
/// to send notices</a> to your connected accounts.
/// </summary>
public class AccountNotice : StripeEntity<AccountNotice>, IHasId, IHasMetadata, IHasObject
Expand Down Expand Up @@ -88,7 +88,7 @@ public class AccountNotice : StripeEntity<AccountNotice>, IHasId, IHasMetadata,
public bool Livemode { get; set; }

/// <summary>
/// Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can
/// Set of <a href="https://docs.stripe.com/api/metadata">key-value pairs</a> that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
/// </summary>
Expand All @@ -101,7 +101,7 @@ public class AccountNotice : StripeEntity<AccountNotice>, IHasId, IHasMetadata,
/// <summary>
/// Reason the notice is being sent. The reason determines what copy the notice must
/// contain. See the <a
/// href="https://stripe.com/docs/issuing/compliance-us/issuing-regulated-customer-notices">regulated
/// href="https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices">regulated
/// customer notices</a> guide. All reasons might not apply to your integration, and Stripe
/// might add new reasons in the future, so we recommend an internal warning when you
/// receive an unknown reason.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Stripe
public class AccountNoticeLinkedObjects : StripeEntity<AccountNoticeLinkedObjects>
{
/// <summary>
/// Associated <a href="https://stripe.com/docs/api/capabilities">Capability</a>.
/// Associated <a href="https://docs.stripe.com/api/capabilities">Capability</a>.
/// </summary>
[JsonProperty("capability")]
#if NET6_0_OR_GREATER
Expand All @@ -19,7 +19,7 @@ public class AccountNoticeLinkedObjects : StripeEntity<AccountNoticeLinkedObject

/// <summary>
/// Associated <a
/// href="https://stripe.com/docs/api/issuing/credit_underwriting_record">Credit
/// href="https://docs.stripe.com/api/issuing/credit_underwriting_record">Credit
/// Underwriting Record</a>.
/// </summary>
[JsonProperty("issuing_credit_underwriting_record")]
Expand All @@ -29,7 +29,7 @@ public class AccountNoticeLinkedObjects : StripeEntity<AccountNoticeLinkedObject
public string IssuingCreditUnderwritingRecord { get; set; }

/// <summary>
/// Associated <a href="https://stripe.com/docs/api/issuing/disputes">Issuing Dispute</a>.
/// Associated <a href="https://docs.stripe.com/api/issuing/disputes">Issuing Dispute</a>.
/// </summary>
[JsonProperty("issuing_dispute")]
#if NET6_0_OR_GREATER
Expand Down
4 changes: 2 additions & 2 deletions src/Stripe.net/Entities/AccountSessions/AccountSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespace Stripe
/// relatively quickly, and cannot be used more than once.
///
/// Related guide: <a
/// href="https://stripe.com/docs/connect/get-started-connect-embedded-components">Connect
/// href="https://docs.stripe.com/connect/get-started-connect-embedded-components">Connect
/// embedded components</a>.
/// </summary>
public class AccountSession : StripeEntity<AccountSession>, IHasObject
Expand Down Expand Up @@ -49,7 +49,7 @@ public class AccountSession : StripeEntity<AccountSession>, IHasObject
/// Make sure that you have TLS enabled on any page that includes the client secret.
///
/// Refer to our docs to <a
/// href="https://stripe.com/docs/connect/get-started-connect-embedded-components">setup
/// href="https://docs.stripe.com/connect/get-started-connect-embedded-components">setup
/// Connect embedded components</a> and learn about how <c>client_secret</c> should be
/// handled.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Accounts/Account.cs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public class Account : StripeEntity<Account>, IHasId, IHasMetadata, IHasObject,
public Person Individual { get; set; }

/// <summary>
/// Set of <a href="https://stripe.com/docs/api/metadata">key-value pairs</a> that you can
/// Set of <a href="https://docs.stripe.com/api/metadata">key-value pairs</a> that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
/// </summary>
Expand Down
8 changes: 4 additions & 4 deletions src/Stripe.net/Entities/Accounts/AccountCompany.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class AccountCompany : StripeEntity<AccountCompany>
/// <summary>
/// Whether the company's directors have been provided. This Boolean will be <c>true</c> if
/// you've manually indicated that all directors are provided via <a
/// href="https://stripe.com/docs/api/accounts/update#update_account-company-directors_provided">the
/// href="https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided">the
/// <c>directors_provided</c> parameter</a>.
/// </summary>
[JsonProperty("directors_provided")]
Expand All @@ -57,7 +57,7 @@ public class AccountCompany : StripeEntity<AccountCompany>
/// <summary>
/// Whether the company's executives have been provided. This Boolean will be <c>true</c> if
/// you've manually indicated that all executives are provided via <a
/// href="https://stripe.com/docs/api/accounts/update#update_account-company-executives_provided">the
/// href="https://docs.stripe.com/api/accounts/update#update_account-company-executives_provided">the
/// <c>executives_provided</c> parameter</a>, or if Stripe determined that sufficient
/// executives were provided.
/// </summary>
Expand Down Expand Up @@ -124,7 +124,7 @@ public class AccountCompany : StripeEntity<AccountCompany>
/// <summary>
/// Whether the company's owners have been provided. This Boolean will be <c>true</c> if
/// you've manually indicated that all owners are provided via <a
/// href="https://stripe.com/docs/api/accounts/update#update_account-company-owners_provided">the
/// href="https://docs.stripe.com/api/accounts/update#update_account-company-owners_provided">the
/// <c>owners_provided</c> parameter</a>, or if Stripe determined that sufficient owners
/// were provided. Stripe determines ownership requirements using both the number of owners
/// provided and their total percent ownership (calculated by adding the
Expand Down Expand Up @@ -192,7 +192,7 @@ public class AccountCompany : StripeEntity<AccountCompany>
/// available for accounts where <a
/// href="https://stripe.com/api/accounts/object#account_object-controller-requirement_collection">controller.requirement_collection</a>
/// is <c>stripe</c>. See <a
/// href="https://stripe.com/docs/connect/identity-verification#business-structure">Business
/// href="https://docs.stripe.com/connect/identity-verification#business-structure">Business
/// structure</a> for more details.
/// One of: <c>free_zone_establishment</c>, <c>free_zone_llc</c>,
/// <c>government_instrumentality</c>, <c>governmental_unit</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ public class AccountCompanyVerificationDocument : StripeEntity<AccountCompanyVer

/// <summary>
/// (ID of the File)
/// The back of a document returned by a <a
/// href="https://stripe.com/docs/api#create_file">file upload</a> with a <c>purpose</c>
/// value of <c>additional_verification</c>. Note that <c>additional_verification</c> files
/// are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
/// The back of a document returned by a <a href="https://api.stripe.com#create_file">file
/// upload</a> with a <c>purpose</c> value of <c>additional_verification</c>. Note that
/// <c>additional_verification</c> files are <a
/// href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
/// </summary>
[JsonIgnore]
#if NET6_0_OR_GREATER
Expand All @@ -33,10 +33,10 @@ public string BackId

/// <summary>
/// (Expanded)
/// The back of a document returned by a <a
/// href="https://stripe.com/docs/api#create_file">file upload</a> with a <c>purpose</c>
/// value of <c>additional_verification</c>. Note that <c>additional_verification</c> files
/// are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
/// The back of a document returned by a <a href="https://api.stripe.com#create_file">file
/// upload</a> with a <c>purpose</c> value of <c>additional_verification</c>. Note that
/// <c>additional_verification</c> files are <a
/// href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
///
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>.
/// </summary>
Expand Down Expand Up @@ -87,10 +87,10 @@ public File Back

/// <summary>
/// (ID of the File)
/// The front of a document returned by a <a
/// href="https://stripe.com/docs/api#create_file">file upload</a> with a <c>purpose</c>
/// value of <c>additional_verification</c>. Note that <c>additional_verification</c> files
/// are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
/// The front of a document returned by a <a href="https://api.stripe.com#create_file">file
/// upload</a> with a <c>purpose</c> value of <c>additional_verification</c>. Note that
/// <c>additional_verification</c> files are <a
/// href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
/// </summary>
[JsonIgnore]
#if NET6_0_OR_GREATER
Expand All @@ -104,10 +104,10 @@ public string FrontId

/// <summary>
/// (Expanded)
/// The front of a document returned by a <a
/// href="https://stripe.com/docs/api#create_file">file upload</a> with a <c>purpose</c>
/// value of <c>additional_verification</c>. Note that <c>additional_verification</c> files
/// are <a href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
/// The front of a document returned by a <a href="https://api.stripe.com#create_file">file
/// upload</a> with a <c>purpose</c> value of <c>additional_verification</c>. Note that
/// <c>additional_verification</c> files are <a
/// href="https://stripe.com/file-upload#uploading-a-file">not downloadable</a>.
///
/// For more information, see the <a href="https://stripe.com/docs/expand">expand documentation</a>.
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Accounts/AccountController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class AccountController : StripeEntity<AccountController>
/// <summary>
/// <c>true</c> if the Connect application retrieving the resource controls the account and
/// can therefore exercise <a
/// href="https://stripe.com/docs/connect/platform-controls-for-standard-accounts">platform
/// href="https://docs.stripe.com/connect/platform-controls-for-standard-accounts">platform
/// controls</a>. Otherwise, this field is null.
/// </summary>
[JsonProperty("is_controller")]
Expand Down
31 changes: 16 additions & 15 deletions src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ namespace Stripe
public class AccountFutureRequirements : StripeEntity<AccountFutureRequirements>
{
/// <summary>
/// Fields that are due and can be satisfied by providing the corresponding alternative
/// fields instead.
/// Fields that are due and can be resolved by providing the corresponding alternative
/// fields instead. Many alternatives can list the same <c>original_fields_due</c>, and any
/// of these alternatives can serve as a pathway for attempting to resolve the fields again.
/// Re-providing <c>original_fields_due</c> also serves as a pathway for attempting to
/// resolve the fields again.
/// </summary>
[JsonProperty("alternatives")]
#if NET6_0_OR_GREATER
Expand All @@ -36,7 +39,7 @@ public class AccountFutureRequirements : StripeEntity<AccountFutureRequirements>
public DateTime? CurrentDeadline { get; set; }

/// <summary>
/// Fields that need to be collected to keep the account enabled. If not collected by
/// Fields that need to be resolved to keep the account enabled. If not resolved by
/// <c>future_requirements[current_deadline]</c>, these fields will transition to the main
/// <c>requirements</c> hash.
/// </summary>
Expand All @@ -62,8 +65,8 @@ public class AccountFutureRequirements : StripeEntity<AccountFutureRequirements>
public string DisabledReason { get; set; }

/// <summary>
/// Fields that are <c>currently_due</c> and need to be collected again because validation
/// or verification failed.
/// Details about validation and verification failures for <c>due</c> requirements that must
/// be resolved.
/// </summary>
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
Expand All @@ -82,10 +85,9 @@ public class AccountFutureRequirements : StripeEntity<AccountFutureRequirements>
public List<string> EventuallyDue { get; set; }

/// <summary>
/// Fields that weren't collected by <c>requirements.current_deadline</c>. These fields need
/// to be collected to enable the capability on the account. New fields will never appear
/// here; <c>future_requirements.past_due</c> will always be a subset of
/// <c>requirements.past_due</c>.
/// Fields that haven't been resolved by <c>requirements.current_deadline</c>. These fields
/// need to be resolved to enable the capability on the account.
/// <c>future_requirements.past_due</c> is a subset of <c>requirements.past_due</c>.
/// </summary>
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
Expand All @@ -94,12 +96,11 @@ public class AccountFutureRequirements : StripeEntity<AccountFutureRequirements>
public List<string> PastDue { get; set; }

/// <summary>
/// Fields that might become required depending on the results of verification or review.
/// It's an empty array unless an asynchronous verification is pending. If verification
/// fails, these fields move to <c>eventually_due</c> or <c>currently_due</c>. Fields might
/// appear in <c>eventually_due</c> or <c>currently_due</c> and in
/// <c>pending_verification</c> if verification fails but another verification is still
/// pending.
/// Fields that are being reviewed, or might become required depending on the results of a
/// review. If the review fails, these fields can move to <c>eventually_due</c>,
/// <c>currently_due</c>, <c>past_due</c> or <c>alternatives</c>. Fields might appear in
/// <c>eventually_due</c>, <c>currently_due</c>, <c>past_due</c> or <c>alternatives</c> and
/// in <c>pending_verification</c> if one verification fails but another is still pending.
/// </summary>
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ namespace Stripe
public class AccountFutureRequirementsAlternative : StripeEntity<AccountFutureRequirementsAlternative>
{
/// <summary>
/// Fields that can be provided to satisfy all fields in <c>original_fields_due</c>.
/// Fields that can be provided to resolve all fields in <c>original_fields_due</c>.
/// </summary>
[JsonProperty("alternative_fields_due")]
#if NET6_0_OR_GREATER
Expand All @@ -19,7 +19,7 @@ public class AccountFutureRequirementsAlternative : StripeEntity<AccountFutureRe
public List<string> AlternativeFieldsDue { get; set; }

/// <summary>
/// Fields that are due and can be satisfied by providing all fields in
/// Fields that are due and can be resolved by providing all fields in
/// <c>alternative_fields_due</c>.
/// </summary>
[JsonProperty("original_fields_due")]
Expand Down
2 changes: 1 addition & 1 deletion src/Stripe.net/Entities/Accounts/AccountGroups.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class AccountGroups : StripeEntity<AccountGroups>
/// <summary>
/// The group the account is in to determine their payments pricing, and null if the account
/// is on customized pricing. <a
/// href="https://stripe.com/docs/connect/platform-pricing-tools">See the Platform pricing
/// href="https://docs.stripe.com/connect/platform-pricing-tools">See the Platform pricing
/// tool documentation</a> for details.
/// </summary>
[JsonProperty("payments_pricing")]
Expand Down
Loading
Loading