Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
1e629ea
Update generated code (#3159)
stripe-openapi[bot] Aug 27, 2025
17390bd
Add section on private preview SDKs in readme (#3164)
ramya-stripe Aug 27, 2025
9902b80
Bump version to 48.5.0
ramya-stripe Aug 27, 2025
ffe133d
Add private-preview branch to CI workflow triggers
mbroshi-stripe Aug 27, 2025
c3e50f2
Merge upstream and update generated code for v1932 and 2025-08-27.pre…
stripe-openapi[bot] Aug 27, 2025
30b9924
Update generated code for v1932 and 2025-08-27.preview
stripe-openapi[bot] Aug 29, 2025
42d965d
Update generated code for v1933 and 2025-08-27.preview
stripe-openapi[bot] Aug 29, 2025
53a1b94
Update generated code for v1936 and 2025-08-27.preview
stripe-openapi[bot] Aug 31, 2025
13bb834
Update generated code for v1939 and 2025-09-30.preview
stripe-openapi[bot] Sep 3, 2025
124c489
Update generated code for v1941 and 2025-09-30.preview
stripe-openapi[bot] Sep 4, 2025
f7f257b
Update generated code for v1942 and 2025-09-30.preview
stripe-openapi[bot] Sep 4, 2025
e8029e0
Update generated code for v1944 and 2025-09-30.preview
stripe-openapi[bot] Sep 8, 2025
6190ec8
Update generated code for v1945 and 2025-09-30.preview
stripe-openapi[bot] Sep 8, 2025
8ae0043
⚠️ Build SDK w/ V2 OpenAPI spec (#3167)
xavdid-stripe Sep 9, 2025
5944752
Merge upstream and update generated code for v1949 and 2025-09-30.pre…
stripe-openapi[bot] Sep 9, 2025
27b6de2
Update generated code for v1950 and 2025-09-30.preview
stripe-openapi[bot] Sep 9, 2025
9106fb2
Update generated code for v1951 and 2025-09-30.preview
stripe-openapi[bot] Sep 9, 2025
a778463
Update generated code for v1952 and 2025-09-30.preview
stripe-openapi[bot] Sep 9, 2025
63e3b47
Update generated code for v1955 and 2025-09-30.preview
stripe-openapi[bot] Sep 10, 2025
e84e43c
Adds public BaseUrl to RawRequestOptions (#3170)
jar-stripe Sep 11, 2025
ba1e154
Merge upstream and update generated code for v1955 and 2025-09-30.pre…
stripe-openapi[bot] Sep 11, 2025
0ecd1f0
Update generated code for v1956 and 2025-09-30.preview
stripe-openapi[bot] Sep 11, 2025
ac17726
Update generated code for v1958 and 2025-09-30.preview
stripe-openapi[bot] Sep 11, 2025
225199c
Update generated code for v1959 and 2025-09-30.preview
stripe-openapi[bot] Sep 11, 2025
49c16a1
Update generated code for v1960 and 2025-09-30.preview
stripe-openapi[bot] Sep 11, 2025
d316dc2
Update generated code for v1961 and 2025-09-30.preview
stripe-openapi[bot] Sep 12, 2025
bb48353
Update generated code for v1962 and 2025-09-30.preview
stripe-openapi[bot] Sep 12, 2025
4e58c03
Update generated code for v1967 and 2025-09-30.preview
stripe-openapi[bot] Sep 15, 2025
a8bf7a2
Update generated code for v1968 and 2025-09-30.preview
stripe-openapi[bot] Sep 15, 2025
b7fbe3b
Update generated code for v1969 and 2025-09-30.preview
stripe-openapi[bot] Sep 15, 2025
5148d02
Update generated code for v1970 and 2025-09-30.preview
stripe-openapi[bot] Sep 16, 2025
d483108
Update generated code for v1973 and 2025-09-30.preview
stripe-openapi[bot] Sep 16, 2025
5d4321e
Update generated code for v1974 and 2025-09-30.preview
stripe-openapi[bot] Sep 16, 2025
8a794f8
Update generated code for v1975 and 2025-09-30.preview
stripe-openapi[bot] Sep 16, 2025
40a8048
Update generated code for v1976 and 2025-09-30.preview
stripe-openapi[bot] Sep 16, 2025
0e887f0
Update generated code for v1977 and 2025-09-30.preview
stripe-openapi[bot] Sep 16, 2025
2372475
Update generated code for v1978 and 2025-09-30.preview
stripe-openapi[bot] Sep 17, 2025
476bc79
Update generated code for v1979 and 2025-09-30.preview
stripe-openapi[bot] Sep 17, 2025
acd4dcd
Update generated code for v1980 and 2025-09-30.preview
stripe-openapi[bot] Sep 17, 2025
2a163b8
Update generated code for v1981 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
0258c66
Update generated code for v1982 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
7fe8e1a
Update generated code for v1984 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
5331817
Update generated code for v1985 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
b869c34
Update generated code for v1986 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
c39f4da
Update generated code for v1987 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
2c65afa
Update generated code for v1988 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
d47a4da
Update generated code for v1989 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
e5799ef
Update generated code for v1991 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
43eb0e5
Update generated code for v1992 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
438eaed
Update generated code for v1993 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
d203a90
Update generated code for v1994 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
665b9b6
Update generated code for v1996 and 2025-09-30.preview
stripe-openapi[bot] Sep 18, 2025
a36a4bd
Update generated code for v2000 and 2025-09-30.preview
stripe-openapi[bot] Sep 19, 2025
13bfcdd
Update generated code for v2002 and 2025-09-30.preview
stripe-openapi[bot] Sep 19, 2025
7f48eec
Update generated code (#3172)
stripe-openapi[bot] Sep 19, 2025
2478a13
Merge upstream and update generated code for v2005 and 2025-09-30.pre…
stripe-openapi[bot] Sep 19, 2025
d2c360c
Update generated code for v2006 and 2025-09-30.preview
stripe-openapi[bot] Sep 19, 2025
6fb0d45
`just format` formats entire solution (#3174)
jar-stripe Sep 19, 2025
0a8a0a5
Merge upstream and update generated code for v2007 and 2025-09-30.pre…
stripe-openapi[bot] Sep 19, 2025
ccf0c39
Adds ability to specify file name and type when calling FileService.C…
jar-stripe Sep 19, 2025
329e100
Merge upstream and update generated code for v2008 and 2025-09-30.pre…
stripe-openapi[bot] Sep 19, 2025
8e62c67
Update generated code for v2008 and 2025-09-30.preview
stripe-openapi[bot] Sep 19, 2025
c44c355
Update generated code for v2009 and 2025-09-30.preview
stripe-openapi[bot] Sep 20, 2025
df3bd9f
Update generated code for v2010 and 2025-09-30.preview
stripe-openapi[bot] Sep 21, 2025
101f036
Update generated code for v2011 and 2025-09-30.preview
stripe-openapi[bot] Sep 22, 2025
62b7203
Update generated code for v2013 and 2025-09-30.preview
stripe-openapi[bot] Sep 22, 2025
fac39b1
Update generated code for v2014 and 2025-09-30.preview
stripe-openapi[bot] Sep 22, 2025
14946a8
Update generated code for v2015 and 2025-09-30.preview
stripe-openapi[bot] Sep 22, 2025
b21b6af
Update generated code for v2016 and 2025-09-30.preview
stripe-openapi[bot] Sep 22, 2025
59d10b5
Update generated code for v2017 and 2025-09-30.preview
stripe-openapi[bot] Sep 22, 2025
f67673d
Update generated code for v2020 and 2025-09-30.preview
stripe-openapi[bot] Sep 23, 2025
4abab55
Update generated code for v2020 and 2025-09-30.preview
stripe-openapi[bot] Sep 23, 2025
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
branches:
- master
- beta
- private-preview
- sdk-release/**
- feature/**

Expand Down
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2025-08-27.preview
2025-09-30.preview
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,22 @@ This release changes the pinned API version to `2025-08-27.preview`.
* Add support for `PixDisplayQrCode` on `SetupIntent.NextAction`
* Add support for `ReaderSecurity` on `Terminal.ConfigurationCreateOptions`, `Terminal.ConfigurationUpdateOptions`, and `Terminal.Configuration`

## 48.5.0 - 2025-08-27
* [#3164](https://github.com/stripe/stripe-dotnet/pull/3164) Add section on private preview SDKs in readme
* [#3159](https://github.com/stripe/stripe-dotnet/pull/3159) Update generated code. This release changes the pinned API version to `2025-08-27.basil`.
* Add support for `BalanceReport`, `PayoutDetails`, and `PayoutReconciliationReport` on `AccountSession.Components` and `AccountSessionComponentsOptions`
* Add support for `Name` on `BillingPortal.ConfigurationCreateOptions`, `BillingPortal.ConfigurationUpdateOptions`, and `BillingPortal.Configuration`
* Add support for `Installments` on `Charge.PaymentMethodDetails.Alma`
* Add support for `TransactionId` on `Charge.PaymentMethodDetails.Alma`, `Charge.PaymentMethodDetails.AmazonPay`, `Charge.PaymentMethodDetails.Billie`, `Charge.PaymentMethodDetails.KakaoPay`, `Charge.PaymentMethodDetails.KrCard`, `Charge.PaymentMethodDetails.NaverPay`, `Charge.PaymentMethodDetails.Payco`, `Charge.PaymentMethodDetails.RevolutPay`, `Charge.PaymentMethodDetails.SamsungPay`, and `Charge.PaymentMethodDetails.Satispay`
* Add support for `Location` and `Reader` on `Charge.PaymentMethodDetails.Paynow`
* Add support for `AmountIncludesIof` on `Checkout.Session.PaymentMethodOptions.Pix`, `CheckoutSessionPaymentMethodOptionsPixOptions`, `PaymentIntent.PaymentMethodOptions.Pix`, and `PaymentIntentPaymentMethodOptionsPixOptions`
* Add support for `Metadata` and `Period` on `InvoiceScheduleDetailsPhaseAddInvoiceItemOptions`, `SubscriptionAddInvoiceItemOptions`, `SubscriptionSchedule.Phase.AddInvoiceItem`, and `SubscriptionSchedulePhaseAddInvoiceItemOptions`
* Add support for `ExpMonth` and `ExpYear` on `Issuing.CardCreateOptions`
* Add support for `ExcludedPaymentMethodTypes` on `PaymentIntentCreateOptions` and `PaymentIntent`
* Add support for `PayoutMethod` on `PayoutCreateOptions` and `Payout`
* Add support for `Mxn` on `Terminal.Configuration.Tipping` and `TerminalConfigurationTippingOptions`
* Add support for `Card` on `Terminal.TestHelpersReaderPresentPaymentMethodOptions`

## 48.5.0-beta.2 - 2025-08-08
* [#3160](https://github.com/stripe/stripe-dotnet/pull/3160) Bring back invoice payments APIs that were missing in the public preview SDKs
* Add support for new resource `InvoicePayment`
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1932
v2020
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ how to use the library.

### Using StripeClient

In version 46 of the Stripe .NET SDK, we have enhanced the `StripeClient` class to be the entry point to access all services that had to be previously independently instantiated with global configuration. This improves discoverability during IDE auto-completion and creates a more intuitive developer experience for you.
In version 46 of the Stripe .NET SDK, we have enhanced the `StripeClient` class to be the entry point to access all services that had to be previously independently instantiated with global configuration. This improves discoverability during IDE auto-completion and creates a more intuitive developer experience for you.

Each client instantiation can have its own configuration so you can access Stripe API with different API keys or different configuration (like number of retries) on a per client basis and without changing a global configuration.

Expand Down Expand Up @@ -335,7 +335,7 @@ The [RawJObject property](#properties) is ignored on serialization in both Json.
Stripe has features in the [public preview phase](https://docs.stripe.com/release-phases) that can be accessed via versions of this package that have the `-beta.X` suffix like `45.1.0-beta.2`.
We would love for you to try these as we incrementally release new features and improve them based on your feedback.

To install, choose the version that includes support for the preview feature you are interested in by reviewing the [releases page](https://github.com/stripe/stripe-dotnet/releases/) and then use it in the version parameter with `dotnet add package` command:
To install, pick the latest version with the `beta` suffix by reviewing the [releases page](https://github.com/stripe/stripe-dotnet/releases/) and then use it in the version parameter with `dotnet add package` command:

```
dotnet add package Stripe.net --version <replace-with-the-version-of-your-choice>
Expand All @@ -349,6 +349,9 @@ Some preview features require a name and version to be set in the `Stripe-Versio
```csharp
StripeConfiguration.AddBetaVersion("feature_beta", "v3");
```
### Private Preview SDKs

Stripe has features in the [private preview phase](https://docs.stripe.com/release-phases) that can be accessed via versions of this package that have the `-alpha.X` suffix like `45.2.0-alpha.2`. These are invite-only features. Once invited, you can install the private preview SDKs by following the same instructions as for the [public preview SDKs](https://github.com/stripe/stripe-dotnet?tab=readme-ov-file#public-preview-sdks) above and replacing the term `beta` with `alpha`.

### Custom requests

Expand Down
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ci-test: (_test "--no-build" "" "Release")
# ⭐ format all files
format *args:
# This sets TargetFramework because of a race condition in dotnet format when it tries to format to multiple targets at a time, which could lead to code with compiler errors after it completes
TargetFramework=net5.0 dotnet format src/Stripe.net/Stripe.net.csproj --severity warn {{args}}
TargetFramework=net5.0 dotnet format src/Stripe.net.sln --severity warn {{args}}

# verify, but don't modify, the project's formatting
format-check: (format "--verify-no-changes")
Expand Down
2 changes: 1 addition & 1 deletion src/Examples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public Program()
/// are set before running the example.
///
/// </summary>
/// <param name="args">command line args</param>
/// <param name="args">command line args.</param>
/// <returns></returns>
public static async Task Main(string[] args)
{
Expand Down
12 changes: 6 additions & 6 deletions src/Examples/V2/ThinEventWebhookHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@
[ApiController]
public class ThinEventWebhookHandler : ControllerBase
{
private readonly StripeClient _client;
private readonly string _webhookSecret;
private readonly StripeClient client;
private readonly string webhookSecret;

public ThinEventWebhookHandler()

Check warning on line 28 in src/Examples/V2/ThinEventWebhookHandler.cs

View workflow job for this annotation

GitHub Actions / Build and test

Non-nullable field 'webhookSecret' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.

Check warning on line 28 in src/Examples/V2/ThinEventWebhookHandler.cs

View workflow job for this annotation

GitHub Actions / Build and test

Non-nullable field 'webhookSecret' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
{
var apiKey = Environment.GetEnvironmentVariable("STRIPE_API_KEY");
_client = new StripeClient(apiKey);
client = new StripeClient(apiKey);

_webhookSecret = Environment.GetEnvironmentVariable("WEBHOOK_SECRET");
webhookSecret = Environment.GetEnvironmentVariable("WEBHOOK_SECRET");

Check warning on line 33 in src/Examples/V2/ThinEventWebhookHandler.cs

View workflow job for this annotation

GitHub Actions / Build and test

Possible null reference assignment.

Check warning on line 33 in src/Examples/V2/ThinEventWebhookHandler.cs

View workflow job for this annotation

GitHub Actions / Build and test

Possible null reference assignment.
}

[HttpPost]
Expand All @@ -39,10 +39,10 @@
var json = await new StreamReader(HttpContext.Request.Body).ReadToEndAsync();
try
{
var thinEvent = _client.ParseThinEvent(json, Request.Headers["Stripe-Signature"], _webhookSecret);
var thinEvent = client.ParseThinEvent(json, Request.Headers["Stripe-Signature"], webhookSecret);

// Fetch the event data to understand the failure
var baseEvent = await _client.V2.Core.Events.GetAsync(thinEvent.Id);
var baseEvent = await client.V2.Core.Events.GetAsync(thinEvent.Id);
if (baseEvent is V1BillingMeterErrorReportTriggeredEvent fullEvent)
{
var meter = await fullEvent.FetchRelatedObjectAsync();
Expand Down
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-08-27.preview";
public const string Current = "2025-09-30.preview";
}
}
11 changes: 11 additions & 0 deletions src/Stripe.net/Entities/Accounts/AccountCapabilities.cs
Original file line number Diff line number Diff line change
Expand Up @@ -533,6 +533,17 @@ public class AccountCapabilities : StripeEntity<AccountCapabilities>
#endif
public string PaypalPayments { get; set; }

/// <summary>
/// The status of the Paypay capability of the account, or whether the account can directly
/// process Paypay payments.
/// One of: <c>active</c>, <c>inactive</c>, or <c>pending</c>.
/// </summary>
[JsonProperty("paypay_payments")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("paypay_payments")]
#endif
public string PaypayPayments { get; set; }

/// <summary>
/// The status of the PayTo capability of the account, or whether the account can directly
/// process PayTo charges.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public class AccountFutureRequirementsError : StripeEntity<AccountFutureRequirem
{
/// <summary>
/// The code for the type of error.
/// One of: <c>information_missing</c>, <c>invalid_address_city_state_postal_code</c>,
/// One of: <c>external_request</c>, <c>information_missing</c>,
/// <c>invalid_address_city_state_postal_code</c>,
/// <c>invalid_address_highway_contract_box</c>, <c>invalid_address_private_mailbox</c>,
/// <c>invalid_business_profile_name</c>, <c>invalid_business_profile_name_denylisted</c>,
/// <c>invalid_company_name_denylisted</c>, <c>invalid_dob_age_over_maximum</c>,
Expand Down Expand Up @@ -38,7 +39,8 @@ public class AccountFutureRequirementsError : StripeEntity<AccountFutureRequirem
/// <c>invalid_url_website_incomplete_terms_and_conditions</c>,
/// <c>invalid_url_website_incomplete_under_construction</c>,
/// <c>invalid_url_website_other</c>, <c>invalid_value_other</c>,
/// <c>verification_directors_mismatch</c>, <c>verification_document_address_mismatch</c>,
/// <c>unsupported_business_type</c>, <c>verification_directors_mismatch</c>,
/// <c>verification_document_address_mismatch</c>,
/// <c>verification_document_address_missing</c>, <c>verification_document_corrupt</c>,
/// <c>verification_document_country_not_supported</c>,
/// <c>verification_document_directors_mismatch</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public class AccountRequirementsError : StripeEntity<AccountRequirementsError>
{
/// <summary>
/// The code for the type of error.
/// One of: <c>information_missing</c>, <c>invalid_address_city_state_postal_code</c>,
/// One of: <c>external_request</c>, <c>information_missing</c>,
/// <c>invalid_address_city_state_postal_code</c>,
/// <c>invalid_address_highway_contract_box</c>, <c>invalid_address_private_mailbox</c>,
/// <c>invalid_business_profile_name</c>, <c>invalid_business_profile_name_denylisted</c>,
/// <c>invalid_company_name_denylisted</c>, <c>invalid_dob_age_over_maximum</c>,
Expand Down Expand Up @@ -38,7 +39,8 @@ public class AccountRequirementsError : StripeEntity<AccountRequirementsError>
/// <c>invalid_url_website_incomplete_terms_and_conditions</c>,
/// <c>invalid_url_website_incomplete_under_construction</c>,
/// <c>invalid_url_website_other</c>, <c>invalid_value_other</c>,
/// <c>verification_directors_mismatch</c>, <c>verification_document_address_mismatch</c>,
/// <c>unsupported_business_type</c>, <c>verification_directors_mismatch</c>,
/// <c>verification_document_address_mismatch</c>,
/// <c>verification_document_address_missing</c>, <c>verification_document_corrupt</c>,
/// <c>verification_document_country_not_supported</c>,
/// <c>verification_document_directors_mismatch</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ public class AccountSettingsPayoutsSchedule : StripeEntity<AccountSettingsPayout
/// <summary>
/// The days of the week when available funds are paid out, specified as an array, for
/// example, [<c>monday</c>, <c>tuesday</c>]. Only shown if <c>interval</c> is weekly.
/// One of: <c>friday</c>, <c>monday</c>, <c>saturday</c>, <c>sunday</c>, <c>thursday</c>,
/// <c>tuesday</c>, or <c>wednesday</c>.
/// One of: <c>friday</c>, <c>monday</c>, <c>thursday</c>, <c>tuesday</c>, or
/// <c>wednesday</c>.
/// </summary>
[JsonProperty("weekly_payout_days")]
#if NET6_0_OR_GREATER
Expand Down
5 changes: 0 additions & 5 deletions src/Stripe.net/Entities/BalanceSettings/BalanceSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ namespace Stripe
/// <summary>
/// Options for customizing account balances and payout settings for a Stripe platform’s
/// connected accounts.
///
/// This API is only available for users enrolled in the public preview for Accounts v2 on
/// Stripe Connect. If you are not in this preview, please use the <a
/// href="https://docs.stripe.com/api/accounts?api-version=2025-03-31.basil">Accounts v1
/// API</a> to manage your connected accounts’ balance settings instead.
/// </summary>
public class BalanceSettings : StripeEntity<BalanceSettings>, IHasObject
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,26 @@
// File generated from our OpenAPI spec
namespace Stripe
{
using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class BalanceSettingsPaymentsPayouts : StripeEntity<BalanceSettingsPaymentsPayouts>
{
/// <summary>
/// The minimum balance amount to retain per currency after automatic payouts. Only funds
/// that exceed these amounts are paid out. Learn more about the <a
/// href="https://stripe.com/payouts/minimum-balances-for-automatic-payouts">minimum
/// balances for automatic payouts</a>.
/// </summary>
[JsonProperty("minimum_balance_by_currency")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("minimum_balance_by_currency")]
#endif
public Dictionary<string, long> MinimumBalanceByCurrency { get; set; }

/// <summary>
/// Details on when funds from charges are available, and when they are paid out to an
/// external account. See our <a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public class BalanceSettingsPaymentsPayoutsSchedule : StripeEntity<BalanceSettin
/// <summary>
/// The days of the week when available funds are paid out, specified as an array, for
/// example, [<c>monday</c>, <c>tuesday</c>]. Only shown if <c>interval</c> is weekly.
/// One of: <c>friday</c>, <c>monday</c>, <c>saturday</c>, <c>sunday</c>, <c>thursday</c>,
/// <c>tuesday</c>, or <c>wednesday</c>.
/// One of: <c>friday</c>, <c>monday</c>, <c>thursday</c>, <c>tuesday</c>, or
/// <c>wednesday</c>.
/// </summary>
[JsonProperty("weekly_payout_days")]
#if NET6_0_OR_GREATER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,15 @@ public class BalanceSettingsPaymentsSettlementTiming : StripeEntity<BalanceSetti
[STJS.JsonPropertyName("delay_days")]
#endif
public long DelayDays { get; set; }

/// <summary>
/// The number of days charge funds are held before becoming available. If present,
/// overrides the default, or minimum available, for the account.
/// </summary>
[JsonProperty("delay_days_override")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("delay_days_override")]
#endif
public long DelayDaysOverride { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public class BankAccountFutureRequirementsError : StripeEntity<BankAccountFuture
{
/// <summary>
/// The code for the type of error.
/// One of: <c>information_missing</c>, <c>invalid_address_city_state_postal_code</c>,
/// One of: <c>external_request</c>, <c>information_missing</c>,
/// <c>invalid_address_city_state_postal_code</c>,
/// <c>invalid_address_highway_contract_box</c>, <c>invalid_address_private_mailbox</c>,
/// <c>invalid_business_profile_name</c>, <c>invalid_business_profile_name_denylisted</c>,
/// <c>invalid_company_name_denylisted</c>, <c>invalid_dob_age_over_maximum</c>,
Expand Down Expand Up @@ -38,7 +39,8 @@ public class BankAccountFutureRequirementsError : StripeEntity<BankAccountFuture
/// <c>invalid_url_website_incomplete_terms_and_conditions</c>,
/// <c>invalid_url_website_incomplete_under_construction</c>,
/// <c>invalid_url_website_other</c>, <c>invalid_value_other</c>,
/// <c>verification_directors_mismatch</c>, <c>verification_document_address_mismatch</c>,
/// <c>unsupported_business_type</c>, <c>verification_directors_mismatch</c>,
/// <c>verification_document_address_mismatch</c>,
/// <c>verification_document_address_missing</c>, <c>verification_document_corrupt</c>,
/// <c>verification_document_country_not_supported</c>,
/// <c>verification_document_directors_mismatch</c>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ public class BankAccountRequirementsError : StripeEntity<BankAccountRequirements
{
/// <summary>
/// The code for the type of error.
/// One of: <c>information_missing</c>, <c>invalid_address_city_state_postal_code</c>,
/// One of: <c>external_request</c>, <c>information_missing</c>,
/// <c>invalid_address_city_state_postal_code</c>,
/// <c>invalid_address_highway_contract_box</c>, <c>invalid_address_private_mailbox</c>,
/// <c>invalid_business_profile_name</c>, <c>invalid_business_profile_name_denylisted</c>,
/// <c>invalid_company_name_denylisted</c>, <c>invalid_dob_age_over_maximum</c>,
Expand Down Expand Up @@ -38,7 +39,8 @@ public class BankAccountRequirementsError : StripeEntity<BankAccountRequirements
/// <c>invalid_url_website_incomplete_terms_and_conditions</c>,
/// <c>invalid_url_website_incomplete_under_construction</c>,
/// <c>invalid_url_website_other</c>, <c>invalid_value_other</c>,
/// <c>verification_directors_mismatch</c>, <c>verification_document_address_mismatch</c>,
/// <c>unsupported_business_type</c>, <c>verification_directors_mismatch</c>,
/// <c>verification_document_address_mismatch</c>,
/// <c>verification_document_address_missing</c>, <c>verification_document_corrupt</c>,
/// <c>verification_document_country_not_supported</c>,
/// <c>verification_document_directors_mismatch</c>,
Expand Down
Loading
Loading