diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 57324657fa..0ca1d600a0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -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:
diff --git a/API_VERSION b/API_VERSION
index e91c9d844e..93be1cef53 100644
--- a/API_VERSION
+++ b/API_VERSION
@@ -1 +1 @@
-91ef4c6abe8dcdab3a855d81aa624693a6a4da9f
\ No newline at end of file
+88aa59022b32620f4d66d6196e3b42d5a0f86bbb
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d1b751f30d..3defedc48d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -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
diff --git a/OPENAPI_VERSION b/OPENAPI_VERSION
index 927a37ae78..16739433ec 100644
--- a/OPENAPI_VERSION
+++ b/OPENAPI_VERSION
@@ -1 +1 @@
-v2125
\ No newline at end of file
+v2140
\ No newline at end of file
diff --git a/src/Stripe.net/Constants/ApiVersion.cs b/src/Stripe.net/Constants/ApiVersion.cs
index 580814e02a..dad82fed98 100644
--- a/src/Stripe.net/Constants/ApiVersion.cs
+++ b/src/Stripe.net/Constants/ApiVersion.cs
@@ -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";
}
}
\ No newline at end of file
diff --git a/src/Stripe.net/Entities/AccountLinks/AccountLink.cs b/src/Stripe.net/Entities/AccountLinks/AccountLink.cs
index 86581ad248..373a3ef476 100644
--- a/src/Stripe.net/Entities/AccountLinks/AccountLink.cs
+++ b/src/Stripe.net/Entities/AccountLinks/AccountLink.cs
@@ -13,7 +13,7 @@ namespace Stripe
/// permission to access Stripe-hosted applications, such as Connect Onboarding.
///
/// Related guide: Connect Onboarding.
+ /// href="https://docs.stripe.com/connect/custom/hosted-onboarding">Connect Onboarding.
///
public class AccountLink : StripeEntity, IHasObject
{
diff --git a/src/Stripe.net/Entities/AccountNotices/AccountNotice.cs b/src/Stripe.net/Entities/AccountNotices/AccountNotice.cs
index 617c764400..547199b23d 100644
--- a/src/Stripe.net/Entities/AccountNotices/AccountNotice.cs
+++ b/src/Stripe.net/Entities/AccountNotices/AccountNotice.cs
@@ -14,7 +14,7 @@ namespace Stripe
/// opt to send the notices yourself.
///
/// See the guide
+ /// href="https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices">guide
/// to send notices to your connected accounts.
///
public class AccountNotice : StripeEntity, IHasId, IHasMetadata, IHasObject
@@ -88,7 +88,7 @@ public class AccountNotice : StripeEntity, IHasId, IHasMetadata,
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -101,7 +101,7 @@ public class AccountNotice : StripeEntity, IHasId, IHasMetadata,
///
/// Reason the notice is being sent. The reason determines what copy the notice must
/// contain. See the regulated
+ /// href="https://docs.stripe.com/issuing/compliance-us/issuing-regulated-customer-notices">regulated
/// customer notices 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.
diff --git a/src/Stripe.net/Entities/AccountNotices/AccountNoticeLinkedObjects.cs b/src/Stripe.net/Entities/AccountNotices/AccountNoticeLinkedObjects.cs
index 2af96d8e26..ceb918b2ff 100644
--- a/src/Stripe.net/Entities/AccountNotices/AccountNoticeLinkedObjects.cs
+++ b/src/Stripe.net/Entities/AccountNotices/AccountNoticeLinkedObjects.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class AccountNoticeLinkedObjects : StripeEntity
{
///
- /// Associated Capability.
+ /// Associated Capability.
///
[JsonProperty("capability")]
#if NET6_0_OR_GREATER
@@ -19,7 +19,7 @@ public class AccountNoticeLinkedObjects : StripeEntity
/// Associated Credit
+ /// href="https://docs.stripe.com/api/issuing/credit_underwriting_record">Credit
/// Underwriting Record.
///
[JsonProperty("issuing_credit_underwriting_record")]
@@ -29,7 +29,7 @@ public class AccountNoticeLinkedObjects : StripeEntity
- /// Associated Issuing Dispute.
+ /// Associated Issuing Dispute.
///
[JsonProperty("issuing_dispute")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/AccountSessions/AccountSession.cs b/src/Stripe.net/Entities/AccountSessions/AccountSession.cs
index 6fdf220ecd..7e71ddcdd4 100644
--- a/src/Stripe.net/Entities/AccountSessions/AccountSession.cs
+++ b/src/Stripe.net/Entities/AccountSessions/AccountSession.cs
@@ -17,7 +17,7 @@ namespace Stripe
/// relatively quickly, and cannot be used more than once.
///
/// Related guide: Connect
+ /// href="https://docs.stripe.com/connect/get-started-connect-embedded-components">Connect
/// embedded components.
///
public class AccountSession : StripeEntity, IHasObject
@@ -49,7 +49,7 @@ public class AccountSession : StripeEntity, IHasObject
/// Make sure that you have TLS enabled on any page that includes the client secret.
///
/// Refer to our docs to setup
+ /// href="https://docs.stripe.com/connect/get-started-connect-embedded-components">setup
/// Connect embedded components and learn about how client_secret should be
/// handled.
///
diff --git a/src/Stripe.net/Entities/Accounts/Account.cs b/src/Stripe.net/Entities/Accounts/Account.cs
index 8160d9d387..cc8094e5db 100644
--- a/src/Stripe.net/Entities/Accounts/Account.cs
+++ b/src/Stripe.net/Entities/Accounts/Account.cs
@@ -206,7 +206,7 @@ public class Account : StripeEntity, IHasId, IHasMetadata, IHasObject,
public Person Individual { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Accounts/AccountCompany.cs b/src/Stripe.net/Entities/Accounts/AccountCompany.cs
index a7e851cfe1..24c8a32c92 100644
--- a/src/Stripe.net/Entities/Accounts/AccountCompany.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountCompany.cs
@@ -35,7 +35,7 @@ public class AccountCompany : StripeEntity
///
/// Whether the company's directors have been provided. This Boolean will be true if
/// you've manually indicated that all directors are provided via the
+ /// href="https://docs.stripe.com/api/accounts/update#update_account-company-directors_provided">the
/// directors_provided parameter.
///
[JsonProperty("directors_provided")]
@@ -57,7 +57,7 @@ public class AccountCompany : StripeEntity
///
/// Whether the company's executives have been provided. This Boolean will be true if
/// you've manually indicated that all executives are provided via the
+ /// href="https://docs.stripe.com/api/accounts/update#update_account-company-executives_provided">the
/// executives_provided parameter, or if Stripe determined that sufficient
/// executives were provided.
///
@@ -124,7 +124,7 @@ public class AccountCompany : StripeEntity
///
/// Whether the company's owners have been provided. This Boolean will be true if
/// you've manually indicated that all owners are provided via the
+ /// href="https://docs.stripe.com/api/accounts/update#update_account-company-owners_provided">the
/// owners_provided parameter, 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
@@ -192,7 +192,7 @@ public class AccountCompany : StripeEntity
/// available for accounts where controller.requirement_collection
/// is stripe. See Business
+ /// href="https://docs.stripe.com/connect/identity-verification#business-structure">Business
/// structure for more details.
/// One of: free_zone_establishment, free_zone_llc,
/// government_instrumentality, governmental_unit,
diff --git a/src/Stripe.net/Entities/Accounts/AccountCompanyVerificationDocument.cs b/src/Stripe.net/Entities/Accounts/AccountCompanyVerificationDocument.cs
index bb9248b75e..c72f08fe0f 100644
--- a/src/Stripe.net/Entities/Accounts/AccountCompanyVerificationDocument.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountCompanyVerificationDocument.cs
@@ -16,10 +16,10 @@ public class AccountCompanyVerificationDocument : StripeEntity
/// (ID of the File)
- /// The back of a document returned by a file upload with a purpose
- /// value of additional_verification. Note that additional_verification files
- /// are not downloadable.
+ /// The back of a document returned by a file
+ /// upload with a purpose value of additional_verification. Note that
+ /// additional_verification files are not downloadable.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -33,10 +33,10 @@ public string BackId
///
/// (Expanded)
- /// The back of a document returned by a file upload with a purpose
- /// value of additional_verification. Note that additional_verification files
- /// are not downloadable.
+ /// The back of a document returned by a file
+ /// upload with a purpose value of additional_verification. Note that
+ /// additional_verification files are not downloadable.
///
/// For more information, see the expand documentation.
///
@@ -87,10 +87,10 @@ public File Back
///
/// (ID of the File)
- /// The front of a document returned by a file upload with a purpose
- /// value of additional_verification. Note that additional_verification files
- /// are not downloadable.
+ /// The front of a document returned by a file
+ /// upload with a purpose value of additional_verification. Note that
+ /// additional_verification files are not downloadable.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -104,10 +104,10 @@ public string FrontId
///
/// (Expanded)
- /// The front of a document returned by a file upload with a purpose
- /// value of additional_verification. Note that additional_verification files
- /// are not downloadable.
+ /// The front of a document returned by a file
+ /// upload with a purpose value of additional_verification. Note that
+ /// additional_verification files are not downloadable.
///
/// For more information, see the expand documentation.
///
diff --git a/src/Stripe.net/Entities/Accounts/AccountController.cs b/src/Stripe.net/Entities/Accounts/AccountController.cs
index 5b0c774051..fefa9d3a15 100644
--- a/src/Stripe.net/Entities/Accounts/AccountController.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountController.cs
@@ -29,7 +29,7 @@ public class AccountController : StripeEntity
///
/// true if the Connect application retrieving the resource controls the account and
/// can therefore exercise platform
+ /// href="https://docs.stripe.com/connect/platform-controls-for-standard-accounts">platform
/// controls. Otherwise, this field is null.
///
[JsonProperty("is_controller")]
diff --git a/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs b/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs
index e1b42b5480..f8be29fae6 100644
--- a/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountFutureRequirements.cs
@@ -12,8 +12,11 @@ namespace Stripe
public class AccountFutureRequirements : StripeEntity
{
///
- /// 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 original_fields_due, and any
+ /// of these alternatives can serve as a pathway for attempting to resolve the fields again.
+ /// Re-providing original_fields_due also serves as a pathway for attempting to
+ /// resolve the fields again.
///
[JsonProperty("alternatives")]
#if NET6_0_OR_GREATER
@@ -36,7 +39,7 @@ public class AccountFutureRequirements : StripeEntity
public DateTime? CurrentDeadline { get; set; }
///
- /// 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
/// future_requirements[current_deadline], these fields will transition to the main
/// requirements hash.
///
@@ -62,8 +65,8 @@ public class AccountFutureRequirements : StripeEntity
public string DisabledReason { get; set; }
///
- /// Fields that are currently_due and need to be collected again because validation
- /// or verification failed.
+ /// Details about validation and verification failures for due requirements that must
+ /// be resolved.
///
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
@@ -82,10 +85,9 @@ public class AccountFutureRequirements : StripeEntity
public List EventuallyDue { get; set; }
///
- /// Fields that weren't collected by requirements.current_deadline. These fields need
- /// to be collected to enable the capability on the account. New fields will never appear
- /// here; future_requirements.past_due will always be a subset of
- /// requirements.past_due.
+ /// Fields that haven't been resolved by requirements.current_deadline. These fields
+ /// need to be resolved to enable the capability on the account.
+ /// future_requirements.past_due is a subset of requirements.past_due.
///
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
@@ -94,12 +96,11 @@ public class AccountFutureRequirements : StripeEntity
public List PastDue { get; set; }
///
- /// 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 eventually_due or currently_due. Fields might
- /// appear in eventually_due or currently_due and in
- /// pending_verification 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 eventually_due,
+ /// currently_due, past_due or alternatives. Fields might appear in
+ /// eventually_due, currently_due, past_due or alternatives and
+ /// in pending_verification if one verification fails but another is still pending.
///
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Accounts/AccountFutureRequirementsAlternative.cs b/src/Stripe.net/Entities/Accounts/AccountFutureRequirementsAlternative.cs
index 0cafc95438..e3d70132b1 100644
--- a/src/Stripe.net/Entities/Accounts/AccountFutureRequirementsAlternative.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountFutureRequirementsAlternative.cs
@@ -10,7 +10,7 @@ namespace Stripe
public class AccountFutureRequirementsAlternative : StripeEntity
{
///
- /// Fields that can be provided to satisfy all fields in original_fields_due.
+ /// Fields that can be provided to resolve all fields in original_fields_due.
///
[JsonProperty("alternative_fields_due")]
#if NET6_0_OR_GREATER
@@ -19,7 +19,7 @@ public class AccountFutureRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; }
///
- /// 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
/// alternative_fields_due.
///
[JsonProperty("original_fields_due")]
diff --git a/src/Stripe.net/Entities/Accounts/AccountGroups.cs b/src/Stripe.net/Entities/Accounts/AccountGroups.cs
index 5e4eb86f5b..66bdb651fc 100644
--- a/src/Stripe.net/Entities/Accounts/AccountGroups.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountGroups.cs
@@ -11,7 +11,7 @@ public class AccountGroups : StripeEntity
///
/// The group the account is in to determine their payments pricing, and null if the account
/// is on customized pricing. See the Platform pricing
+ /// href="https://docs.stripe.com/connect/platform-pricing-tools">See the Platform pricing
/// tool documentation for details.
///
[JsonProperty("payments_pricing")]
diff --git a/src/Stripe.net/Entities/Accounts/AccountRequirements.cs b/src/Stripe.net/Entities/Accounts/AccountRequirements.cs
index f2a5291693..5a2f006d36 100644
--- a/src/Stripe.net/Entities/Accounts/AccountRequirements.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountRequirements.cs
@@ -12,8 +12,11 @@ namespace Stripe
public class AccountRequirements : StripeEntity
{
///
- /// 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 original_fields_due, and any
+ /// of these alternatives can serve as a pathway for attempting to resolve the fields again.
+ /// Re-providing original_fields_due also serves as a pathway for attempting to
+ /// resolve the fields again.
///
[JsonProperty("alternatives")]
#if NET6_0_OR_GREATER
@@ -35,9 +38,9 @@ public class AccountRequirements : StripeEntity
public DateTime? CurrentDeadline { get; set; }
///
- /// Fields that need to be collected to keep the account enabled. If not collected by
- /// current_deadline, these fields appear in past_due as well, and the account
- /// is disabled.
+ /// Fields that need to be resolved to keep the account enabled. If not resolved by
+ /// current_deadline, these fields will appear in past_due as well, and the
+ /// account is disabled.
///
[JsonProperty("currently_due")]
#if NET6_0_OR_GREATER
@@ -47,7 +50,7 @@ public class AccountRequirements : StripeEntity
///
/// If the account is disabled, this enum describes why. Learn more about
+ /// href="https://docs.stripe.com/connect/handling-api-verification">Learn more about
/// handling verification issues.
/// One of: action_required.requested_capabilities, listed, other,
/// platform_paused, rejected.fraud, rejected.incomplete_verification,
@@ -63,8 +66,8 @@ public class AccountRequirements : StripeEntity
public string DisabledReason { get; set; }
///
- /// Fields that are currently_due and need to be collected again because validation
- /// or verification failed.
+ /// Details about validation and verification failures for due requirements that must
+ /// be resolved.
///
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
@@ -83,8 +86,8 @@ public class AccountRequirements : StripeEntity
public List EventuallyDue { get; set; }
///
- /// Fields that weren't collected by current_deadline. These fields need to be
- /// collected to enable the account.
+ /// Fields that haven't been resolved by current_deadline. These fields need to be
+ /// resolved to enable the account.
///
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
@@ -93,12 +96,11 @@ public class AccountRequirements : StripeEntity
public List PastDue { get; set; }
///
- /// 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 eventually_due, currently_due, or
- /// past_due. Fields might appear in eventually_due, currently_due, or
- /// past_due and in pending_verification 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 eventually_due,
+ /// currently_due, past_due or alternatives. Fields might appear in
+ /// eventually_due, currently_due, past_due or alternatives and
+ /// in pending_verification if one verification fails but another is still pending.
///
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Accounts/AccountRequirementsAlternative.cs b/src/Stripe.net/Entities/Accounts/AccountRequirementsAlternative.cs
index 1a342f531d..34370f3eab 100644
--- a/src/Stripe.net/Entities/Accounts/AccountRequirementsAlternative.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountRequirementsAlternative.cs
@@ -10,7 +10,7 @@ namespace Stripe
public class AccountRequirementsAlternative : StripeEntity
{
///
- /// Fields that can be provided to satisfy all fields in original_fields_due.
+ /// Fields that can be provided to resolve all fields in original_fields_due.
///
[JsonProperty("alternative_fields_due")]
#if NET6_0_OR_GREATER
@@ -19,7 +19,7 @@ public class AccountRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; }
///
- /// 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
/// alternative_fields_due.
///
[JsonProperty("original_fields_due")]
diff --git a/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs b/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs
index 5cac46bc9a..4d5498f7a4 100644
--- a/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs
+++ b/src/Stripe.net/Entities/Accounts/AccountRiskControls.cs
@@ -22,7 +22,7 @@ public class AccountRiskControls : StripeEntity
///
/// Represents the rejected reason of the account. Empty if account is not rejected, or
- /// rejected by Stripe. Please see this page for
+ /// 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,
diff --git a/src/Stripe.net/Entities/ApplicationFeeRefunds/ApplicationFeeRefund.cs b/src/Stripe.net/Entities/ApplicationFeeRefunds/ApplicationFeeRefund.cs
index f1665caa38..d6b63c5c9a 100644
--- a/src/Stripe.net/Entities/ApplicationFeeRefunds/ApplicationFeeRefund.cs
+++ b/src/Stripe.net/Entities/ApplicationFeeRefunds/ApplicationFeeRefund.cs
@@ -15,7 +15,7 @@ namespace Stripe
/// account from which the fee was originally collected.
///
/// Related guide: Refunding
+ /// href="https://docs.stripe.com/connect/destination-charges#refunding-app-fee">Refunding
/// application fees.
///
#if NET6_0_OR_GREATER
@@ -155,7 +155,7 @@ public ApplicationFee Fee
#endregion
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Apps/Secrets/Secret.cs b/src/Stripe.net/Entities/Apps/Secrets/Secret.cs
index a9120c282b..4e2b53a939 100644
--- a/src/Stripe.net/Entities/Apps/Secrets/Secret.cs
+++ b/src/Stripe.net/Entities/Apps/Secrets/Secret.cs
@@ -24,7 +24,7 @@ namespace Stripe.Apps
/// different users might have different permissions.
///
/// Related guide: Store data
+ /// href="https://docs.stripe.com/stripe-apps/store-auth-data-custom-objects">Store data
/// between page reloads.
///
public class Secret : StripeEntity, IHasId, IHasObject
diff --git a/src/Stripe.net/Entities/BalanceSettings/BalanceSettingsPaymentsPayouts.cs b/src/Stripe.net/Entities/BalanceSettings/BalanceSettingsPaymentsPayouts.cs
index 6923db6a27..ecc6b375d5 100644
--- a/src/Stripe.net/Entities/BalanceSettings/BalanceSettingsPaymentsPayouts.cs
+++ b/src/Stripe.net/Entities/BalanceSettings/BalanceSettingsPaymentsPayouts.cs
@@ -24,7 +24,7 @@ public class BalanceSettingsPaymentsPayouts : StripeEntity
/// Details on when funds from charges are available, and when they are paid out to an
/// external account. See our Setting Bank
+ /// href="https://docs.stripe.com/connect/bank-transfers#payout-information">Setting Bank
/// and Debit Card Payouts documentation for details.
///
[JsonProperty("schedule")]
diff --git a/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs b/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs
index b99409bb92..affa9ba51e 100644
--- a/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs
+++ b/src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs
@@ -14,7 +14,7 @@ namespace Stripe
/// them for every type of transaction that enters or leaves your Stripe account balance.
///
/// Related guide: Balance transaction
+ /// href="https://docs.stripe.com/reports/balance-transaction-types">Balance transaction
/// types.
///
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Balances/Balance.cs b/src/Stripe.net/Entities/Balances/Balance.cs
index d1d17d87f8..6f151e7335 100644
--- a/src/Stripe.net/Entities/Balances/Balance.cs
+++ b/src/Stripe.net/Entities/Balances/Balance.cs
@@ -13,9 +13,9 @@ namespace Stripe
///
/// The top-level available and pending comprise your "payments balance.".
///
- /// Related guide: Balances and
+ /// Related guide: Balances and
/// settlement time, Understanding Connect account
+ /// href="https://docs.stripe.com/connect/account-balances">Understanding Connect account
/// balances.
///
public class Balance : StripeEntity, IHasObject
@@ -31,8 +31,8 @@ public class Balance : StripeEntity, IHasObject
///
/// Available funds that you can transfer or pay out automatically by Stripe or explicitly
- /// through the Transfers API or Payouts API. You can find the available
+ /// through the Transfers API or Payouts API. You can find the available
/// balance for each currency and payment type in the source_types property.
///
[JsonProperty("available")]
diff --git a/src/Stripe.net/Entities/BankAccounts/BankAccount.cs b/src/Stripe.net/Entities/BankAccounts/BankAccount.cs
index 27bb0dec24..d3515b571c 100644
--- a/src/Stripe.net/Entities/BankAccounts/BankAccount.cs
+++ b/src/Stripe.net/Entities/BankAccounts/BankAccount.cs
@@ -232,7 +232,7 @@ public Customer Customer
///
/// Information about the upcoming new
+ /// href="https://docs.stripe.com/connect/custom-accounts/future-requirements">upcoming new
/// requirements for the bank account, including what information needs to be collected,
/// and by when.
///
@@ -252,7 +252,7 @@ public Customer Customer
public string Last4 { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/BankAccounts/BankAccountFutureRequirements.cs b/src/Stripe.net/Entities/BankAccounts/BankAccountFutureRequirements.cs
index 38eae8556d..e96dd64880 100644
--- a/src/Stripe.net/Entities/BankAccounts/BankAccountFutureRequirements.cs
+++ b/src/Stripe.net/Entities/BankAccounts/BankAccountFutureRequirements.cs
@@ -10,8 +10,8 @@ namespace Stripe
public class BankAccountFutureRequirements : StripeEntity
{
///
- /// Fields that need to be collected to keep the external account enabled. If not collected
- /// by current_deadline, these fields appear in past_due as well, and the
+ /// Fields that need to be resolved to keep the external account enabled. If not resolved by
+ /// current_deadline, these fields will appear in past_due as well, and the
/// account is disabled.
///
[JsonProperty("currently_due")]
@@ -21,8 +21,8 @@ public class BankAccountFutureRequirements : StripeEntity CurrentlyDue { get; set; }
///
- /// Fields that are currently_due and need to be collected again because validation
- /// or verification failed.
+ /// Details about validation and verification failures for due requirements that must
+ /// be resolved.
///
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
@@ -31,8 +31,8 @@ public class BankAccountFutureRequirements : StripeEntity Errors { get; set; }
///
- /// Fields that weren't collected by current_deadline. These fields need to be
- /// collected to enable the external account.
+ /// Fields that haven't been resolved by current_deadline. These fields need to be
+ /// resolved to enable the external account.
///
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
@@ -41,12 +41,11 @@ public class BankAccountFutureRequirements : StripeEntity PastDue { get; set; }
///
- /// 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 eventually_due, currently_due, or
- /// past_due. Fields might appear in eventually_due, currently_due, or
- /// past_due and in pending_verification 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 eventually_due,
+ /// currently_due, past_due or alternatives. Fields might appear in
+ /// eventually_due, currently_due, past_due or alternatives and
+ /// in pending_verification if one verification fails but another is still pending.
///
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/BankAccounts/BankAccountRequirements.cs b/src/Stripe.net/Entities/BankAccounts/BankAccountRequirements.cs
index 4399b335fa..3916703acc 100644
--- a/src/Stripe.net/Entities/BankAccounts/BankAccountRequirements.cs
+++ b/src/Stripe.net/Entities/BankAccounts/BankAccountRequirements.cs
@@ -10,8 +10,8 @@ namespace Stripe
public class BankAccountRequirements : StripeEntity
{
///
- /// Fields that need to be collected to keep the external account enabled. If not collected
- /// by current_deadline, these fields appear in past_due as well, and the
+ /// Fields that need to be resolved to keep the external account enabled. If not resolved by
+ /// current_deadline, these fields will appear in past_due as well, and the
/// account is disabled.
///
[JsonProperty("currently_due")]
@@ -21,8 +21,8 @@ public class BankAccountRequirements : StripeEntity
public List CurrentlyDue { get; set; }
///
- /// Fields that are currently_due and need to be collected again because validation
- /// or verification failed.
+ /// Details about validation and verification failures for due requirements that must
+ /// be resolved.
///
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
@@ -31,8 +31,8 @@ public class BankAccountRequirements : StripeEntity
public List Errors { get; set; }
///
- /// Fields that weren't collected by current_deadline. These fields need to be
- /// collected to enable the external account.
+ /// Fields that haven't been resolved by current_deadline. These fields need to be
+ /// resolved to enable the external account.
///
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
@@ -41,12 +41,11 @@ public class BankAccountRequirements : StripeEntity
public List PastDue { get; set; }
///
- /// 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 eventually_due, currently_due, or
- /// past_due. Fields might appear in eventually_due, currently_due, or
- /// past_due and in pending_verification 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 eventually_due,
+ /// currently_due, past_due or alternatives. Fields might appear in
+ /// eventually_due, currently_due, past_due or alternatives and
+ /// in pending_verification if one verification fails but another is still pending.
///
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Billing/Alerts/Alert.cs b/src/Stripe.net/Entities/Billing/Alerts/Alert.cs
index 79dfe66d02..d95d75418e 100644
--- a/src/Stripe.net/Entities/Billing/Alerts/Alert.cs
+++ b/src/Stripe.net/Entities/Billing/Alerts/Alert.cs
@@ -71,7 +71,7 @@ public class Alert : StripeEntity, IHasId, IHasObject
///
/// Encapsulates configuration of the alert to monitor usage on a specific Billing Meter.
+ /// href="https://docs.stripe.com/api/billing/meter">Billing Meter.
///
[JsonProperty("usage_threshold")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs
index d9d257b793..555b33a82a 100644
--- a/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs
+++ b/src/Stripe.net/Entities/Billing/CreditGrants/CreditGrant.cs
@@ -116,7 +116,7 @@ public Customer Customer
#endregion
///
- /// ID of the account receiving the billing credits.
+ /// ID of the account representing the customer receiving the billing credits.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
@@ -158,7 +158,7 @@ public Customer Customer
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs b/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs
index b4ea7a80dd..ae25719700 100644
--- a/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs
+++ b/src/Stripe.net/Entities/Billing/MeterEvents/MeterEvent.cs
@@ -70,7 +70,7 @@ public class MeterEvent : StripeEntity, IHasObject
/// customer_mapping.event_payload_key (default is stripe_customer_id) and
/// value_settings.event_payload_key (default is value). Read more about the
/// payload.
+ /// href="https://docs.stripe.com/billing/subscriptions/usage-based/meters/configure#meter-configuration-attributes">payload.
///
[JsonProperty("payload")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/Configuration.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/Configuration.cs
index d295989483..05749774ea 100644
--- a/src/Stripe.net/Entities/BillingPortal/Configurations/Configuration.cs
+++ b/src/Stripe.net/Entities/BillingPortal/Configurations/Configuration.cs
@@ -108,7 +108,7 @@ public Application Application
///
/// The default URL to redirect customers to when they click on the portal's link to return
/// to your website. This can be overriden
+ /// href="https://docs.stripe.com/api/customer_portal/sessions/create#create_portal_session-return_url">overriden
/// when creating the session.
///
[JsonProperty("default_return_url")]
@@ -151,7 +151,7 @@ public Application Application
public ConfigurationLoginPage LoginPage { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs
index 59d0e50567..dbfee22c07 100644
--- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs
+++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationFeaturesSubscriptionUpdate.cs
@@ -9,6 +9,20 @@ namespace Stripe.BillingPortal
public class ConfigurationFeaturesSubscriptionUpdate : StripeEntity
{
+ ///
+ /// Determines the value to use for the billing cycle anchor on subscription updates. Valid
+ /// values are now or unchanged, and the default value is unchanged.
+ /// Setting the value to now resets the subscription's billing cycle anchor to the
+ /// current time (in UTC). For more information, see the billing cycle documentation.
+ /// One of: now, or unchanged.
+ ///
+ [JsonProperty("billing_cycle_anchor")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("billing_cycle_anchor")]
+#endif
+ public string BillingCycleAnchor { get; set; }
+
///
/// The types of subscription updates that are supported for items listed in the
/// products attribute. When empty, subscriptions are not updateable.
diff --git a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationLoginPage.cs b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationLoginPage.cs
index df04f9bd62..79bb6a21d9 100644
--- a/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationLoginPage.cs
+++ b/src/Stripe.net/Entities/BillingPortal/Configurations/ConfigurationLoginPage.cs
@@ -23,7 +23,7 @@ public class ConfigurationLoginPage : StripeEntity
///
/// A shareable URL to the hosted portal login page. Your customers will be able to log in
/// with their email and
+ /// href="https://docs.stripe.com/api/customers/object#customer_object-email">email and
/// receive a link to their customer portal.
///
[JsonProperty("url")]
diff --git a/src/Stripe.net/Entities/BillingPortal/Sessions/Session.cs b/src/Stripe.net/Entities/BillingPortal/Sessions/Session.cs
index ddab4d857b..31c4b0448f 100644
--- a/src/Stripe.net/Entities/BillingPortal/Sessions/Session.cs
+++ b/src/Stripe.net/Entities/BillingPortal/Sessions/Session.cs
@@ -118,7 +118,7 @@ public Configuration Configuration
///
/// Information about a specific flow for the customer to go through. See the docs to learn
+ /// href="https://docs.stripe.com/customer-management/portal-deep-links">docs to learn
/// more about using customer portal deep links and flows.
///
[JsonProperty("flow")]
@@ -158,9 +158,9 @@ public Configuration Configuration
/// The account for which the session was created on behalf of. When specified, only
/// subscriptions and invoices with this on_behalf_of account appear in the portal.
/// For more information, see the docs.
+ /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#settlement-merchant">docs.
/// Use the Accounts
+ /// href="https://docs.stripe.com/api/accounts/object#account_object-settings-branding">Accounts
/// API to modify the on_behalf_of account's branding settings, which the portal
/// displays.
///
diff --git a/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirm.cs b/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirm.cs
index b0b802ae7c..4fa0945436 100644
--- a/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirm.cs
+++ b/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirm.cs
@@ -19,7 +19,7 @@ public class SessionFlowSubscriptionUpdateConfirm : StripeEntity Discounts { get; set; }
///
- /// The subscription item to be
+ /// The subscription item to be
/// updated through this flow. Currently, only up to one may be specified and subscriptions
/// with multiple items are not updatable.
///
diff --git a/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirmItem.cs b/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirmItem.cs
index 354f332c1a..47d07e8b14 100644
--- a/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirmItem.cs
+++ b/src/Stripe.net/Entities/BillingPortal/Sessions/SessionFlowSubscriptionUpdateConfirmItem.cs
@@ -10,7 +10,7 @@ public class SessionFlowSubscriptionUpdateConfirmItem : StripeEntity
/// The ID of the subscription
+ /// href="https://docs.stripe.com/api/subscriptions/object#subscription_object-items-data-id">subscription
/// item to be updated.
///
[JsonProperty("id")]
@@ -22,7 +22,7 @@ public class SessionFlowSubscriptionUpdateConfirmItem : StripeEntity
/// The price the customer should subscribe to through this flow. The price must also be
/// included in the configuration's features.subscription_update.products.
+ /// href="https://docs.stripe.com/api/customer_portal/configuration#portal_configuration_object-features-subscription_update-products">features.subscription_update.products.
///
[JsonProperty("price")]
#if NET6_0_OR_GREATER
@@ -31,7 +31,7 @@ public class SessionFlowSubscriptionUpdateConfirmItem : StripeEntity
- /// Quantity for this item
+ /// Quantity for this item
/// that the customer should subscribe to through this flow.
///
[JsonProperty("quantity")]
diff --git a/src/Stripe.net/Entities/Capabilities/Capability.cs b/src/Stripe.net/Entities/Capabilities/Capability.cs
index 7753c69558..aa987890ae 100644
--- a/src/Stripe.net/Entities/Capabilities/Capability.cs
+++ b/src/Stripe.net/Entities/Capabilities/Capability.cs
@@ -11,7 +11,7 @@ namespace Stripe
///
/// This is an object representing a capability for a Stripe account.
///
- /// Related guide: Account
+ /// Related guide: Account
/// capabilities.
///
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs
index 6f01dc3fa2..efc717095e 100644
--- a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs
+++ b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirements.cs
@@ -12,8 +12,11 @@ namespace Stripe
public class CapabilityFutureRequirements : StripeEntity
{
///
- /// 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. Multiple alternatives can reference the same original_fields_due.
+ /// When this happens, any of these alternatives can serve as a pathway for attempting to
+ /// resolve the fields. Additionally, providing original_fields_due again also serves
+ /// as a pathway for attempting to resolve the fields.
///
[JsonProperty("alternatives")]
#if NET6_0_OR_GREATER
@@ -36,7 +39,7 @@ public class CapabilityFutureRequirements : StripeEntity
- /// Fields that need to be collected to keep the capability enabled. If not collected by
+ /// Fields that need to be resolved to keep the capability enabled. If not resolved by
/// future_requirements[current_deadline], these fields will transition to the main
/// requirements hash.
///
@@ -62,8 +65,8 @@ public class CapabilityFutureRequirements : StripeEntity
- /// Fields that are currently_due and need to be collected again because validation
- /// or verification failed.
+ /// Details about validation and verification failures for due requirements that must
+ /// be resolved.
///
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
@@ -82,10 +85,9 @@ public class CapabilityFutureRequirements : StripeEntity EventuallyDue { get; set; }
///
- /// Fields that weren't collected by requirements.current_deadline. These fields need
- /// to be collected to enable the capability on the account. New fields will never appear
- /// here; future_requirements.past_due will always be a subset of
- /// requirements.past_due.
+ /// Fields that haven't been resolved by requirements.current_deadline. These fields
+ /// need to be resolved to enable the capability on the account.
+ /// future_requirements.past_due is a subset of requirements.past_due.
///
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
@@ -94,12 +96,11 @@ public class CapabilityFutureRequirements : StripeEntity PastDue { get; set; }
///
- /// 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 eventually_due or currently_due. Fields might
- /// appear in eventually_due or currently_due and in
- /// pending_verification 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 eventually_due,
+ /// currently_due, past_due or alternatives. Fields might appear in
+ /// eventually_due, currently_due, past_due or alternatives and
+ /// in pending_verification if one verification fails but another is still pending.
///
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirementsAlternative.cs b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirementsAlternative.cs
index 5804eb74ef..41b7b1d423 100644
--- a/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirementsAlternative.cs
+++ b/src/Stripe.net/Entities/Capabilities/CapabilityFutureRequirementsAlternative.cs
@@ -10,7 +10,7 @@ namespace Stripe
public class CapabilityFutureRequirementsAlternative : StripeEntity
{
///
- /// Fields that can be provided to satisfy all fields in original_fields_due.
+ /// Fields that can be provided to resolve all fields in original_fields_due.
///
[JsonProperty("alternative_fields_due")]
#if NET6_0_OR_GREATER
@@ -19,7 +19,7 @@ public class CapabilityFutureRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; }
///
- /// 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
/// alternative_fields_due.
///
[JsonProperty("original_fields_due")]
diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs b/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs
index 2c0b1eac5b..ebe4be2b5c 100644
--- a/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs
+++ b/src/Stripe.net/Entities/Capabilities/CapabilityRequirements.cs
@@ -12,8 +12,11 @@ namespace Stripe
public class CapabilityRequirements : StripeEntity
{
///
- /// 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. Multiple alternatives can reference the same original_fields_due.
+ /// When this happens, any of these alternatives can serve as a pathway for attempting to
+ /// resolve the fields. Additionally, providing original_fields_due again also serves
+ /// as a pathway for attempting to resolve the fields.
///
[JsonProperty("alternatives")]
#if NET6_0_OR_GREATER
@@ -37,8 +40,8 @@ public class CapabilityRequirements : StripeEntity
public DateTime? CurrentDeadline { get; set; }
///
- /// Fields that need to be collected to keep the capability enabled. If not collected by
- /// current_deadline, these fields appear in past_due as well, and the
+ /// Fields that need to be resolved to keep the capability enabled. If not resolved by
+ /// current_deadline, these fields will appear in past_due as well, and the
/// capability is disabled.
///
[JsonProperty("currently_due")]
@@ -49,7 +52,7 @@ public class CapabilityRequirements : StripeEntity
///
/// Description of why the capability is disabled. Learn more about
+ /// href="https://docs.stripe.com/connect/handling-api-verification">Learn more about
/// handling verification issues.
/// One of: other, paused.inactivity, pending.onboarding,
/// pending.review, platform_disabled, platform_paused,
@@ -63,8 +66,8 @@ public class CapabilityRequirements : StripeEntity
public string DisabledReason { get; set; }
///
- /// Fields that are currently_due and need to be collected again because validation
- /// or verification failed.
+ /// Details about validation and verification failures for due requirements that must
+ /// be resolved.
///
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
@@ -83,8 +86,8 @@ public class CapabilityRequirements : StripeEntity
public List EventuallyDue { get; set; }
///
- /// Fields that weren't collected by current_deadline. These fields need to be
- /// collected to enable the capability on the account.
+ /// Fields that haven't been resolved by current_deadline. These fields need to be
+ /// resolved to enable the capability on the account.
///
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
@@ -93,12 +96,11 @@ public class CapabilityRequirements : StripeEntity
public List PastDue { get; set; }
///
- /// 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 eventually_due, currently_due, or
- /// past_due. Fields might appear in eventually_due, currently_due, or
- /// past_due and in pending_verification 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 eventually_due,
+ /// currently_due, past_due or alternatives. Fields might appear in
+ /// eventually_due, currently_due, past_due or alternatives and
+ /// in pending_verification if one verification fails but another is still pending.
///
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Capabilities/CapabilityRequirementsAlternative.cs b/src/Stripe.net/Entities/Capabilities/CapabilityRequirementsAlternative.cs
index e390f41909..ea4aedc33a 100644
--- a/src/Stripe.net/Entities/Capabilities/CapabilityRequirementsAlternative.cs
+++ b/src/Stripe.net/Entities/Capabilities/CapabilityRequirementsAlternative.cs
@@ -10,7 +10,7 @@ namespace Stripe
public class CapabilityRequirementsAlternative : StripeEntity
{
///
- /// Fields that can be provided to satisfy all fields in original_fields_due.
+ /// Fields that can be provided to resolve all fields in original_fields_due.
///
[JsonProperty("alternative_fields_due")]
#if NET6_0_OR_GREATER
@@ -19,7 +19,7 @@ public class CapabilityRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; }
///
- /// 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
/// alternative_fields_due.
///
[JsonProperty("original_fields_due")]
diff --git a/src/Stripe.net/Entities/Capital/FinancingOffers/FinancingOffer.cs b/src/Stripe.net/Entities/Capital/FinancingOffers/FinancingOffer.cs
index 4c32a3f323..5962578b8d 100644
--- a/src/Stripe.net/Entities/Capital/FinancingOffers/FinancingOffer.cs
+++ b/src/Stripe.net/Entities/Capital/FinancingOffers/FinancingOffer.cs
@@ -106,7 +106,7 @@ public class FinancingOffer : StripeEntity, IHasId, IHasMetadata
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -169,7 +169,7 @@ public class FinancingOffer : StripeEntity, IHasId, IHasMetadata
///
/// See financing_type.
+ /// href="https://docs.stripe.com/api/capital/connect_financing_object#financing_offer_object-financing_type">financing_type.
/// One of: cash_advance, fixed_term_loan, or flex_loan.
///
[JsonProperty("type")]
diff --git a/src/Stripe.net/Entities/Capital/FinancingSummaries/FinancingSummary.cs b/src/Stripe.net/Entities/Capital/FinancingSummaries/FinancingSummary.cs
index 24985252ce..841f517da4 100644
--- a/src/Stripe.net/Entities/Capital/FinancingSummaries/FinancingSummary.cs
+++ b/src/Stripe.net/Entities/Capital/FinancingSummaries/FinancingSummary.cs
@@ -7,8 +7,9 @@ namespace Stripe.Capital
#endif
///
- /// A financing object describes an account's current financing state. Used by Connect
- /// platforms to read the state of Capital offered to their connected accounts.
+ /// A financing summary object describes a connected account's financing status in real
+ /// time. A financing status is either accepted, delivered, or none.
+ /// You can read the status of your connected accounts.
///
public class FinancingSummary : StripeEntity, IHasObject
{
@@ -25,6 +26,8 @@ public class FinancingSummary : StripeEntity, IHasObject
/// Additional information about the financing summary. Describes currency, advance amount,
/// fee amount, withhold rate, remaining amount, paid amount, current repayment interval,
/// repayment start date, and advance payout date.
+ ///
+ /// Only present for financing offers with the paid_out status.
///
[JsonProperty("details")]
#if NET6_0_OR_GREATER
@@ -33,7 +36,8 @@ public class FinancingSummary : StripeEntity, IHasObject
public FinancingSummaryDetails Details { get; set; }
///
- /// The Financing Offer ID this Financing Summary corresponds to.
+ /// The unique identifier of the Financing Offer object that corresponds to the Financing
+ /// Summary object.
///
[JsonProperty("financing_offer")]
#if NET6_0_OR_GREATER
@@ -42,9 +46,7 @@ public class FinancingSummary : StripeEntity, IHasObject
public string FinancingOffer { get; set; }
///
- /// Status of the Connected Account's financing. /v1/capital/financing_summary
- /// will only return details for paid_out financing.
+ /// The financing status of the connected account.
/// One of: accepted, delivered, or none.
///
[JsonProperty("status")]
diff --git a/src/Stripe.net/Entities/Cards/Card.cs b/src/Stripe.net/Entities/Cards/Card.cs
index 6e3ca2a811..6f5b9679c2 100644
--- a/src/Stripe.net/Entities/Cards/Card.cs
+++ b/src/Stripe.net/Entities/Cards/Card.cs
@@ -13,7 +13,7 @@ namespace Stripe
/// can also store multiple debit cards on a recipient in order to transfer to those cards
/// later.
///
- /// Related guide: Card payments with
+ /// Related guide: Card payments with
/// Sources.
///
#if NET6_0_OR_GREATER
@@ -388,7 +388,7 @@ public Customer Customer
public string Last4 { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/CashBalances/CashBalance.cs b/src/Stripe.net/Entities/CashBalances/CashBalance.cs
index f940395fc7..b5926a69ae 100644
--- a/src/Stripe.net/Entities/CashBalances/CashBalance.cs
+++ b/src/Stripe.net/Entities/CashBalances/CashBalance.cs
@@ -26,7 +26,7 @@ public class CashBalance : StripeEntity, IHasObject
///
/// A hash of all cash balances available to this customer. You cannot delete a customer
/// with any cash balances, even if the balance is 0. Amounts are represented in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
///
[JsonProperty("available")]
#if NET6_0_OR_GREATER
@@ -44,7 +44,7 @@ public class CashBalance : StripeEntity, IHasObject
public string Customer { get; set; }
///
- /// The ID of the account whose cash balance this object represents.
+ /// The ID of an Account representing a customer whose cash balance this object represents.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Charges/Charge.cs b/src/Stripe.net/Entities/Charges/Charge.cs
index b38341f62d..4b3e05585a 100644
--- a/src/Stripe.net/Entities/Charges/Charge.cs
+++ b/src/Stripe.net/Entities/Charges/Charge.cs
@@ -12,7 +12,7 @@ namespace Stripe
///
/// The Charge object represents a single attempt to move money into your Stripe
/// account. PaymentIntent confirmation is the most common way to create Charges, but Account Debits may also create
+ /// href="https://docs.stripe.com/connect/account-debits">Account Debits may also create
/// Charges. Some legacy payment flows create Charges directly, which is not recommended for
/// new integrations.
///
@@ -41,10 +41,10 @@ public class Charge : StripeEntity, IHasId, IHasMetadata, IHasObject, IB
///
/// Amount intended to be collected by this payment. A positive integer representing how
- /// much to charge in the smallest
+ /// much to charge in the smallest
/// currency unit (e.g., 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal
/// currency). The minimum amount is $0.50 US or equivalent
+ /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent
/// in charge currency. The amount value supports up to eight digits (e.g., a value of
/// 99999999 for a USD charge of $999,999.99).
///
@@ -120,7 +120,7 @@ public Application Application
///
/// (ID of the ApplicationFee)
/// The application fee (if any) for the charge. See the Connect
+ /// href="https://docs.stripe.com/connect/direct-charges#collect-fees">See the Connect
/// documentation for details.
///
[JsonIgnore]
@@ -136,7 +136,7 @@ public string ApplicationFeeId
///
/// (Expanded)
/// The application fee (if any) for the charge. See the Connect
+ /// href="https://docs.stripe.com/connect/direct-charges#collect-fees">See the Connect
/// documentation for details.
///
/// For more information, see the expand documentation.
@@ -162,7 +162,7 @@ public ApplicationFee ApplicationFee
///
/// The amount of the application fee (if any) requested for the charge. See the Connect
+ /// href="https://docs.stripe.com/connect/direct-charges#collect-fees">See the Connect
/// documentation for details.
///
[JsonProperty("application_fee_amount")]
@@ -377,7 +377,7 @@ public BalanceTransaction FailureBalanceTransaction
///
/// Error code explaining reason for charge failure if available (see the errors section for a list of codes).
+ /// href="https://docs.stripe.com/error-codes">the errors section for a list of codes).
///
[JsonProperty("failure_code")]
#if NET6_0_OR_GREATER
@@ -420,7 +420,7 @@ public BalanceTransaction FailureBalanceTransaction
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -436,7 +436,7 @@ public BalanceTransaction FailureBalanceTransaction
/// (ID of the Account)
/// The account (if any) the charge was made on behalf of without triggering an automatic
/// transfer. See the Connect
+ /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">Connect
/// documentation for details.
///
[JsonIgnore]
@@ -453,7 +453,7 @@ public string OnBehalfOfId
/// (Expanded)
/// The account (if any) the charge was made on behalf of without triggering an automatic
/// transfer. See the Connect
+ /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">Connect
/// documentation for details.
///
/// For more information, see the expand documentation.
@@ -479,7 +479,7 @@ public Account OnBehalfOf
///
/// Details about whether the payment was accepted, and why. See understanding declines for details.
+ /// href="https://docs.stripe.com/declines">understanding declines for details.
///
[JsonProperty("outcome")]
#if NET6_0_OR_GREATER
@@ -563,7 +563,7 @@ public PaymentIntent PaymentIntent
///
/// Options to configure Radar. See Radar Session for more
+ /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more
/// information.
///
[JsonProperty("radar_options")]
@@ -812,7 +812,7 @@ public Transfer Transfer
///
/// An optional dictionary including the account to automatically transfer to as part of a
- /// destination charge. See
+ /// destination charge. See
/// the Connect documentation for details.
///
[JsonProperty("transfer_data")]
@@ -823,7 +823,7 @@ public Transfer Transfer
///
/// A string that identifies this transaction as part of a group. See the Connect
+ /// href="https://docs.stripe.com/connect/separate-charges-and-transfers#transfer-options">Connect
/// documentation for details.
///
[JsonProperty("transfer_group")]
diff --git a/src/Stripe.net/Entities/Charges/ChargeOutcome.cs b/src/Stripe.net/Entities/Charges/ChargeOutcome.cs
index 1f7ed3184e..c5c3fd3f53 100644
--- a/src/Stripe.net/Entities/Charges/ChargeOutcome.cs
+++ b/src/Stripe.net/Entities/Charges/ChargeOutcome.cs
@@ -14,7 +14,7 @@ public class ChargeOutcome : StripeEntity
{
///
/// An enumerated value providing a more detailed explanation on how to proceed with an
+ /// href="https://docs.stripe.com/declines#retrying-issuer-declines">how to proceed with an
/// error.
/// One of: confirm_card_data, do_not_try_again, or try_again_later.
///
@@ -48,7 +48,7 @@ public class ChargeOutcome : StripeEntity
/// Possible values are approved_by_network, declined_by_network,
/// not_sent_to_network, and reversed_after_approval. The value
/// reversed_after_approval indicates the payment was blocked by Stripe after
+ /// href="https://docs.stripe.com/declines#blocked-payments">blocked by Stripe after
/// bank authorization, and may temporarily appear as "pending" on a cardholder's statement.
///
[JsonProperty("network_status")]
@@ -64,7 +64,7 @@ public class ChargeOutcome : StripeEntity
/// elevated_risk_level. Charges blocked because the payment is unlikely to be
/// authorized have the value low_probability_of_authorization. Charges authorized,
/// blocked, or placed in review by custom rules have the value rule. See understanding declines for more details.
+ /// href="https://docs.stripe.com/declines">understanding declines for more details.
///
[JsonProperty("reason")]
#if NET6_0_OR_GREATER
@@ -151,8 +151,8 @@ public Radar.Rule Rule
///
/// Possible values are authorized, manual_review, issuer_declined,
/// blocked, and invalid. See understanding declines and Radar reviews for details.
+ /// href="https://docs.stripe.com/declines">understanding declines and Radar reviews for details.
///
[JsonProperty("type")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs
index e31bf13e8e..ab02ecf8aa 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetails.cs
@@ -365,7 +365,7 @@ public class ChargePaymentMethodDetails : StripeEntity
/// The type of transaction-specific details of the payment method used in the payment. See
/// PaymentMethod.type
+ /// href="https://docs.stripe.com/api/payment_methods/object#payment_method_object-type">PaymentMethod.type
/// for the full list of possible types. An additional hash is included on
/// payment_method_details with a name matching this value. It contains information
/// specific to the payment method.
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAcssDebit.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAcssDebit.cs
index 3dc2c23517..937822477e 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAcssDebit.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAcssDebit.cs
@@ -17,6 +17,15 @@ public class ChargePaymentMethodDetailsAcssDebit : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAffirm.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAffirm.cs
index 7e5bff8f9b..2c9e46389d 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAffirm.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAffirm.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class ChargePaymentMethodDetailsAffirm : StripeEntity
{
///
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -19,7 +19,7 @@ public class ChargePaymentMethodDetailsAffirm : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAuBecsDebit.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAuBecsDebit.cs
index 159a8c4a93..7a826c39ee 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAuBecsDebit.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsAuBecsDebit.cs
@@ -17,6 +17,15 @@ public class ChargePaymentMethodDetailsAuBecsDebit : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBacsDebit.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBacsDebit.cs
index 81b9c06431..1b896c7043 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBacsDebit.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBacsDebit.cs
@@ -8,6 +8,15 @@ namespace Stripe
public class ChargePaymentMethodDetailsBacsDebit : StripeEntity
{
+ ///
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs
index 915865ee9a..0f326e7e7c 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs
@@ -164,7 +164,7 @@ public class ChargePaymentMethodDetailsCard : StripeEntityinstallments integration guide.
+ /// href="https://docs.stripe.com/payments/installments">installments integration guide.
///
[JsonProperty("installments")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs
index d6af1e1fba..47c956b654 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCardPresent.cs
@@ -161,9 +161,9 @@ public class ChargePaymentMethodDetailsCardPresent : StripeEntity
- /// Whether this PaymentIntent is
+ /// Whether this PaymentIntent is
/// eligible for incremental authorizations. Request support using request_incremental_authorization_support.
+ /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support.
///
[JsonProperty("incremental_authorization_supported")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs
index dc76ae31fa..73107a76cb 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsIdeal.cs
@@ -14,14 +14,14 @@ public class ChargePaymentMethodDetailsIdeal : StripeEntity
/// The customer's bank. Can be one of abn_amro, asn_bank, bunq,
- /// buut, finom, handelsbanken, ing, knab,
+ /// buut, finom, handelsbanken, ing, knab, mollie,
/// moneyou, n26, nn, rabobank, regiobank,
/// revolut, sns_bank, triodos_bank, van_lanschot, or
/// yoursafe.
/// One of: abn_amro, asn_bank, bunq, buut, finom,
- /// handelsbanken, ing, knab, moneyou, n26, nn,
- /// rabobank, regiobank, revolut, sns_bank, triodos_bank,
- /// van_lanschot, or yoursafe.
+ /// handelsbanken, ing, knab, mollie, moneyou,
+ /// n26, nn, rabobank, regiobank, revolut,
+ /// sns_bank, triodos_bank, van_lanschot, or yoursafe.
///
[JsonProperty("bank")]
#if NET6_0_OR_GREATER
@@ -33,8 +33,9 @@ public class ChargePaymentMethodDetailsIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A,
/// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A,
- /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U,
- /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U.
+ /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1,
+ /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or
+ /// TRIONL2U.
///
[JsonProperty("bic")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsNzBankAccount.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsNzBankAccount.cs
index b5e0578585..1f39767a6e 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsNzBankAccount.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsNzBankAccount.cs
@@ -45,6 +45,15 @@ public class ChargePaymentMethodDetailsNzBankAccount : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Last four digits of the bank account number.
///
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaynow.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaynow.cs
index 554c105c36..862c8cfc45 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaynow.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPaynow.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class ChargePaymentMethodDetailsPaynow : StripeEntity
{
///
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -19,7 +19,7 @@ public class ChargePaymentMethodDetailsPaynow : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsSepaDebit.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsSepaDebit.cs
index 95c297a2db..fd168c1d07 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsSepaDebit.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsSepaDebit.cs
@@ -35,6 +35,15 @@ public class ChargePaymentMethodDetailsSepaDebit : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
@@ -56,9 +65,9 @@ public class ChargePaymentMethodDetailsSepaDebit : StripeEntity
/// Find the ID of the mandate used for this payment under the payment_method_details.sepa_debit.mandate
+ /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate">payment_method_details.sepa_debit.mandate
/// property on the Charge. Use this mandate ID to retrieve the Mandate.
+ /// href="https://docs.stripe.com/api/mandates/retrieve">retrieve the Mandate.
///
[JsonProperty("mandate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsUsBankAccount.cs
index d857020642..1080cb71b2 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsUsBankAccount.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsUsBankAccount.cs
@@ -41,6 +41,15 @@ public class ChargePaymentMethodDetailsUsBankAccount : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsWechatPay.cs b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsWechatPay.cs
index e3a4f12053..487a2ec627 100644
--- a/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsWechatPay.cs
+++ b/src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsWechatPay.cs
@@ -19,7 +19,7 @@ public class ChargePaymentMethodDetailsWechatPay : StripeEntity
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -29,7 +29,7 @@ public class ChargePaymentMethodDetailsWechatPay : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/Charges/ChargeRadarOptions.cs b/src/Stripe.net/Entities/Charges/ChargeRadarOptions.cs
index 6daa628dc6..7bd62b6647 100644
--- a/src/Stripe.net/Entities/Charges/ChargeRadarOptions.cs
+++ b/src/Stripe.net/Entities/Charges/ChargeRadarOptions.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class ChargeRadarOptions : StripeEntity
{
///
- /// A Radar Session is a snapshot
+ /// A Radar Session is a snapshot
/// of the browser metadata and device details that help Radar make more accurate
/// predictions on your payments.
///
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/Session.cs b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs
index 49ae9d6dd4..171dbcc0ea 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/Session.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/Session.cs
@@ -12,19 +12,19 @@ namespace Stripe.Checkout
///
/// A Checkout Session represents your customer's session as they pay for one-time purchases
/// or subscriptions through Checkout or Payment Links. We recommend
+ /// href="https://docs.stripe.com/payments/checkout">Checkout or Payment Links. We recommend
/// creating a new Session each time your customer attempts to pay.
///
/// Once payment is successful, the Checkout Session will contain a reference to the Customer, and either the successful PaymentIntent or an active Subscription.
+ /// href="https://docs.stripe.com/api/customers">Customer, and either the successful PaymentIntent or an active Subscription.
///
/// You can create a Checkout Session on your server and redirect to its URL to begin
/// Checkout.
///
- /// Related guide: Checkout
+ /// Related guide: Checkout
/// quickstart.
///
#if NET6_0_OR_GREATER
@@ -144,7 +144,7 @@ public class Session : StripeEntity, IHasId, IHasMetadata, IHasObject
/// ui_mode: embedded or ui_mode: custom. For ui_mode: embedded, the
/// client secret is to be used when initializing Stripe.js embedded checkout. For
/// ui_mode: custom, use the client secret with initCheckout on your front
+ /// href="https://docs.stripe.com/js/custom_checkout/init">initCheckout on your front
/// end.
///
[JsonProperty("client_secret")]
@@ -439,7 +439,7 @@ public Invoice Invoice
public string Locale { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -491,7 +491,7 @@ public Invoice Invoice
/// (ID of the PaymentIntent)
/// The ID of the PaymentIntent for Checkout Sessions in payment mode. You can't
/// confirm or cancel the PaymentIntent for a Checkout Session. To cancel, expire the Checkout
+ /// href="https://docs.stripe.com/api/checkout/sessions/expire">expire the Checkout
/// Session instead.
///
[JsonIgnore]
@@ -508,7 +508,7 @@ public string PaymentIntentId
/// (Expanded)
/// The ID of the PaymentIntent for Checkout Sessions in payment mode. You can't
/// confirm or cancel the PaymentIntent for a Checkout Session. To cancel, expire the Checkout
+ /// href="https://docs.stripe.com/api/checkout/sessions/expire">expire the Checkout
/// Session instead.
///
/// For more information, see the expand documentation.
@@ -662,7 +662,7 @@ public PaymentLink PaymentLink
///
/// This parameter applies to ui_mode: embedded. Learn more about the redirect
+ /// href="https://docs.stripe.com/payments/checkout/custom-success-page?payment-ui=embedded-form">redirect
/// behavior of embedded sessions. Defaults to always.
/// One of: always, if_required, or never.
///
@@ -699,7 +699,7 @@ public PaymentLink PaymentLink
/// (ID of the SetupIntent)
/// The ID of the SetupIntent for Checkout Sessions in setup mode. You can't confirm
/// or cancel the SetupIntent for a Checkout Session. To cancel, expire the Checkout
+ /// href="https://docs.stripe.com/api/checkout/sessions/expire">expire the Checkout
/// Session instead.
///
[JsonIgnore]
@@ -716,7 +716,7 @@ public string SetupIntentId
/// (Expanded)
/// The ID of the SetupIntent for Checkout Sessions in setup mode. You can't confirm
/// or cancel the SetupIntent for a Checkout Session. To cancel, expire the Checkout
+ /// href="https://docs.stripe.com/api/checkout/sessions/expire">expire the Checkout
/// Session instead.
///
/// For more information, see the expand documentation.
@@ -797,7 +797,7 @@ public SetupIntent SetupIntent
///
/// (ID of the Subscription)
- /// The ID of the Subscription for
+ /// The ID of the Subscription for
/// Checkout Sessions in subscription mode.
///
[JsonIgnore]
@@ -812,7 +812,7 @@ public string SubscriptionId
///
/// (Expanded)
- /// The ID of the Subscription for
+ /// The ID of the Subscription for
/// Checkout Sessions in subscription mode.
///
/// For more information, see the expand documentation.
@@ -874,7 +874,7 @@ public Subscription Subscription
///
/// The URL to the Checkout Session. Applies to Checkout Sessions with ui_mode:
/// hosted. Redirect customers to this URL to take them to Checkout. If you’re using Custom Domains, the
+ /// href="https://docs.stripe.com/payments/checkout/custom-domains">Custom Domains, the
/// URL will use your subdomain. Otherwise, it’ll use checkout.stripe.com. This value
/// is only present when the session is active.
///
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceData.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceData.cs
index ba2d9888de..e8cc7eb5ec 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceData.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionInvoiceCreationInvoiceData.cs
@@ -91,7 +91,7 @@ public List AccountTaxIds
public SessionInvoiceCreationInvoiceDataIssuer Issuer { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs
index fe0642f20a..56bd1bc64d 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptionsCard.cs
@@ -82,11 +82,11 @@ public class SessionPaymentMethodOptionsCard : StripeEntity
/// We strongly recommend that you rely on our SCA Engine to automatically prompt your
/// customers for authentication based on risk level and other requirements.
+ /// href="https://docs.stripe.com/strong-customer-authentication">other requirements.
/// However, if you wish to request 3D Secure based on logic from your own fraud engine,
/// provide this option. If not provided, this value defaults to automatic. Read our
/// guide on manually
+ /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually
/// requesting 3D Secure for more information on how this configuration interacts with
/// Radar and our SCA Engine.
/// One of: any, automatic, or challenge.
diff --git a/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownDiscount.cs
index 37401dd67b..90fa9cf28f 100644
--- a/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownDiscount.cs
+++ b/src/Stripe.net/Entities/Checkout/Sessions/SessionTotalDetailsBreakdownDiscount.cs
@@ -19,12 +19,12 @@ public class SessionTotalDetailsBreakdownDiscount : StripeEntity
/// A discount represents the actual application of a coupon or promotion code. It contains
+ /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains
/// information about when the discount began, when it will end, and what it is applied to.
///
/// Related guide: Applying discounts to
+ /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to
/// subscriptions.
///
[JsonProperty("discount")]
diff --git a/src/Stripe.net/Entities/Climate/Orders/Order.cs b/src/Stripe.net/Entities/Climate/Orders/Order.cs
index 624b4b068c..faecce9a09 100644
--- a/src/Stripe.net/Entities/Climate/Orders/Order.cs
+++ b/src/Stripe.net/Entities/Climate/Orders/Order.cs
@@ -184,7 +184,7 @@ public class Order : StripeEntity, IHasId, IHasMetadata, IHasObject
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationToken.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationToken.cs
index 2885b4ee88..b8fb570367 100644
--- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationToken.cs
+++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationToken.cs
@@ -14,9 +14,9 @@ namespace Stripe
/// values present on the ConfirmationToken are written onto the Intent.
///
/// To learn more about how to use ConfirmationToken, visit the related guides: - Finalize
+ /// href="https://docs.stripe.com/payments/finalize-payments-on-the-server">Finalize
/// payments on the server - Build two-step
+ /// href="https://docs.stripe.com/payments/build-a-two-step-confirmation">Build two-step
/// confirmation.
///
public class ConfirmationToken : StripeEntity, IHasId, IHasObject
@@ -124,7 +124,7 @@ public class ConfirmationToken : StripeEntity, IHasId, IHasOb
/// method.
///
/// The presence of this property will attach the payment
+ /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment
/// method to the PaymentIntent's Customer, if present, after the PaymentIntent is
/// confirmed and any required actions from the user are complete.
/// One of: off_session, or on_session.
diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs
index c81121d3ae..fd3a7302fd 100644
--- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs
+++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethodDetailsCardPresent.cs
@@ -161,9 +161,9 @@ public class ConfirmationTokenPaymentMethodPreviewCardGeneratedFromPaymentMethod
public string Iin { get; set; }
///
- /// Whether this PaymentIntent is
+ /// Whether this PaymentIntent is
/// eligible for incremental authorizations. Request support using request_incremental_authorization_support.
+ /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support.
///
[JsonProperty("incremental_authorization_supported")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewIdeal.cs b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewIdeal.cs
index 91c51b0965..6c9ec9c1e4 100644
--- a/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewIdeal.cs
+++ b/src/Stripe.net/Entities/ConfirmationTokens/ConfirmationTokenPaymentMethodPreviewIdeal.cs
@@ -11,13 +11,13 @@ public class ConfirmationTokenPaymentMethodPreviewIdeal : StripeEntity
/// The customer's bank, if provided. Can be one of abn_amro, asn_bank,
/// bunq, buut, finom, handelsbanken, ing, knab,
- /// moneyou, n26, nn, rabobank, regiobank,
+ /// mollie, moneyou, n26, nn, rabobank, regiobank,
/// revolut, sns_bank, triodos_bank, van_lanschot, or
/// yoursafe.
/// One of: abn_amro, asn_bank, bunq, buut, finom,
- /// handelsbanken, ing, knab, moneyou, n26, nn,
- /// rabobank, regiobank, revolut, sns_bank, triodos_bank,
- /// van_lanschot, or yoursafe.
+ /// handelsbanken, ing, knab, mollie, moneyou,
+ /// n26, nn, rabobank, regiobank, revolut,
+ /// sns_bank, triodos_bank, van_lanschot, or yoursafe.
///
[JsonProperty("bank")]
#if NET6_0_OR_GREATER
@@ -29,8 +29,9 @@ public class ConfirmationTokenPaymentMethodPreviewIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A,
/// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A,
- /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U,
- /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U.
+ /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1,
+ /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or
+ /// TRIONL2U.
///
[JsonProperty("bic")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Coupons/Coupon.cs b/src/Stripe.net/Entities/Coupons/Coupon.cs
index 554181dbaa..2a4e4e8077 100644
--- a/src/Stripe.net/Entities/Coupons/Coupon.cs
+++ b/src/Stripe.net/Entities/Coupons/Coupon.cs
@@ -12,12 +12,12 @@ namespace Stripe
///
/// A coupon contains information about a percent-off or amount-off discount you might want
/// to apply to a customer. Coupons may be applied to subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with
- /// conventional one-off charges or
- /// payment intents.
+ /// href="https://api.stripe.com#subscriptions">subscriptions, invoices, checkout sessions, quotes, and more. Coupons do not work with
+ /// conventional one-off charges or payment intents.
///
public class Coupon : StripeEntity, IHasId, IHasMetadata, IHasObject
{
@@ -140,7 +140,7 @@ public class Coupon : StripeEntity, IHasId, IHasMetadata, IHasObject
public long? MaxRedemptions { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/CreditNoteLineItems/CreditNoteLineItemTaxTaxRateDetails.cs b/src/Stripe.net/Entities/CreditNoteLineItems/CreditNoteLineItemTaxTaxRateDetails.cs
index c4272b2885..6bad7e4bc5 100644
--- a/src/Stripe.net/Entities/CreditNoteLineItems/CreditNoteLineItemTaxTaxRateDetails.cs
+++ b/src/Stripe.net/Entities/CreditNoteLineItems/CreditNoteLineItemTaxTaxRateDetails.cs
@@ -8,6 +8,9 @@ namespace Stripe
public class CreditNoteLineItemTaxTaxRateDetails : StripeEntity
{
+ ///
+ /// ID of the tax rate.
+ ///
[JsonProperty("tax_rate")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("tax_rate")]
diff --git a/src/Stripe.net/Entities/CreditNotes/CreditNote.cs b/src/Stripe.net/Entities/CreditNotes/CreditNote.cs
index 6b224e3b80..a3c01db42c 100644
--- a/src/Stripe.net/Entities/CreditNotes/CreditNote.cs
+++ b/src/Stripe.net/Entities/CreditNotes/CreditNote.cs
@@ -12,7 +12,7 @@ namespace Stripe
///
/// Issue a credit note to adjust an invoice's amount after the invoice is finalized.
///
- /// Related guide: Credit
+ /// Related guide: Credit
/// notes.
///
#if NET6_0_OR_GREATER
@@ -121,7 +121,7 @@ public Customer Customer
#endregion
///
- /// ID of the account.
+ /// ID of the account representing the customer.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
@@ -272,7 +272,7 @@ public Invoice Invoice
public string Memo { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -371,7 +371,7 @@ public Invoice Invoice
///
/// Status of this credit note, one of issued or void. Learn more about voiding credit
+ /// href="https://docs.stripe.com/billing/invoices/credit-notes#voiding">voiding credit
/// notes.
/// One of: issued, or void.
///
diff --git a/src/Stripe.net/Entities/CreditNotes/CreditNoteTotalTaxTaxRateDetails.cs b/src/Stripe.net/Entities/CreditNotes/CreditNoteTotalTaxTaxRateDetails.cs
index b3d31a25f2..be7af2878d 100644
--- a/src/Stripe.net/Entities/CreditNotes/CreditNoteTotalTaxTaxRateDetails.cs
+++ b/src/Stripe.net/Entities/CreditNotes/CreditNoteTotalTaxTaxRateDetails.cs
@@ -8,6 +8,9 @@ namespace Stripe
public class CreditNoteTotalTaxTaxRateDetails : StripeEntity
{
+ ///
+ /// ID of the tax rate.
+ ///
[JsonProperty("tax_rate")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("tax_rate")]
diff --git a/src/Stripe.net/Entities/CustomerBalanceTransactions/CustomerBalanceTransaction.cs b/src/Stripe.net/Entities/CustomerBalanceTransactions/CustomerBalanceTransaction.cs
index 73754d3926..eb31892d48 100644
--- a/src/Stripe.net/Entities/CustomerBalanceTransactions/CustomerBalanceTransaction.cs
+++ b/src/Stripe.net/Entities/CustomerBalanceTransactions/CustomerBalanceTransaction.cs
@@ -11,14 +11,14 @@ namespace Stripe
///
/// Each customer has a Balance
+ /// href="https://docs.stripe.com/api/customers/object#customer_object-balance">Balance
/// value, which denotes a debit or credit that's automatically applied to their next
/// invoice upon finalization. You may modify the value directly by using the update customer API, or by
+ /// href="https://docs.stripe.com/api/customers/update">update customer API, or by
/// creating a Customer Balance Transaction, which increments or decrements the customer's
/// balance by the specified amount.
///
- /// Related guide: Customer
+ /// Related guide: Customer
/// balance.
///
#if NET6_0_OR_GREATER
@@ -199,6 +199,9 @@ public Customer Customer
internal ExpandableField InternalCustomer { get; set; }
#endregion
+ ///
+ /// The ID of an Account representing a customer that the transaction belongs to.
+ ///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("customer_account")]
@@ -277,7 +280,7 @@ public Invoice Invoice
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -293,7 +296,7 @@ public Invoice Invoice
/// invoice_too_small, unspent_receiver_credit, unapplied_from_invoice,
/// checkout_session_subscription_payment, or
/// checkout_session_subscription_payment_canceled. See the Customer Balance page
+ /// href="https://docs.stripe.com/billing/customer/balance#types">Customer Balance page
/// to learn more about transaction types.
/// One of: adjustment, applied_to_invoice,
/// checkout_session_subscription_payment,
diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransaction.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransaction.cs
index e33751f0cb..a546a12e36 100644
--- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransaction.cs
+++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransaction.cs
@@ -113,6 +113,10 @@ public Customer Customer
internal ExpandableField InternalCustomer { get; set; }
#endregion
+ ///
+ /// The ID of an Account representing a customer whose available cash balance changed as a
+ /// result of this transaction.
+ ///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("customer_account")]
@@ -122,7 +126,7 @@ public Customer Customer
///
/// The total available cash balance for the specified currency after this transaction was
/// applied. Represented in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
///
[JsonProperty("ending_balance")]
#if NET6_0_OR_GREATER
@@ -148,7 +152,7 @@ public Customer Customer
///
/// The amount by which the cash balance changed, represented in the smallest currency unit. A
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. A
/// positive value represents funds being added to the cash balance, a negative value
/// represents funds being removed from the cash balance.
///
@@ -172,7 +176,7 @@ public Customer Customer
///
/// The type of the cash balance transaction. New types may be added in future. See Customer Balance to
+ /// href="https://docs.stripe.com/payments/customer-balance#types">Customer Balance to
/// learn more about these types.
/// One of: adjusted_for_overdraft, applied_to_payment, funded,
/// funding_reversed, refunded_from_payment, return_canceled,
diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAdjustedForOverdraft.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAdjustedForOverdraft.cs
index 4a1bde8356..c99c1d6086 100644
--- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAdjustedForOverdraft.cs
+++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAdjustedForOverdraft.cs
@@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionAdjustedForOverdraft : StripeEntity
/// (ID of the BalanceTransaction)
- /// The Balance
+ /// The Balance
/// Transaction that corresponds to funds taken out of your Stripe balance.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string BalanceTransactionId
///
/// (Expanded)
- /// The Balance
+ /// The Balance
/// Transaction that corresponds to funds taken out of your Stripe balance.
///
/// For more information, see the expand documentation.
@@ -59,7 +59,7 @@ public BalanceTransaction BalanceTransaction
///
/// (ID of the CustomerCashBalanceTransaction)
- /// The Cash Balance
+ /// The Cash Balance
/// Transaction that brought the customer balance negative, triggering the clawback of
/// funds.
///
@@ -75,7 +75,7 @@ public string LinkedTransactionId
///
/// (Expanded)
- /// The Cash Balance
+ /// The Cash Balance
/// Transaction that brought the customer balance negative, triggering the clawback of
/// funds.
///
diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAppliedToPayment.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAppliedToPayment.cs
index eb8dbec8cc..b1e197aa31 100644
--- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAppliedToPayment.cs
+++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionAppliedToPayment.cs
@@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionAppliedToPayment : StripeEntity
/// (ID of the PaymentIntent)
- /// The Payment Intent that
+ /// The Payment Intent that
/// funds were applied to.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string PaymentIntentId
///
/// (Expanded)
- /// The Payment Intent that
+ /// The Payment Intent that
/// funds were applied to.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionRefundedFromPayment.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionRefundedFromPayment.cs
index ae8851bd7f..83899122dd 100644
--- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionRefundedFromPayment.cs
+++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionRefundedFromPayment.cs
@@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionRefundedFromPayment : StripeEntity
/// (ID of the Refund)
- /// The Refund that moved these
+ /// The Refund that moved these
/// funds into the customer's cash balance.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string RefundId
///
/// (Expanded)
- /// The Refund that moved these
+ /// The Refund that moved these
/// funds into the customer's cash balance.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionTransferredToBalance.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionTransferredToBalance.cs
index 8b1f22bf00..158378fff1 100644
--- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionTransferredToBalance.cs
+++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionTransferredToBalance.cs
@@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionTransferredToBalance : StripeEntity
/// (ID of the BalanceTransaction)
- /// The Balance
+ /// The Balance
/// Transaction that corresponds to funds transferred to your Stripe balance.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string BalanceTransactionId
///
/// (Expanded)
- /// The Balance
+ /// The Balance
/// Transaction that corresponds to funds transferred to your Stripe balance.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionUnappliedFromPayment.cs b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionUnappliedFromPayment.cs
index 2110e897ec..48a6ee3648 100644
--- a/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionUnappliedFromPayment.cs
+++ b/src/Stripe.net/Entities/CustomerCashBalanceTransactions/CustomerCashBalanceTransactionUnappliedFromPayment.cs
@@ -16,7 +16,7 @@ public class CustomerCashBalanceTransactionUnappliedFromPayment : StripeEntity
/// (ID of the PaymentIntent)
- /// The Payment Intent that
+ /// The Payment Intent that
/// funds were unapplied from.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string PaymentIntentId
///
/// (Expanded)
- /// The Payment Intent that
+ /// The Payment Intent that
/// funds were unapplied from.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/Customers/Customer.cs b/src/Stripe.net/Entities/Customers/Customer.cs
index cf42d61d3c..792138e2cf 100644
--- a/src/Stripe.net/Entities/Customers/Customer.cs
+++ b/src/Stripe.net/Entities/Customers/Customer.cs
@@ -11,8 +11,8 @@ namespace Stripe
///
/// This object represents a customer of your business. Use it to create recurring charges, save payment and contact
+ /// href="https://docs.stripe.com/invoicing/customer">create recurring charges, save payment and contact
/// information, and track payments that belong to the same customer.
///
#if NET6_0_OR_GREATER
@@ -54,7 +54,7 @@ public class Customer : StripeEntity, IHasId, IHasMetadata, IHasObject
/// considers amounts that Stripe hasn't successfully applied to any invoice. It doesn't
/// reflect unpaid invoices. This balance is only taken into account after invoices
/// finalize. For multi-currency balances, see invoice_credit_balance.
+ /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_credit_balance">invoice_credit_balance.
///
[JsonProperty("balance")]
#if NET6_0_OR_GREATER
@@ -104,6 +104,10 @@ public class Customer : StripeEntity, IHasId, IHasMetadata, IHasObject
#endif
public string Currency { get; set; }
+ ///
+ /// The ID of an Account representing a customer. You can use this ID with any v1 API that
+ /// accepts a customer_account parameter.
+ ///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("customer_account")]
@@ -117,7 +121,7 @@ public class Customer : StripeEntity, IHasId, IHasMetadata, IHasObject
/// ID of the default payment source for the customer.
///
/// If you use payment methods created through the PaymentMethods API, see the invoice_settings.default_payment_method
+ /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method
/// field instead.
///
[JsonIgnore]
@@ -135,7 +139,7 @@ public string DefaultSourceId
/// ID of the default payment source for the customer.
///
/// If you use payment methods created through the PaymentMethods API, see the invoice_settings.default_payment_method
+ /// href="https://docs.stripe.com/api/customers/object#customer_object-invoice_settings-default_payment_method">invoice_settings.default_payment_method
/// field instead.
///
/// For more information, see the expand documentation.
@@ -176,7 +180,7 @@ public IPaymentSource DefaultSource
/// true.
///
/// If an invoice becomes uncollectible by dunning,
+ /// href="https://docs.stripe.com/billing/automatic-collection">dunning,
/// delinquent doesn't reset to false.
///
/// If you care whether the customer has paid their most recent subscription invoice, use
@@ -267,7 +271,7 @@ public IPaymentSource DefaultSource
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Discounts/Discount.cs b/src/Stripe.net/Entities/Discounts/Discount.cs
index 9997d00126..647648448d 100644
--- a/src/Stripe.net/Entities/Discounts/Discount.cs
+++ b/src/Stripe.net/Entities/Discounts/Discount.cs
@@ -10,12 +10,12 @@ namespace Stripe
///
/// A discount represents the actual application of a coupon or promotion code. It contains
+ /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains
/// information about when the discount began, when it will end, and what it is applied to.
///
/// Related guide: Applying discounts to
+ /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to
/// subscriptions.
///
#if NET6_0_OR_GREATER
@@ -94,7 +94,7 @@ public Customer Customer
#endregion
///
- /// The ID of the account associated with this discount.
+ /// The ID of the account representing the customer associated with this discount.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Disputes/Dispute.cs b/src/Stripe.net/Entities/Disputes/Dispute.cs
index cb7e4a9b63..29a72b4f88 100644
--- a/src/Stripe.net/Entities/Disputes/Dispute.cs
+++ b/src/Stripe.net/Entities/Disputes/Dispute.cs
@@ -14,7 +14,7 @@ namespace Stripe
/// happens, you have the opportunity to respond to the dispute with evidence that shows
/// that the charge is legitimate.
///
- /// Related guide: Disputes and fraud.
+ /// Related guide: Disputes and fraud.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
@@ -177,7 +177,7 @@ public Charge Charge
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -250,7 +250,7 @@ public PaymentIntent PaymentIntent
/// incorrect_account_details, insufficient_funds, noncompliant,
/// product_not_received, product_unacceptable, subscription_canceled,
/// or unrecognized. Learn more about dispute reasons.
+ /// href="https://docs.stripe.com/disputes/categories">dispute reasons.
///
[JsonProperty("reason")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTransactionShippingAddress.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTransactionShippingAddress.cs
index d8cdaedf15..75612eff37 100644
--- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTransactionShippingAddress.cs
+++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTransactionShippingAddress.cs
@@ -55,7 +55,8 @@ public class DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3DisputedTrans
public string PostalCode { get; set; }
///
- /// State, county, province, or region.
+ /// State, county, province, or region (ISO 3166-2).
///
[JsonProperty("state")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisputedTransactionShippingAddress.cs b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisputedTransactionShippingAddress.cs
index a935fd17aa..0b2359a562 100644
--- a/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisputedTransactionShippingAddress.cs
+++ b/src/Stripe.net/Entities/Disputes/DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisputedTransactionShippingAddress.cs
@@ -55,7 +55,8 @@ public class DisputeEvidenceEnhancedEvidenceVisaCompellingEvidence3PriorUndisput
public string PostalCode { get; set; }
///
- /// State, county, province, or region.
+ /// State, county, province, or region (ISO 3166-2).
///
[JsonProperty("state")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.cs b/src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.cs
index 9c91921ceb..3a18fc29c9 100644
--- a/src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.cs
+++ b/src/Stripe.net/Entities/Entitlements/ActiveEntitlements/ActiveEntitlement.cs
@@ -37,7 +37,7 @@ public class ActiveEntitlement : StripeEntity, IHasId, IHasOb
///
/// (ID of the Feature)
- /// The Feature that the
+ /// The Feature that the
/// customer is entitled to.
///
[JsonIgnore]
@@ -52,7 +52,7 @@ public string FeatureId
///
/// (Expanded)
- /// The Feature that the
+ /// The Feature that the
/// customer is entitled to.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/FileLinks/FileLink.cs b/src/Stripe.net/Entities/FileLinks/FileLink.cs
index c5e5178a31..83e3dac31c 100644
--- a/src/Stripe.net/Entities/FileLinks/FileLink.cs
+++ b/src/Stripe.net/Entities/FileLinks/FileLink.cs
@@ -120,7 +120,7 @@ public File File
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Files/File.cs b/src/Stripe.net/Entities/Files/File.cs
index 19f228fa55..141360e07e 100644
--- a/src/Stripe.net/Entities/Files/File.cs
+++ b/src/Stripe.net/Entities/Files/File.cs
@@ -10,12 +10,12 @@ namespace Stripe
///
/// This object represents files hosted on Stripe's servers. You can upload files with the
- /// create file request (for example,
- /// when uploading dispute evidence). Stripe also creates files independently (for example,
- /// the results of a Sigma scheduled
+ /// create file request (for example, when
+ /// uploading dispute evidence). Stripe also creates files independently (for example, the
+ /// results of a Sigma scheduled
/// query).
///
- /// Related guide: File upload guide.
+ /// Related guide: File upload guide.
///
public class File : StripeEntity, IHasId, IHasObject
{
@@ -69,8 +69,8 @@ public class File : StripeEntity, IHasId, IHasObject
public string Filename { get; set; }
///
- /// A list of file links that point at
- /// this file.
+ /// A list of file links that point at this
+ /// file.
///
[JsonProperty("links")]
#if NET6_0_OR_GREATER
@@ -79,7 +79,7 @@ public class File : StripeEntity, IHasId, IHasObject
public StripeList Links { get; set; }
///
- /// The purpose of the
+ /// The purpose of the
/// uploaded file.
/// One of: account_requirement, additional_verification,
/// business_icon, business_logo, customer_signature,
diff --git a/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs b/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs
index 63f94e2567..dfbd12d18a 100644
--- a/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs
+++ b/src/Stripe.net/Entities/FinancialConnections/Accounts/Account.cs
@@ -285,7 +285,7 @@ public AccountOwnership Ownership
///
/// The PaymentMethod
+ /// href="https://docs.stripe.com/api/payment_methods/object#payment_method_object-type">PaymentMethod
/// type(s) that can be created from this account.
/// One of: link, or us_bank_account.
///
diff --git a/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountHolder.cs b/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountHolder.cs
index 365af30d03..4333bed9da 100644
--- a/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountHolder.cs
+++ b/src/Stripe.net/Entities/FinancialConnections/Accounts/AccountAccountHolder.cs
@@ -16,7 +16,7 @@ public class AccountAccountHolder : StripeEntity
///
/// (ID of the Account)
- /// The ID of the Stripe account this account belongs to. Should only be present if
+ /// The ID of the Stripe account that this account belongs to. Only available when
/// account_holder.type is account.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string AccountId
///
/// (Expanded)
- /// The ID of the Stripe account this account belongs to. Should only be present if
+ /// The ID of the Stripe account that this account belongs to. Only available when
/// account_holder.type is account.
///
/// For more information, see the expand documentation.
@@ -59,8 +59,8 @@ public Account Account
///
/// (ID of the Customer)
- /// ID of the Stripe customer this account belongs to. Present if and only if
- /// account_holder.type is customer.
+ /// The ID for an Account representing a customer that this account belongs to. Only
+ /// available when account_holder.type is customer.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -74,8 +74,8 @@ public string CustomerId
///
/// (Expanded)
- /// ID of the Stripe customer this account belongs to. Present if and only if
- /// account_holder.type is customer.
+ /// The ID for an Account representing a customer that this account belongs to. Only
+ /// available when account_holder.type is customer.
///
/// For more information, see the expand documentation.
///
diff --git a/src/Stripe.net/Entities/FinancialConnections/Sessions/SessionAccountHolder.cs b/src/Stripe.net/Entities/FinancialConnections/Sessions/SessionAccountHolder.cs
index 557e1d5112..4109744a8b 100644
--- a/src/Stripe.net/Entities/FinancialConnections/Sessions/SessionAccountHolder.cs
+++ b/src/Stripe.net/Entities/FinancialConnections/Sessions/SessionAccountHolder.cs
@@ -16,7 +16,7 @@ public class SessionAccountHolder : StripeEntity
///
/// (ID of the Account)
- /// The ID of the Stripe account this account belongs to. Should only be present if
+ /// The ID of the Stripe account that this account belongs to. Only available when
/// account_holder.type is account.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string AccountId
///
/// (Expanded)
- /// The ID of the Stripe account this account belongs to. Should only be present if
+ /// The ID of the Stripe account that this account belongs to. Only available when
/// account_holder.type is account.
///
/// For more information, see the expand documentation.
@@ -59,8 +59,8 @@ public Account Account
///
/// (ID of the Customer)
- /// ID of the Stripe customer this account belongs to. Present if and only if
- /// account_holder.type is customer.
+ /// The ID for an Account representing a customer that this account belongs to. Only
+ /// available when account_holder.type is customer.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -74,8 +74,8 @@ public string CustomerId
///
/// (Expanded)
- /// ID of the Stripe customer this account belongs to. Present if and only if
- /// account_holder.type is customer.
+ /// The ID for an Account representing a customer that this account belongs to. Only
+ /// available when account_holder.type is customer.
///
/// For more information, see the expand documentation.
///
diff --git a/src/Stripe.net/Entities/Forwarding/Requests/Request.cs b/src/Stripe.net/Entities/Forwarding/Requests/Request.cs
index 79c9bc1f79..aad1f05541 100644
--- a/src/Stripe.net/Entities/Forwarding/Requests/Request.cs
+++ b/src/Stripe.net/Entities/Forwarding/Requests/Request.cs
@@ -72,7 +72,7 @@ public class Request : StripeEntity, IHasId, IHasMetadata, IHasObject
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/FundingInstructions/FundingInstructions.cs b/src/Stripe.net/Entities/FundingInstructions/FundingInstructions.cs
index a7304f39e6..ab01c709e9 100644
--- a/src/Stripe.net/Entities/FundingInstructions/FundingInstructions.cs
+++ b/src/Stripe.net/Entities/FundingInstructions/FundingInstructions.cs
@@ -8,11 +8,11 @@ namespace Stripe
///
/// Each customer has a balance
+ /// href="https://docs.stripe.com/api/customers/object#customer_object-balance">balance
/// that is automatically applied to future invoices and payments using the
/// customer_balance payment method. Customers can fund this balance by initiating a
/// bank transfer to any account in the financial_addresses field. Related guide: Customer
+ /// href="https://docs.stripe.com/payments/customer-balance/funding-instructions">Customer
/// balance funding instructions.
///
public class FundingInstructions : StripeEntity, IHasObject
diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReport.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReport.cs
index c0e0cae7c6..07a39d627b 100644
--- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReport.cs
+++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReport.cs
@@ -17,13 +17,13 @@ namespace Stripe.Identity
///
/// Each VerificationReport contains a copy of any data collected by the user as well as
/// reference IDs which can be used to access collected images through the FileUpload API. To configure and create
+ /// href="https://docs.stripe.com/api/files">FileUpload API. To configure and create
/// VerificationReports, use the VerificationSession
+ /// href="https://docs.stripe.com/api/identity/verification_sessions">VerificationSession
/// API.
///
/// Related guide: Accessing
+ /// href="https://docs.stripe.com/identity/verification-sessions#results">Accessing
/// verification results.
///
public class VerificationReport : StripeEntity, IHasId, IHasObject
diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportDocument.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportDocument.cs
index 9c63c2a6b9..4ff4bfe4d7 100644
--- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportDocument.cs
+++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportDocument.cs
@@ -46,7 +46,7 @@ public class VerificationReportDocument : StripeEntity
- /// Array of File ids containing images for
+ /// Array of File ids containing images for
/// this document.
///
[JsonProperty("files")]
diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs
index 2530303713..afd82dcf57 100644
--- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs
+++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportOptionsDocument.cs
@@ -23,7 +23,7 @@ public class VerificationReportOptionsDocument : StripeEntity
/// Collect an ID number and perform an ID number
+ /// href="https://docs.stripe.com/identity/verification-checks?type=id-number">ID number
/// check with the document’s extracted name and date of birth.
///
[JsonProperty("require_id_number")]
@@ -44,9 +44,9 @@ public class VerificationReportOptionsDocument : StripeEntity
/// Capture a face image and perform a selfie check
+ /// href="https://docs.stripe.com/identity/verification-checks?type=selfie">selfie check
/// comparing a photo ID and a picture of your user’s face. Learn more.
+ /// href="https://docs.stripe.com/identity/selfie">Learn more.
///
[JsonProperty("require_matching_selfie")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportSelfie.cs b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportSelfie.cs
index 0a2d375d68..e60d3a5d2a 100644
--- a/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportSelfie.cs
+++ b/src/Stripe.net/Entities/Identity/VerificationReports/VerificationReportSelfie.cs
@@ -9,7 +9,7 @@ namespace Stripe.Identity
public class VerificationReportSelfie : StripeEntity
{
///
- /// ID of the File holding the image of the
+ /// ID of the File holding the image of the
/// identity document used in this check.
///
[JsonProperty("document")]
@@ -28,7 +28,7 @@ public class VerificationReportSelfie : StripeEntity
public VerificationReportSelfieError Error { get; set; }
///
- /// ID of the File holding the image of the
+ /// ID of the File holding the image of the
/// selfie used in this check.
///
[JsonProperty("selfie")]
diff --git a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSession.cs b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSession.cs
index dcc7ad211d..2a5e1f3501 100644
--- a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSession.cs
+++ b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSession.cs
@@ -22,7 +22,7 @@ namespace Stripe.Identity
/// VerificationSession contains the user's verified data after verification checks are
/// complete.
///
- /// Related guide: The
+ /// Related guide: The
/// Verification Sessions API.
///
#if NET6_0_OR_GREATER
@@ -60,12 +60,12 @@ public class VerificationSession : StripeEntity, IHasId, IH
///
/// The short-lived client secret used by Stripe.js to show a verification modal inside
+ /// href="https://docs.stripe.com/js/identity/modal">show a verification modal inside
/// your app. This client secret expires after 24 hours and can only be used once. Don’t
/// store it, log it, embed it in a URL, or expose it to anyone other than the user. Make
/// sure that you have TLS enabled on any page that includes the client secret. Refer to our
/// docs on passing the
+ /// href="https://docs.stripe.com/identity/verification-sessions#client-secret">passing the
/// client secret to the frontend to learn more.
///
[JsonProperty("client_secret")]
@@ -100,7 +100,7 @@ public class VerificationSession : StripeEntity, IHasId, IH
///
/// (ID of the VerificationReport)
/// ID of the most recent VerificationReport. Learn more about
+ /// href="https://docs.stripe.com/identity/verification-sessions#results">Learn more about
/// accessing detailed verification results..
///
[JsonIgnore]
@@ -116,7 +116,7 @@ public string LastVerificationReportId
///
/// (Expanded)
/// ID of the most recent VerificationReport. Learn more about
+ /// href="https://docs.stripe.com/identity/verification-sessions#results">Learn more about
/// accessing detailed verification results..
///
/// For more information, see the expand documentation.
@@ -151,7 +151,7 @@ public VerificationReport LastVerificationReport
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -199,7 +199,7 @@ public VerificationReport LastVerificationReport
public string RelatedCustomer { get; set; }
///
- /// Token referencing a Customer Account resource.
+ /// The ID of the Account representing a customer.
///
[JsonProperty("related_customer_account")]
#if NET6_0_OR_GREATER
@@ -215,7 +215,7 @@ public VerificationReport LastVerificationReport
///
/// Status of this VerificationSession. Learn more about the lifecycle
+ /// href="https://docs.stripe.com/identity/how-sessions-work">Learn more about the lifecycle
/// of sessions.
/// One of: canceled, processing, requires_input, or verified.
///
@@ -226,7 +226,7 @@ public VerificationReport LastVerificationReport
public string Status { get; set; }
///
- /// The type of verification
+ /// The type of verification
/// check to be performed.
/// One of: document, id_number, or verification_flow.
///
@@ -241,7 +241,7 @@ public VerificationReport LastVerificationReport
/// information. This URL expires after 48 hours and can only be used once. Don’t store it,
/// log it, send it in emails or expose it to anyone other than the user. Refer to our docs
/// on verifying
+ /// href="https://docs.stripe.com/identity/verify-identity-documents?platform=web&type=redirect">verifying
/// identity documents to learn how to redirect users to Stripe.
///
[JsonProperty("url")]
diff --git a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs
index 45a03ff994..1696adce2b 100644
--- a/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs
+++ b/src/Stripe.net/Entities/Identity/VerificationSessions/VerificationSessionOptionsDocument.cs
@@ -23,7 +23,7 @@ public class VerificationSessionOptionsDocument : StripeEntity
/// Collect an ID number and perform an ID number
+ /// href="https://docs.stripe.com/identity/verification-checks?type=id-number">ID number
/// check with the document’s extracted name and date of birth.
///
[JsonProperty("require_id_number")]
@@ -44,9 +44,9 @@ public class VerificationSessionOptionsDocument : StripeEntity
/// Capture a face image and perform a selfie check
+ /// href="https://docs.stripe.com/identity/verification-checks?type=selfie">selfie check
/// comparing a photo ID and a picture of your user’s face. Learn more.
+ /// href="https://docs.stripe.com/identity/selfie">Learn more.
///
[JsonProperty("require_matching_selfie")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs b/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs
index 1e46c82be5..ddd3524279 100644
--- a/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs
+++ b/src/Stripe.net/Entities/InvoiceItems/InvoiceItem.cs
@@ -12,22 +12,22 @@ namespace Stripe
///
/// Invoice Items represent the component lines of an invoice. When you create an invoice item
+ /// href="https://docs.stripe.com/api/invoices">invoice. When you create an invoice item
/// with an invoice field, it is attached to the specified invoice and included as an invoice line item within invoice.lines.
+ /// href="https://docs.stripe.com/api/invoices/line_item">an invoice line item within invoice.lines.
///
/// Invoice Items can be created before you are ready to actually send the invoice. This can
/// be particularly useful when combined with a subscription. Sometimes you want to
+ /// href="https://docs.stripe.com/api/subscriptions">subscription. Sometimes you want to
/// add a charge or credit to a customer, but actually charge or credit the customer's card
/// only at the end of a regular billing cycle. This is useful for combining several charges
/// (to minimize per-transaction fees), or for having Stripe tabulate your usage-based
/// billing totals.
///
- /// Related guides: Integrate with
+ /// Related guides: Integrate with
/// the Invoicing API, Subscription
+ /// href="https://docs.stripe.com/billing/invoices/subscription#adding-upcoming-invoice-items">Subscription
/// Invoices.
///
#if NET6_0_OR_GREATER
@@ -78,7 +78,7 @@ public class InvoiceItem : StripeEntity, IHasId, IHasMetadata, IHas
///
/// (ID of the Customer)
- /// The ID of the customer who will be billed when this invoice item is billed.
+ /// The ID of the customer to bill for this invoice item.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -92,7 +92,7 @@ public string CustomerId
///
/// (Expanded)
- /// The ID of the customer who will be billed when this invoice item is billed.
+ /// The ID of the customer to bill for this invoice item.
///
/// For more information, see the expand documentation.
///
@@ -116,7 +116,7 @@ public Customer Customer
#endregion
///
- /// The ID of the account who will be billed when this invoice item is billed.
+ /// The ID of the account to bill for this invoice item.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
@@ -297,7 +297,7 @@ public List Margins
#endregion
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/InvoiceItems/InvoiceItemPricingPriceDetails.cs b/src/Stripe.net/Entities/InvoiceItems/InvoiceItemPricingPriceDetails.cs
index 74d2045feb..c60f30e6e8 100644
--- a/src/Stripe.net/Entities/InvoiceItems/InvoiceItemPricingPriceDetails.cs
+++ b/src/Stripe.net/Entities/InvoiceItems/InvoiceItemPricingPriceDetails.cs
@@ -2,20 +2,56 @@
namespace Stripe
{
using Newtonsoft.Json;
+ using Stripe.Infrastructure;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif
+#if NET6_0_OR_GREATER
+ [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
+#endif
public class InvoiceItemPricingPriceDetails : StripeEntity
{
+ #region Expandable Price
+
+ ///
+ /// (ID of the Price)
+ /// The ID of the price this item is associated with.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public string PriceId
+ {
+ get => this.InternalPrice?.Id;
+ set => this.InternalPrice = SetExpandableFieldId(value, this.InternalPrice);
+ }
+
///
+ /// (Expanded)
/// The ID of the price this item is associated with.
+ ///
+ /// For more information, see the expand documentation.
///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public Price Price
+ {
+ get => this.InternalPrice?.ExpandedObject;
+ set => this.InternalPrice = SetExpandableFieldObject(value, this.InternalPrice);
+ }
+
[JsonProperty("price")]
+ [JsonConverter(typeof(ExpandableFieldConverter))]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("price")]
+ [STJS.JsonConverter(typeof(STJExpandableFieldConverter))]
#endif
- public string Price { get; set; }
+ internal ExpandableField InternalPrice { get; set; }
+ #endregion
///
/// The ID of the product this item is associated with.
diff --git a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItem.cs b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItem.cs
index e5cdf4c48d..f76498ea48 100644
--- a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItem.cs
+++ b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItem.cs
@@ -11,12 +11,12 @@ namespace Stripe
///
/// Invoice Line Items represent the individual lines within an invoice and only exist within the
+ /// href="https://docs.stripe.com/api/invoices">invoice and only exist within the
/// context of an invoice.
///
/// Each line item is backed by either an invoice item or a subscription item.
+ /// href="https://docs.stripe.com/api/invoiceitems">invoice item or a subscription item.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
@@ -201,7 +201,7 @@ public List Margins
#endregion
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format. Note that for line items with type=subscription,
/// metadata reflects the current metadata from the subscription associated with the
@@ -288,6 +288,16 @@ public Subscription Subscription
internal ExpandableField InternalSubscription { get; set; }
#endregion
+ ///
+ /// The subtotal of the line item, in cents (or local equivalent), before any discounts or
+ /// taxes.
+ ///
+ [JsonProperty("subtotal")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("subtotal")]
+#endif
+ public long Subtotal { get; set; }
+
///
/// The tax calculation identifiers of the line item.
///
diff --git a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemPricingPriceDetails.cs b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemPricingPriceDetails.cs
index eae143184a..73d2910d2a 100644
--- a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemPricingPriceDetails.cs
+++ b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemPricingPriceDetails.cs
@@ -2,20 +2,56 @@
namespace Stripe
{
using Newtonsoft.Json;
+ using Stripe.Infrastructure;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif
+#if NET6_0_OR_GREATER
+ [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
+#endif
public class InvoiceLineItemPricingPriceDetails : StripeEntity
{
+ #region Expandable Price
+
+ ///
+ /// (ID of the Price)
+ /// The ID of the price this item is associated with.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public string PriceId
+ {
+ get => this.InternalPrice?.Id;
+ set => this.InternalPrice = SetExpandableFieldId(value, this.InternalPrice);
+ }
+
///
+ /// (Expanded)
/// The ID of the price this item is associated with.
+ ///
+ /// For more information, see the expand documentation.
///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public Price Price
+ {
+ get => this.InternalPrice?.ExpandedObject;
+ set => this.InternalPrice = SetExpandableFieldObject(value, this.InternalPrice);
+ }
+
[JsonProperty("price")]
+ [JsonConverter(typeof(ExpandableFieldConverter))]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("price")]
+ [STJS.JsonConverter(typeof(STJExpandableFieldConverter))]
#endif
- public string Price { get; set; }
+ internal ExpandableField InternalPrice { get; set; }
+ #endregion
///
/// The ID of the product this item is associated with.
diff --git a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemTaxTaxRateDetails.cs b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemTaxTaxRateDetails.cs
index 8da24238db..689f2c3e41 100644
--- a/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemTaxTaxRateDetails.cs
+++ b/src/Stripe.net/Entities/InvoiceLineItems/InvoiceLineItemTaxTaxRateDetails.cs
@@ -8,6 +8,9 @@ namespace Stripe
public class InvoiceLineItemTaxTaxRateDetails : StripeEntity
{
+ ///
+ /// ID of the tax rate.
+ ///
[JsonProperty("tax_rate")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("tax_rate")]
diff --git a/src/Stripe.net/Entities/InvoicePayments/InvoicePayment.cs b/src/Stripe.net/Entities/InvoicePayments/InvoicePayment.cs
index 8ff1f73267..d495471fe3 100644
--- a/src/Stripe.net/Entities/InvoicePayments/InvoicePayment.cs
+++ b/src/Stripe.net/Entities/InvoicePayments/InvoicePayment.cs
@@ -11,7 +11,7 @@ namespace Stripe
///
/// Invoice Payments represent payments made against invoices. Invoice Payments can be
/// accessed in two ways: 1. By expanding the payments field on the Invoice resource. 2. By using the Invoice
+ /// href="https://api.stripe.com#invoice">Invoice resource. 2. By using the Invoice
/// Payment retrieve and list endpoints.
///
/// Invoice Payments include the mapping between payment objects, such as Payment Intent,
diff --git a/src/Stripe.net/Entities/InvoiceRenderingTemplates/InvoiceRenderingTemplate.cs b/src/Stripe.net/Entities/InvoiceRenderingTemplates/InvoiceRenderingTemplate.cs
index 15ffec3fdb..45bb41b78a 100644
--- a/src/Stripe.net/Entities/InvoiceRenderingTemplates/InvoiceRenderingTemplate.cs
+++ b/src/Stripe.net/Entities/InvoiceRenderingTemplates/InvoiceRenderingTemplate.cs
@@ -56,7 +56,7 @@ public class InvoiceRenderingTemplate : StripeEntity,
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Invoices/Invoice.cs b/src/Stripe.net/Entities/Invoices/Invoice.cs
index dba53d6023..955941bcac 100644
--- a/src/Stripe.net/Entities/Invoices/Invoice.cs
+++ b/src/Stripe.net/Entities/Invoices/Invoice.cs
@@ -14,14 +14,14 @@ namespace Stripe
/// Invoices are statements of amounts owed by a customer, and are either generated one-off,
/// or generated periodically from a subscription.
///
- /// They contain invoice items, and
+ /// They contain invoice items, and
/// proration adjustments that may be caused by subscription upgrades/downgrades (if
/// necessary).
///
/// If your invoice is configured to be billed through automatic charges, Stripe
/// automatically finalizes your invoice and attempts payment. Note that finalizing the
/// invoice, when
+ /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">when
/// automatic, does not happen immediately as the invoice is created. Stripe waits until
/// one hour after the last webhook was successfully sent (or the last webhook timed out
/// after failing). If you (and the platforms you may have connected to) have no webhooks
@@ -40,9 +40,9 @@ namespace Stripe
/// the amount due to the customer's credit balance which is applied to the next invoice.
///
/// More details on the customer's credit balance are here.
+ /// href="https://docs.stripe.com/billing/customer/balance">here.
///
- /// Related guide: Send invoices
+ /// Related guide: Send invoices
/// to customers.
///
#if NET6_0_OR_GREATER
@@ -262,7 +262,7 @@ public Application Application
///
/// Controls whether Stripe performs automatic
+ /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">automatic
/// collection of the invoice. If false, the invoice's state doesn't
/// automatically advance without an explicit action.
///
@@ -373,7 +373,7 @@ public Application Application
///
/// (ID of the Customer)
- /// The ID of the customer who will be billed.
+ /// The ID of the customer to bill.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -387,7 +387,7 @@ public string CustomerId
///
/// (Expanded)
- /// The ID of the customer who will be billed.
+ /// The ID of the customer to bill.
///
/// For more information, see the expand documentation.
///
@@ -411,7 +411,7 @@ public Customer Customer
#endregion
///
- /// The ID of the account who will be billed.
+ /// The ID of the account representing the customer to bill.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
@@ -745,7 +745,7 @@ public List Discounts
///
/// Details of the invoice that was cloned. See the revision documentation
+ /// href="https://docs.stripe.com/invoicing/invoice-revisions">revision documentation
/// for more details.
///
[JsonProperty("from_invoice")]
@@ -854,7 +854,7 @@ public Invoice LatestRevision
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -892,7 +892,7 @@ public Invoice LatestRevision
/// (ID of the Account)
/// The account (if any) for which the funds of the invoice payment are intended. If set,
/// the invoice will be presented with the branding and support information of the specified
- /// account. See the Invoices
+ /// account. See the Invoices
/// with Connect documentation for details.
///
[JsonIgnore]
@@ -909,7 +909,7 @@ public string OnBehalfOfId
/// (Expanded)
/// The account (if any) for which the funds of the invoice payment are intended. If set,
/// the invoice will be presented with the branding and support information of the specified
- /// account. See the Invoices
+ /// account. See the Invoices
/// with Connect documentation for details.
///
/// For more information, see the expand documentation.
@@ -1065,7 +1065,7 @@ public Account OnBehalfOf
///
/// The status of the invoice, one of draft, open, paid,
/// uncollectible, or void. Learn
+ /// href="https://docs.stripe.com/billing/invoices/workflow#workflow-overview">Learn
/// more.
/// One of: draft, open, paid, uncollectible, or void.
///
@@ -1210,7 +1210,7 @@ public TestHelpers.TestClock TestClock
///
/// Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until
/// all webhook delivery attempts have been exhausted. This
+ /// href="https://docs.stripe.com/billing/webhooks#understand">been exhausted. This
/// field tracks the time when webhooks for this invoice were successfully delivered. If the
/// invoice had no webhooks to deliver, this will be set while the invoice is being created.
///
diff --git a/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs b/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs
index 30d989a89b..0edf1af4ca 100644
--- a/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs
+++ b/src/Stripe.net/Entities/Invoices/InvoiceAutomaticTax.cs
@@ -22,7 +22,7 @@ public class InvoiceAutomaticTax : StripeEntity
///
/// Whether Stripe automatically computes tax on this invoice. Note that incompatible
/// invoice items (invoice items with manually specified tax rates, negative amounts, or
+ /// href="https://docs.stripe.com/api/tax_rates">tax rates, negative amounts, or
/// tax_behavior=unspecified) cannot be added to automatic tax invoices.
///
[JsonProperty("enabled")]
diff --git a/src/Stripe.net/Entities/Invoices/InvoiceParentSubscriptionDetails.cs b/src/Stripe.net/Entities/Invoices/InvoiceParentSubscriptionDetails.cs
index 39d176eb01..eb7f837bd7 100644
--- a/src/Stripe.net/Entities/Invoices/InvoiceParentSubscriptionDetails.cs
+++ b/src/Stripe.net/Entities/Invoices/InvoiceParentSubscriptionDetails.cs
@@ -15,7 +15,7 @@ namespace Stripe
public class InvoiceParentSubscriptionDetails : StripeEntity, IHasMetadata
{
///
- /// Set of key-value pairs defined as
+ /// Set of key-value pairs defined as
/// subscription metadata when an invoice is created. Becomes an immutable snapshot of the
/// subscription metadata at the time of invoice finalization. Note: This attribute is
/// populated only for invoices created on or after June 29, 2023..
@@ -29,7 +29,7 @@ public class InvoiceParentSubscriptionDetails : StripeEntity
/// If specified, payment collection for this subscription will be paused. Note that the
/// subscription status will be unchanged and will not be updated to paused. Learn
- /// more about pausing
+ /// more about pausing
/// collection.
///
[JsonProperty("pause_collection")]
diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs
index 8b68e05dbe..bd25a5449d 100644
--- a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs
+++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettings.cs
@@ -43,7 +43,7 @@ public class InvoicePaymentSettings : StripeEntity
/// id_bank_transfer, ideal, jp_credit_transfer, kakao_pay,
/// klarna, konbini, kr_card, link, multibanco,
/// naver_pay, nz_bank_account, p24, payco, paynow,
- /// paypal, pix, promptpay, revolut_pay,
+ /// paypal, payto, pix, promptpay, revolut_pay,
/// sepa_credit_transfer, sepa_debit, sofort, stripe_balance,
/// swish, upi, us_bank_account, or wechat_pay.
///
diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptions.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptions.cs
index ba2e4a7537..590ac9b5bd 100644
--- a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptions.cs
+++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptions.cs
@@ -68,6 +68,16 @@ public class InvoicePaymentSettingsPaymentMethodOptions : StripeEntity
+ /// If paying by payto, this sub-hash contains details about the PayTo payment method
+ /// options to pass to the invoice’s PaymentIntent.
+ ///
+ [JsonProperty("payto")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("payto")]
+#endif
+ public InvoicePaymentSettingsPaymentMethodOptionsPayto Payto { get; set; }
+
///
/// If paying by pix, this sub-hash contains details about the Pix payment method
/// options to pass to the invoice’s PaymentIntent.
diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCard.cs
index a640a00559..73b579c0d9 100644
--- a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCard.cs
+++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsCard.cs
@@ -17,10 +17,10 @@ public class InvoicePaymentSettingsPaymentMethodOptionsCard : StripeEntity
/// We strongly recommend that you rely on our SCA Engine to automatically prompt your
/// customers for authentication based on risk level and other requirements.
+ /// href="https://docs.stripe.com/strong-customer-authentication">other requirements.
/// However, if you wish to request 3D Secure based on logic from your own fraud engine,
/// provide this option. Read our guide on manually
+ /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually
/// requesting 3D Secure for more information on how this configuration interacts with
/// Radar and our SCA Engine.
/// One of: any, automatic, or challenge.
diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPayto.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPayto.cs
new file mode 100644
index 0000000000..de2ad98e8e
--- /dev/null
+++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPayto.cs
@@ -0,0 +1,17 @@
+// 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 InvoicePaymentSettingsPaymentMethodOptionsPayto : StripeEntity
+ {
+ [JsonProperty("mandate_options")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("mandate_options")]
+#endif
+ public InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions MandateOptions { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs
new file mode 100644
index 0000000000..e67b079599
--- /dev/null
+++ b/src/Stripe.net/Entities/Invoices/InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs
@@ -0,0 +1,44 @@
+// 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 InvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions : StripeEntity
+ {
+ ///
+ /// The maximum amount that can be collected in a single invoice. If you don't specify a
+ /// maximum, then there is no limit.
+ ///
+ [JsonProperty("amount")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("amount")]
+#endif
+ public long? Amount { get; set; }
+
+ ///
+ /// Only maximum is supported.
+ /// One of: fixed, or maximum.
+ ///
+ [JsonProperty("amount_type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("amount_type")]
+#endif
+ public string AmountType { get; set; }
+
+ ///
+ /// The purpose for which payments are made. Has a default value based on your merchant
+ /// category code.
+ /// One of: dependant_support, government, loan, mortgage,
+ /// other, pension, personal, retail, salary, tax,
+ /// or utility.
+ ///
+ [JsonProperty("purpose")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("purpose")]
+#endif
+ public string Purpose { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Invoices/InvoiceTotalTaxTaxRateDetails.cs b/src/Stripe.net/Entities/Invoices/InvoiceTotalTaxTaxRateDetails.cs
index 5ef072b8f5..639d7fc199 100644
--- a/src/Stripe.net/Entities/Invoices/InvoiceTotalTaxTaxRateDetails.cs
+++ b/src/Stripe.net/Entities/Invoices/InvoiceTotalTaxTaxRateDetails.cs
@@ -8,6 +8,9 @@ namespace Stripe
public class InvoiceTotalTaxTaxRateDetails : StripeEntity
{
+ ///
+ /// ID of the tax rate.
+ ///
[JsonProperty("tax_rate")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("tax_rate")]
diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/Authorization.cs b/src/Stripe.net/Entities/Issuing/Authorizations/Authorization.cs
index 29fbeccab1..b1d3086714 100644
--- a/src/Stripe.net/Entities/Issuing/Authorizations/Authorization.cs
+++ b/src/Stripe.net/Entities/Issuing/Authorizations/Authorization.cs
@@ -10,12 +10,12 @@ namespace Stripe.Issuing
#endif
///
- /// When an issued card is used to make a
+ /// When an issued card is used to make a
/// purchase, an Issuing Authorization object is created. Authorizations must
+ /// href="https://docs.stripe.com/issuing/purchases/authorizations">Authorizations must
/// be approved for the purchase to be completed successfully.
///
- /// Related guide: Issued
+ /// Related guide: Issued
/// card authorizations.
///
#if NET6_0_OR_GREATER
@@ -56,7 +56,7 @@ public class Authorization : StripeEntity, IHasId, IHasMetadata,
///
/// Detailed breakdown of amount components. These amounts are denominated in
/// currency and in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
///
[JsonProperty("amount_details")]
#if NET6_0_OR_GREATER
@@ -94,7 +94,7 @@ public class Authorization : StripeEntity, IHasId, IHasMetadata,
public List BalanceTransactions { get; set; }
///
- /// You can create physical or virtual cards
+ /// You can create physical or virtual cards
/// that are issued to cardholders.
///
[JsonProperty("card")]
@@ -242,7 +242,7 @@ public Cardholder Cardholder
public AuthorizationMerchantData MerchantData { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -298,7 +298,7 @@ public Cardholder Cardholder
///
/// (ID of the Token)
- /// Token object used for
+ /// Token object used for
/// this authorization. If a network token was not used for this authorization, this field
/// will be null.
///
@@ -314,7 +314,7 @@ public string TokenId
///
/// (Expanded)
- /// Token object used for
+ /// Token object used for
/// this authorization. If a network token was not used for this authorization, this field
/// will be null.
///
@@ -340,7 +340,7 @@ public Token Token
#endregion
///
- /// List of transactions
+ /// List of transactions
/// associated with this authorization.
///
[JsonProperty("transactions")]
@@ -350,9 +350,9 @@ public Token Token
public List Transactions { get; set; }
///
- /// Treasury details related to this
+ /// Treasury details related to this
/// authorization if it was created on a FinancialAccount.
+ /// href="https://docs.stripe.com/api/treasury/financial_accounts">FinancialAccount.
///
[JsonProperty("treasury")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs
index 4be6dd4b94..457aec066f 100644
--- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs
+++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationMerchantData.cs
@@ -10,7 +10,7 @@ public class AuthorizationMerchantData : StripeEntity
{
///
/// A categorization of the seller's type of business. See our merchant categories guide
+ /// href="https://docs.stripe.com/issuing/merchant-categories">merchant categories guide
/// for a list of possible values.
///
[JsonProperty("category")]
diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationPendingRequest.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationPendingRequest.cs
index 869496eef7..dbe7377021 100644
--- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationPendingRequest.cs
+++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationPendingRequest.cs
@@ -11,8 +11,8 @@ public class AuthorizationPendingRequest : StripeEntity
/// The additional amount Stripe will hold if the authorization is approved, in the card's
/// currency
- /// and in the smallest currency
+ /// href="https://docs.stripe.com/api#issuing_authorization_object-pending-request-currency">currency
+ /// and in the smallest currency
/// unit.
///
[JsonProperty("amount")]
@@ -24,7 +24,7 @@ public class AuthorizationPendingRequest : StripeEntity
/// Detailed breakdown of amount components. These amounts are denominated in
/// currency and in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
///
[JsonProperty("amount_details")]
#if NET6_0_OR_GREATER
@@ -45,7 +45,7 @@ public class AuthorizationPendingRequest : StripeEntity
/// If set true, you may provide amount
+ /// href="https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount">amount
/// to control how much to hold for the authorization.
///
[JsonProperty("is_amount_controllable")]
@@ -56,7 +56,7 @@ public class AuthorizationPendingRequest : StripeEntity
/// The amount the merchant is requesting to be authorized in the merchant_currency.
- /// The amount is in the smallest
+ /// The amount is in the smallest
/// currency unit.
///
[JsonProperty("merchant_amount")]
diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationRequestHistory.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationRequestHistory.cs
index 609ac8fcf2..e21cc917d4 100644
--- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationRequestHistory.cs
+++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationRequestHistory.cs
@@ -12,7 +12,7 @@ public class AuthorizationRequestHistory : StripeEntity
/// The pending_request.amount at the time of the request, presented in your card's
- /// currency and in the smallest
+ /// currency and in the smallest
/// currency unit. Stripe held this amount from your account to fund the authorization
/// if the request was approved.
///
@@ -25,7 +25,7 @@ public class AuthorizationRequestHistory : StripeEntity
/// Detailed breakdown of amount components. These amounts are denominated in
/// currency and in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
///
[JsonProperty("amount_details")]
#if NET6_0_OR_GREATER
@@ -80,7 +80,7 @@ public class AuthorizationRequestHistory : StripeEntity
/// The pending_request.merchant_amount at the time of the request, presented in the
/// merchant_currency and in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
///
[JsonProperty("merchant_amount")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationTreasury.cs b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationTreasury.cs
index 16ffd5e58e..65538b2dc3 100644
--- a/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationTreasury.cs
+++ b/src/Stripe.net/Entities/Issuing/Authorizations/AuthorizationTreasury.cs
@@ -11,7 +11,7 @@ public class AuthorizationTreasury : StripeEntity
{
///
/// The array of ReceivedCredits
+ /// href="https://docs.stripe.com/api/treasury/received_credits">ReceivedCredits
/// associated with this authorization.
///
[JsonProperty("received_credits")]
@@ -22,7 +22,7 @@ public class AuthorizationTreasury : StripeEntity
///
/// The array of ReceivedDebits
+ /// href="https://docs.stripe.com/api/treasury/received_debits">ReceivedDebits
/// associated with this authorization.
///
[JsonProperty("received_debits")]
@@ -32,7 +32,7 @@ public class AuthorizationTreasury : StripeEntity
public List ReceivedDebits { get; set; }
///
- /// The Treasury Transaction
+ /// The Treasury Transaction
/// associated with this authorization.
///
[JsonProperty("transaction")]
diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs b/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs
index 13a0930626..dfae9a36e3 100644
--- a/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs
+++ b/src/Stripe.net/Entities/Issuing/Cardholders/Cardholder.cs
@@ -11,10 +11,10 @@ namespace Stripe.Issuing
///
/// An Issuing Cardholder object represents an individual or business entity who is
- /// issued cards.
+ /// issued cards.
///
/// Related guide: How
+ /// href="https://docs.stripe.com/issuing/cards/virtual/issue-cards#create-cardholder">How
/// to create a cardholder.
///
public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasObject
@@ -92,7 +92,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -114,7 +114,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb
///
/// The cardholder's phone number. This is required for all cardholders who will be creating
/// EU cards. See the 3D Secure
+ /// href="https://docs.stripe.com/issuing/3d-secure#when-is-3d-secure-applied">3D Secure
/// documentation for more details.
///
[JsonProperty("phone_number")]
@@ -126,7 +126,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb
///
/// The cardholder’s preferred locales (languages), ordered by preference. Locales can be
/// de, en, es, fr, or it. This changes the language of
- /// the 3D Secure flow and one-time
+ /// the 3D Secure flow and one-time
/// password messages sent to the cardholder.
/// One of: de, en, es, fr, or it.
///
@@ -144,7 +144,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb
///
/// Rules that control spending across this cardholder's cards. Refer to our documentation for
+ /// href="https://docs.stripe.com/issuing/controls/spending-controls">documentation for
/// more details.
///
[JsonProperty("spending_controls")]
@@ -165,7 +165,7 @@ public class Cardholder : StripeEntity, IHasId, IHasMetadata, IHasOb
///
/// One of individual or company. See Choose a cardholder
+ /// href="https://docs.stripe.com/issuing/other/choose-cardholder">Choose a cardholder
/// type for more details.
/// One of: company, or individual.
///
diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividualVerificationDocument.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividualVerificationDocument.cs
index 2f636191d8..b4c7c2bc9a 100644
--- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividualVerificationDocument.cs
+++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderIndividualVerificationDocument.cs
@@ -16,9 +16,8 @@ public class CardholderIndividualVerificationDocument : StripeEntity
/// (ID of the File)
- /// The back of a document returned by a file upload with a purpose
- /// value of identity_document.
+ /// The back of a document returned by a file
+ /// upload with a purpose value of identity_document.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -32,9 +31,8 @@ public string BackId
///
/// (Expanded)
- /// The back of a document returned by a file upload with a purpose
- /// value of identity_document.
+ /// The back of a document returned by a file
+ /// upload with a purpose value of identity_document.
///
/// For more information, see the expand documentation.
///
@@ -61,9 +59,8 @@ public File Back
///
/// (ID of the File)
- /// The front of a document returned by a file upload with a purpose
- /// value of identity_document.
+ /// The front of a document returned by a file
+ /// upload with a purpose value of identity_document.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -77,9 +74,8 @@ public string FrontId
///
/// (Expanded)
- /// The front of a document returned by a file upload with a purpose
- /// value of identity_document.
+ /// The front of a document returned by a file
+ /// upload with a purpose value of identity_document.
///
/// For more information, see the expand documentation.
///
diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs
index bd4bbf5a4d..26b6916c64 100644
--- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs
+++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControls.cs
@@ -11,7 +11,7 @@ public class CardholderSpendingControls : StripeEntity
/// Array of strings containing categories
+ /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories
/// of authorizations to allow. All other categories will be blocked. Cannot be set with
/// blocked_categories.
/// One of: ac_refrigeration_repair, accounting_bookkeeping_services,
@@ -180,7 +180,7 @@ public class CardholderSpendingControls : StripeEntity
/// Array of strings containing categories
+ /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories
/// of authorizations to decline. All other categories will be allowed. Cannot be set with
/// allowed_categories.
/// One of: ac_refrigeration_repair, accounting_bookkeeping_services,
diff --git a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs
index 4275211ef8..9701eede84 100644
--- a/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs
+++ b/src/Stripe.net/Entities/Issuing/Cardholders/CardholderSpendingControlsSpendingLimit.cs
@@ -11,7 +11,7 @@ public class CardholderSpendingControlsSpendingLimit : StripeEntity
/// Maximum amount allowed to spend per interval. This amount is in the card's currency and
- /// in the smallest currency
+ /// in the smallest currency
/// unit.
///
[JsonProperty("amount")]
@@ -22,7 +22,7 @@ public class CardholderSpendingControlsSpendingLimit : StripeEntity
/// Array of strings containing categories
+ /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories
/// this limit applies to. Omitting this field will apply the limit to all categories.
/// One of: ac_refrigeration_repair, accounting_bookkeeping_services,
/// advertising_services, agricultural_cooperative,
diff --git a/src/Stripe.net/Entities/Issuing/Cards/Card.cs b/src/Stripe.net/Entities/Issuing/Cards/Card.cs
index 25226abd10..173a6a3fdc 100644
--- a/src/Stripe.net/Entities/Issuing/Cards/Card.cs
+++ b/src/Stripe.net/Entities/Issuing/Cards/Card.cs
@@ -10,7 +10,7 @@ namespace Stripe.Issuing
#endif
///
- /// You can create physical or virtual cards
+ /// You can create physical or virtual cards
/// that are issued to cardholders.
///
#if NET6_0_OR_GREATER
@@ -57,10 +57,10 @@ public class Card : StripeEntity, IHasId, IHasMetadata, IHasObject
///
/// An Issuing Cardholder object represents an individual or business entity who is
- /// issued cards.
+ /// issued cards.
///
/// Related guide: How
+ /// href="https://docs.stripe.com/issuing/cards/virtual/issue-cards#create-cardholder">How
/// to create a cardholder.
///
[JsonProperty("cardholder")]
@@ -94,9 +94,9 @@ public class Card : StripeEntity, IHasId, IHasMetadata, IHasObject
///
/// The card's CVC. For security reasons, this is only available for virtual cards, and will
/// be omitted unless you explicitly request it with the expand parameter.
+ /// href="https://docs.stripe.com/api/expanding_objects">the expand parameter.
/// Additionally, it's only available via the "Retrieve a card"
+ /// href="https://docs.stripe.com/api/issuing/cards/retrieve">"Retrieve a card"
/// endpoint, not via "List all cards" or any other endpoint.
///
[JsonProperty("cvc")]
@@ -162,7 +162,7 @@ public class Card : StripeEntity, IHasId, IHasMetadata, IHasObject
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -175,9 +175,9 @@ public class Card : StripeEntity, IHasId, IHasMetadata, IHasObject
///
/// The full unredacted card number. For security reasons, this is only available for
/// virtual cards, and will be omitted unless you explicitly request it with the expand parameter.
+ /// href="https://docs.stripe.com/api/expanding_objects">the expand parameter.
/// Additionally, it's only available via the "Retrieve a card"
+ /// href="https://docs.stripe.com/api/issuing/cards/retrieve">"Retrieve a card"
/// endpoint, not via "List all cards" or any other endpoint.
///
[JsonProperty("number")]
diff --git a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs
index 8e391c48e6..b70d37b007 100644
--- a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs
+++ b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControls.cs
@@ -11,7 +11,7 @@ public class CardSpendingControls : StripeEntity
{
///
/// Array of strings containing categories
+ /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories
/// of authorizations to allow. All other categories will be blocked. Cannot be set with
/// blocked_categories.
/// One of: ac_refrigeration_repair, accounting_bookkeeping_services,
@@ -180,7 +180,7 @@ public class CardSpendingControls : StripeEntity
///
/// Array of strings containing categories
+ /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories
/// of authorizations to decline. All other categories will be allowed. Cannot be set with
/// allowed_categories.
/// One of: ac_refrigeration_repair, accounting_bookkeeping_services,
diff --git a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs
index e561012012..3381fd8596 100644
--- a/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs
+++ b/src/Stripe.net/Entities/Issuing/Cards/CardSpendingControlsSpendingLimit.cs
@@ -11,7 +11,7 @@ public class CardSpendingControlsSpendingLimit : StripeEntity
/// Maximum amount allowed to spend per interval. This amount is in the card's currency and
- /// in the smallest currency
+ /// in the smallest currency
/// unit.
///
[JsonProperty("amount")]
@@ -22,7 +22,7 @@ public class CardSpendingControlsSpendingLimit : StripeEntity
/// Array of strings containing categories
+ /// href="https://docs.stripe.com/api#issuing_authorization_object-merchant_data-category">categories
/// this limit applies to. Omitting this field will apply the limit to all categories.
/// One of: ac_refrigeration_repair, accounting_bookkeeping_services,
/// advertising_services, agricultural_cooperative,
diff --git a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecord.cs b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecord.cs
index 1de8ef3f07..ea81af3124 100644
--- a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecord.cs
+++ b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecord.cs
@@ -16,7 +16,7 @@ namespace Stripe.Issuing
/// object on a connected account.
///
/// Follow
+ /// href="https://docs.stripe.com/issuing/credit/report-credit-decisions-and-manage-aans">Follow
/// the guide to learn about your requirements as a platform.
///
public class CreditUnderwritingRecord : StripeEntity, IHasId, IHasMetadata, IHasObject
@@ -118,7 +118,7 @@ public class CreditUnderwritingRecord : StripeEntity,
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -131,7 +131,7 @@ public class CreditUnderwritingRecord : StripeEntity,
///
/// File containing regulatory reporting data for the decision. Required if you are subject
/// to this reporting
+ /// href="https://docs.stripe.com/issuing/credit/report-required-regulatory-data-for-credit-decisions">reporting
/// requirement.
///
[JsonProperty("regulatory_reporting_file")]
diff --git a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApproved.cs b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApproved.cs
index dd22243e20..ab3476fb7c 100644
--- a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApproved.cs
+++ b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitApproved.cs
@@ -10,7 +10,7 @@ public class CreditUnderwritingRecordDecisionCreditLimitApproved : StripeEntity<
{
///
/// Credit amount approved. An approved credit limit is required before you can set a amount
- /// in the CreditPolicy API.
+ /// in the CreditPolicy API.
///
[JsonProperty("amount")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreased.cs b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreased.cs
index 6c8df15268..23f230672e 100644
--- a/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreased.cs
+++ b/src/Stripe.net/Entities/Issuing/CreditUnderwritingRecords/CreditUnderwritingRecordDecisionCreditLimitDecreased.cs
@@ -12,7 +12,7 @@ public class CreditUnderwritingRecordDecisionCreditLimitDecreased : StripeEntity
///
/// Credit amount approved after decrease. An approved credit limit is required before you
/// can set a amount in the CreditPolicy API.
+ /// href="https://docs.stripe.com/api/issuing/credit_policy">CreditPolicy API.
///
[JsonProperty("amount")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs b/src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs
index 9fe9b2f131..1e198a861a 100644
--- a/src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs
+++ b/src/Stripe.net/Entities/Issuing/Disputes/Dispute.cs
@@ -10,11 +10,11 @@ namespace Stripe.Issuing
#endif
///
- /// As a card issuer, you can dispute
+ /// As a card issuer, you can dispute
/// transactions that the cardholder does not recognize, suspects to be fraudulent, or has
/// other issues with.
///
- /// Related guide: Issuing
+ /// Related guide: Issuing
/// disputes.
///
#if NET6_0_OR_GREATER
@@ -42,7 +42,7 @@ public class Dispute : StripeEntity, IHasId, IHasMetadata, IHasObject,
///
/// Disputed amount in the card's currency and in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
/// Usually the amount of the transaction, but can differ (usually because of
/// currency fluctuation).
///
@@ -121,7 +121,7 @@ public class Dispute : StripeEntity, IHasId, IHasMetadata, IHasObject,
public string LossReason { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -184,7 +184,7 @@ public Transaction Transaction
#endregion
///
- /// Treasury details related to this
+ /// Treasury details related to this
/// dispute if it was created on a [FinancialAccount](/docs/api/treasury/financial_accounts.
///
[JsonProperty("treasury")]
diff --git a/src/Stripe.net/Entities/Issuing/Disputes/DisputeTreasury.cs b/src/Stripe.net/Entities/Issuing/Disputes/DisputeTreasury.cs
index 1697e6c0d9..9d7b46fdca 100644
--- a/src/Stripe.net/Entities/Issuing/Disputes/DisputeTreasury.cs
+++ b/src/Stripe.net/Entities/Issuing/Disputes/DisputeTreasury.cs
@@ -10,7 +10,7 @@ public class DisputeTreasury : StripeEntity
{
///
/// The Treasury DebitReversal
+ /// href="https://docs.stripe.com/api/treasury/debit_reversals">DebitReversal
/// representing this Issuing dispute.
///
[JsonProperty("debit_reversal")]
@@ -21,7 +21,7 @@ public class DisputeTreasury : StripeEntity
///
/// The Treasury ReceivedDebit that is
+ /// href="https://docs.stripe.com/api/treasury/received_debits">ReceivedDebit that is
/// being disputed.
///
[JsonProperty("received_debit")]
diff --git a/src/Stripe.net/Entities/Issuing/FraudLiabilityDebits/FraudLiabilityDebit.cs b/src/Stripe.net/Entities/Issuing/FraudLiabilityDebits/FraudLiabilityDebit.cs
index a0289b4163..3f6dce0c2a 100644
--- a/src/Stripe.net/Entities/Issuing/FraudLiabilityDebits/FraudLiabilityDebit.cs
+++ b/src/Stripe.net/Entities/Issuing/FraudLiabilityDebits/FraudLiabilityDebit.cs
@@ -49,7 +49,7 @@ public class FraudLiabilityDebit : StripeEntity, IHasId, IH
///
/// (ID of the BalanceTransaction)
- /// ID of the balance
+ /// ID of the balance
/// transaction associated with this debit.
///
[JsonIgnore]
@@ -64,7 +64,7 @@ public string BalanceTransactionId
///
/// (Expanded)
- /// ID of the balance
+ /// ID of the balance
/// transaction associated with this debit.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/Issuing/PersonalizationDesigns/PersonalizationDesign.cs b/src/Stripe.net/Entities/Issuing/PersonalizationDesigns/PersonalizationDesign.cs
index beac2c3605..e9f1c43c3a 100644
--- a/src/Stripe.net/Entities/Issuing/PersonalizationDesigns/PersonalizationDesign.cs
+++ b/src/Stripe.net/Entities/Issuing/PersonalizationDesigns/PersonalizationDesign.cs
@@ -120,7 +120,7 @@ public File CardLogo
public string LookupKey { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Issuing/Settlements/Settlement.cs b/src/Stripe.net/Entities/Issuing/Settlements/Settlement.cs
index 2bd21d538b..ac8c1d77c4 100644
--- a/src/Stripe.net/Entities/Issuing/Settlements/Settlement.cs
+++ b/src/Stripe.net/Entities/Issuing/Settlements/Settlement.cs
@@ -11,7 +11,7 @@ namespace Stripe.Issuing
///
/// When a non-stripe BIN is used, any use of an issued card must be settled directly with the
+ /// href="https://docs.stripe.com/issuing">issued card must be settled directly with the
/// card network. The net amount owed is represented by an Issuing Settlement object.
///
public class Settlement : StripeEntity, IHasId, IHasMetadata, IHasObject
@@ -96,7 +96,7 @@ public class Settlement : StripeEntity, IHasId, IHasMetadata, IHasOb
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Issuing/Tokens/Token.cs b/src/Stripe.net/Entities/Issuing/Tokens/Token.cs
index c923a54f93..4c30732c68 100644
--- a/src/Stripe.net/Entities/Issuing/Tokens/Token.cs
+++ b/src/Stripe.net/Entities/Issuing/Tokens/Token.cs
@@ -10,8 +10,8 @@ namespace Stripe.Issuing
///
/// An issuing token object is created when an issued card is added to a digital wallet. As
- /// a card issuer, you can view and manage these
+ /// a card issuer, you can view and manage these
/// tokens through Stripe.
///
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs b/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs
index 86b58ad5ec..268df08c1f 100644
--- a/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs
+++ b/src/Stripe.net/Entities/Issuing/Transactions/Transaction.cs
@@ -10,11 +10,11 @@ namespace Stripe.Issuing
#endif
///
- /// Any use of an issued card that results in
+ /// Any use of an issued card that results in
/// funds entering or leaving your Stripe account, such as a completed purchase or refund,
/// is represented by an Issuing Transaction object.
///
- /// Related guide: Issued
+ /// Related guide: Issued
/// card transactions.
///
#if NET6_0_OR_GREATER
@@ -42,7 +42,7 @@ public class Transaction : StripeEntity, IHasId, IHasMetadata, IHas
///
/// The transaction amount, which will be reflected in your balance. This amount is in your
- /// currency and in the smallest
+ /// currency and in the smallest
/// currency unit.
///
[JsonProperty("amount")]
@@ -54,7 +54,7 @@ public class Transaction : StripeEntity, IHasId, IHasMetadata, IHas
///
/// Detailed breakdown of amount components. These amounts are denominated in
/// currency and in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
///
[JsonProperty("amount_details")]
#if NET6_0_OR_GREATER
@@ -107,7 +107,7 @@ public Authorization Authorization
///
/// (ID of the BalanceTransaction)
- /// ID of the balance
+ /// ID of the balance
/// transaction associated with this transaction.
///
[JsonIgnore]
@@ -122,7 +122,7 @@ public string BalanceTransactionId
///
/// (Expanded)
- /// ID of the balance
+ /// ID of the balance
/// transaction associated with this transaction.
///
/// For more information, see the expand documentation.
@@ -303,7 +303,7 @@ public Dispute Dispute
///
/// The amount that the merchant will receive, denominated in merchant_currency and
- /// in the smallest currency
+ /// in the smallest currency
/// unit. It will be different from amount if the merchant is taking payment in a
/// different currency.
///
@@ -329,7 +329,7 @@ public Dispute Dispute
public AuthorizationMerchantData MerchantData { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -361,7 +361,7 @@ public Dispute Dispute
///
/// (ID of the Settlement)
- /// The ID of the settlement
+ /// The ID of the settlement
/// to which this transaction belongs.
///
[JsonIgnore]
@@ -376,7 +376,7 @@ public string SettlementId
///
/// (Expanded)
- /// The ID of the settlement
+ /// The ID of the settlement
/// to which this transaction belongs.
///
/// For more information, see the expand documentation.
@@ -404,7 +404,7 @@ public Settlement Settlement
///
/// (ID of the Token)
- /// Token object used for
+ /// Token object used for
/// this transaction. If a network token was not used for this transaction, this field will
/// be null.
///
@@ -420,7 +420,7 @@ public string TokenId
///
/// (Expanded)
- /// Token object used for
+ /// Token object used for
/// this transaction. If a network token was not used for this transaction, this field will
/// be null.
///
@@ -446,7 +446,7 @@ public Token Token
#endregion
///
- /// Treasury details related to this
+ /// Treasury details related to this
/// transaction if it was created on a
/// [FinancialAccount](/docs/api/treasury/financial_accounts.
///
diff --git a/src/Stripe.net/Entities/Issuing/Transactions/TransactionTreasury.cs b/src/Stripe.net/Entities/Issuing/Transactions/TransactionTreasury.cs
index c3f8db34f9..d33299899d 100644
--- a/src/Stripe.net/Entities/Issuing/Transactions/TransactionTreasury.cs
+++ b/src/Stripe.net/Entities/Issuing/Transactions/TransactionTreasury.cs
@@ -10,7 +10,7 @@ public class TransactionTreasury : StripeEntity
{
///
/// The Treasury ReceivedCredit
+ /// href="https://docs.stripe.com/api/treasury/received_credits">ReceivedCredit
/// representing this Issuing transaction if it is a refund.
///
[JsonProperty("received_credit")]
@@ -21,7 +21,7 @@ public class TransactionTreasury : StripeEntity
///
/// The Treasury ReceivedDebit
+ /// href="https://docs.stripe.com/api/treasury/received_debits">ReceivedDebit
/// representing this Issuing transaction if it is a capture.
///
[JsonProperty("received_debit")]
diff --git a/src/Stripe.net/Entities/LineItems/LineItem.cs b/src/Stripe.net/Entities/LineItems/LineItem.cs
index ea3d8c0d7c..2896d290db 100644
--- a/src/Stripe.net/Entities/LineItems/LineItem.cs
+++ b/src/Stripe.net/Entities/LineItems/LineItem.cs
@@ -123,7 +123,7 @@ public class LineItem : StripeEntity, IHasId, IHasMetadata, IHasObject
public LineItemDisplay Display { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/LineItems/LineItemDiscount.cs b/src/Stripe.net/Entities/LineItems/LineItemDiscount.cs
index f75007c7ea..d5d699bc84 100644
--- a/src/Stripe.net/Entities/LineItems/LineItemDiscount.cs
+++ b/src/Stripe.net/Entities/LineItems/LineItemDiscount.cs
@@ -19,12 +19,12 @@ public class LineItemDiscount : StripeEntity
///
/// A discount represents the actual application of a coupon or promotion code. It contains
+ /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains
/// information about when the discount began, when it will end, and what it is applied to.
///
/// Related guide: Applying discounts to
+ /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to
/// subscriptions.
///
[JsonProperty("discount")]
diff --git a/src/Stripe.net/Entities/LoginLinks/LoginLink.cs b/src/Stripe.net/Entities/LoginLinks/LoginLink.cs
index 3a9bded574..9c30b0164d 100644
--- a/src/Stripe.net/Entities/LoginLinks/LoginLink.cs
+++ b/src/Stripe.net/Entities/LoginLinks/LoginLink.cs
@@ -11,9 +11,9 @@ namespace Stripe
///
/// Login Links are single-use URLs that takes an Express account to the login page for
/// their Stripe dashboard. A Login Link differs from an Account Link in that it takes the
+ /// href="https://docs.stripe.com/api/account_links">Account Link in that it takes the
/// user directly to their Express
+ /// href="https://docs.stripe.com/connect/integrate-express-dashboard#create-login-link">Express
/// dashboard for the specified account.
///
public class LoginLink : StripeEntity, IHasObject
diff --git a/src/Stripe.net/Entities/Margins/Margin.cs b/src/Stripe.net/Entities/Margins/Margin.cs
index f45abb867f..eded6f019a 100644
--- a/src/Stripe.net/Entities/Margins/Margin.cs
+++ b/src/Stripe.net/Entities/Margins/Margin.cs
@@ -66,7 +66,7 @@ public class Margin : StripeEntity, IHasId, IHasMetadata, IHasObject
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Orders/Order.cs b/src/Stripe.net/Entities/Orders/Order.cs
index 9dc99715ab..b7ce549ba0 100644
--- a/src/Stripe.net/Entities/Orders/Order.cs
+++ b/src/Stripe.net/Entities/Orders/Order.cs
@@ -43,7 +43,7 @@ public class Order : StripeEntity, IHasId, IHasMetadata, IHasObject
///
/// Order cost before any discounts or taxes are applied. A positive integer representing
/// the subtotal of the order in the smallest currency unit (e.g.,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g.,
/// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency).
///
[JsonProperty("amount_subtotal")]
@@ -55,10 +55,10 @@ public class Order : StripeEntity, IHasId, IHasMetadata, IHasObject
///
/// Total order cost after discounts and taxes are applied. A positive integer representing
/// the cost of the order in the smallest currency unit (e.g.,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g.,
/// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). To submit an
/// order, the total must be either 0 or at least $0.50 USD or equivalent
+ /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent
/// in charge currency.
///
[JsonProperty("amount_total")]
@@ -132,7 +132,7 @@ public Application Application
/// secret.
///
/// Refer to our docs for creating and processing an
+ /// href="https://docs.stripe.com/orders-beta/create-and-process">creating and processing an
/// order to learn about how client_secret should be handled.
///
[JsonProperty("client_secret")]
@@ -284,7 +284,7 @@ public List Discounts
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Orders/OrderPaymentSettings.cs b/src/Stripe.net/Entities/Orders/OrderPaymentSettings.cs
index ecd7c9b059..cee96c43f5 100644
--- a/src/Stripe.net/Entities/Orders/OrderPaymentSettings.cs
+++ b/src/Stripe.net/Entities/Orders/OrderPaymentSettings.cs
@@ -40,7 +40,7 @@ public class OrderPaymentSettings : StripeEntity
public OrderPaymentSettingsPaymentMethodOptions PaymentMethodOptions { get; set; }
///
- /// The list of payment
+ /// The list of payment
/// method types to provide to the order's PaymentIntent. Do not include this attribute
/// if you prefer to manage your payment methods from the Stripe Dashboard.
diff --git a/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay.cs b/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay.cs
index bbf4e04b63..a3225f9a50 100644
--- a/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay.cs
+++ b/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay.cs
@@ -34,16 +34,16 @@ public class OrderPaymentSettingsPaymentMethodOptionsAfterpayClearpay : StripeEn
/// Indicates that you intend to make future payments with the payment method.
///
/// Providing this parameter will attach the payment
+ /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment
/// method to the order's Customer, if present, after the order's PaymentIntent is
/// confirmed and any required actions from the user are complete. If no Customer was
/// provided, the payment method can still be attached to a Customer
+ /// href="https://docs.stripe.com/api/payment_methods/attach">attached to a Customer
/// after the transaction completes.
///
/// When processing card payments, Stripe also uses setup_future_usage to dynamically
/// optimize your payment flow and comply with regional legislation and network rules, such
- /// as SCA.
+ /// as SCA.
///
/// If setup_future_usage is already set and you are performing a request using a
/// publishable key, you may only update the value from on_session to
diff --git a/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCard.cs
index f9057ae3bb..8dea231e3b 100644
--- a/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCard.cs
+++ b/src/Stripe.net/Entities/Orders/OrderPaymentSettingsPaymentMethodOptionsCard.cs
@@ -22,16 +22,16 @@ public class OrderPaymentSettingsPaymentMethodOptionsCard : StripeEntityattach the payment
+ /// href="https://docs.stripe.com/payments/save-during-payment">attach the payment
/// method to the order's Customer, if present, after the order's PaymentIntent is
/// confirmed and any required actions from the user are complete. If no Customer was
/// provided, the payment method can still be attached to a Customer
+ /// href="https://docs.stripe.com/api/payment_methods/attach">attached to a Customer
/// after the transaction completes.
///
/// When processing card payments, Stripe also uses setup_future_usage to dynamically
/// optimize your payment flow and comply with regional legislation and network rules, such
- /// as SCA.
+ /// as SCA.
///
/// If setup_future_usage is already set and you are performing a request using a
/// publishable key, you may only update the value from on_session to
diff --git a/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownDiscount.cs
index 931bcd07b4..33841de50b 100644
--- a/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownDiscount.cs
+++ b/src/Stripe.net/Entities/Orders/OrderTotalDetailsBreakdownDiscount.cs
@@ -19,12 +19,12 @@ public class OrderTotalDetailsBreakdownDiscount : StripeEntity
/// A discount represents the actual application of a coupon or promotion code. It contains
+ /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains
/// information about when the discount began, when it will end, and what it is applied to.
///
/// Related guide: Applying discounts to
+ /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to
/// subscriptions.
///
[JsonProperty("discount")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecord.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecord.cs
index 98d1bfdb6f..91de7557ac 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecord.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecord.cs
@@ -157,7 +157,7 @@ public class PaymentAttemptRecord : StripeEntity, IHasId,
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmount.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmount.cs
index d7e37e3dcc..78cf6de774 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmount.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmount.cs
@@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmount : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountAuthorized.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountAuthorized.cs
index 1c51574a8d..0cb47cf4ab 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountAuthorized.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountAuthorized.cs
@@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountAuthorized : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountCanceled.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountCanceled.cs
index 4d60c508d9..8528dee903 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountCanceled.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountCanceled.cs
@@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountCanceled : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountFailed.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountFailed.cs
index a1244e63d2..58ccf4b316 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountFailed.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountFailed.cs
@@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountFailed : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountGuaranteed.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountGuaranteed.cs
index ebd770d66a..e460cf54d5 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountGuaranteed.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountGuaranteed.cs
@@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountGuaranteed : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRefunded.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRefunded.cs
index ba3898cd59..4ed14175dd 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRefunded.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRefunded.cs
@@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountRefunded : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRequested.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRequested.cs
index 65f3277ca1..0772465abf 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRequested.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordAmountRequested.cs
@@ -21,7 +21,7 @@ public class PaymentAttemptRecordAmountRequested : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs
index 0be86979b0..85571ecbe4 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetails.cs
@@ -403,7 +403,7 @@ public class PaymentAttemptRecordPaymentMethodDetails : StripeEntity
/// The type of transaction-specific details of the payment method used in the payment. See
/// PaymentMethod.type
+ /// href="https://docs.stripe.com/api/payment_methods/object#payment_method_object-type">PaymentMethod.type
/// for the full list of possible types. An additional hash is included on
/// payment_method_details with a name matching this value. It contains information
/// specific to the payment method.
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAcssDebit.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAcssDebit.cs
index 15dc865bc7..26f6e5f40d 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAcssDebit.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAcssDebit.cs
@@ -17,6 +17,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsAcssDebit : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAffirm.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAffirm.cs
index 92a2f41a54..4f71a46db0 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAffirm.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAffirm.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class PaymentAttemptRecordPaymentMethodDetailsAffirm : StripeEntity
{
///
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -19,7 +19,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsAffirm : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit.cs
index 37c21720a7..a912d18d7c 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit.cs
@@ -17,6 +17,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsAuBecsDebit : StripeEntity<
#endif
public string BsbNumber { get; set; }
+ ///
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBacsDebit.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBacsDebit.cs
index c668237321..c331942a5f 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBacsDebit.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBacsDebit.cs
@@ -8,6 +8,15 @@ namespace Stripe
public class PaymentAttemptRecordPaymentMethodDetailsBacsDebit : StripeEntity
{
+ ///
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress.cs
index 0ca47e3589..c6f455fab5 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress.cs
@@ -55,7 +55,8 @@ public class PaymentAttemptRecordPaymentMethodDetailsBillingDetailsAddress : Str
public string PostalCode { get; set; }
///
- /// State, county, province, or region.
+ /// State, county, province, or region (ISO 3166-2).
///
[JsonProperty("state")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCard.cs
index de8b905b74..aa80f01e8e 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCard.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCard.cs
@@ -10,6 +10,15 @@ namespace Stripe
public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity
{
+ ///
+ /// The authorization code of the payment.
+ ///
+ [JsonProperty("authorization_code")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("authorization_code")]
+#endif
+ public string AuthorizationCode { get; set; }
+
///
/// Card brand. Can be amex, cartes_bancaires, diners, discover,
/// eftpos_au, jcb, link, mastercard, unionpay,
@@ -55,6 +64,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity
+ /// A high-level description of the type of cards issued in this range.
+ ///
+ [JsonProperty("description")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("description")]
+#endif
+ public string Description { get; set; }
+
///
/// Two-digit number representing the card's expiration month.
///
@@ -99,6 +117,33 @@ public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity
+ /// Issuer identification number of the card.
+ ///
+ [JsonProperty("iin")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("iin")]
+#endif
+ public string Iin { get; set; }
+
+ ///
+ /// Installment details for this payment.
+ ///
+ [JsonProperty("installments")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("installments")]
+#endif
+ public PaymentAttemptRecordPaymentMethodDetailsCardInstallments Installments { get; set; }
+
+ ///
+ /// The name of the card's issuing bank.
+ ///
+ [JsonProperty("issuer")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("issuer")]
+#endif
+ public string Issuer { get; set; }
+
///
/// The last four digits of the card.
///
@@ -132,6 +177,24 @@ public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity
+ /// Advice code from the card network for the failed payment.
+ ///
+ [JsonProperty("network_advice_code")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("network_advice_code")]
+#endif
+ public string NetworkAdviceCode { get; set; }
+
+ ///
+ /// Decline code from the card network for the failed payment.
+ ///
+ [JsonProperty("network_decline_code")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("network_decline_code")]
+#endif
+ public string NetworkDeclineCode { get; set; }
+
///
/// If this card has network token credentials, this contains the details of the network
/// token credentials.
@@ -154,6 +217,17 @@ public class PaymentAttemptRecordPaymentMethodDetailsCard : StripeEntity
+ /// The transaction type that was passed for an off-session, Merchant-Initiated transaction,
+ /// one of recurring or unscheduled.
+ /// One of: recurring, or unscheduled.
+ ///
+ [JsonProperty("stored_credential_usage")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("stored_credential_usage")]
+#endif
+ public string StoredCredentialUsage { get; set; }
+
///
/// Populated if this transaction used 3D Secure authentication.
///
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallments.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallments.cs
new file mode 100644
index 0000000000..f4fe81391b
--- /dev/null
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallments.cs
@@ -0,0 +1,17 @@
+// 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 PaymentAttemptRecordPaymentMethodDetailsCardInstallments : StripeEntity
+ {
+ [JsonProperty("plan")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("plan")]
+#endif
+ public PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan Plan { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan.cs
new file mode 100644
index 0000000000..8398816199
--- /dev/null
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan.cs
@@ -0,0 +1,41 @@
+// 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 PaymentAttemptRecordPaymentMethodDetailsCardInstallmentsPlan : StripeEntity
+ {
+ ///
+ /// For fixed_count installment plans, this is the number of installment payments
+ /// your customer will make to their credit card.
+ ///
+ [JsonProperty("count")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("count")]
+#endif
+ public long? Count { get; set; }
+
+ ///
+ /// For fixed_count installment plans, this is the interval between installment
+ /// payments your customer will make to their credit card. One of month.
+ ///
+ [JsonProperty("interval")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("interval")]
+#endif
+ public string Interval { get; set; }
+
+ ///
+ /// Type of installment plan, one of fixed_count, revolving, or bonus.
+ /// One of: bonus, fixed_count, or revolving.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardPresent.cs
index 4ab40f7813..66ea4a7719 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardPresent.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsCardPresent.cs
@@ -161,9 +161,9 @@ public class PaymentAttemptRecordPaymentMethodDetailsCardPresent : StripeEntity<
public string Iin { get; set; }
///
- /// Whether this PaymentIntent is
+ /// Whether this PaymentIntent is
/// eligible for incremental authorizations. Request support using request_incremental_authorization_support.
+ /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support.
///
[JsonProperty("incremental_authorization_supported")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs
index 05d09359df..bbb02a0688 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsIdeal.cs
@@ -14,14 +14,14 @@ public class PaymentAttemptRecordPaymentMethodDetailsIdeal : StripeEntity
/// The customer's bank. Can be one of abn_amro, asn_bank, bunq,
- /// buut, finom, handelsbanken, ing, knab,
+ /// buut, finom, handelsbanken, ing, knab, mollie,
/// moneyou, n26, nn, rabobank, regiobank,
/// revolut, sns_bank, triodos_bank, van_lanschot, or
/// yoursafe.
/// One of: abn_amro, asn_bank, bunq, buut, finom,
- /// handelsbanken, ing, knab, moneyou, n26, nn,
- /// rabobank, regiobank, revolut, sns_bank, triodos_bank,
- /// van_lanschot, or yoursafe.
+ /// handelsbanken, ing, knab, mollie, moneyou,
+ /// n26, nn, rabobank, regiobank, revolut,
+ /// sns_bank, triodos_bank, van_lanschot, or yoursafe.
///
[JsonProperty("bank")]
#if NET6_0_OR_GREATER
@@ -33,8 +33,9 @@ public class PaymentAttemptRecordPaymentMethodDetailsIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A,
/// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A,
- /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U,
- /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U.
+ /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1,
+ /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or
+ /// TRIONL2U.
///
[JsonProperty("bic")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsNzBankAccount.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsNzBankAccount.cs
index 63b1e40810..d80a3676ed 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsNzBankAccount.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsNzBankAccount.cs
@@ -45,6 +45,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsNzBankAccount : StripeEntit
#endif
public string BranchCode { get; set; }
+ ///
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Last four digits of the bank account number.
///
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsPaynow.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsPaynow.cs
index b9a2c86679..98d6cfbcd5 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsPaynow.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsPaynow.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class PaymentAttemptRecordPaymentMethodDetailsPaynow : StripeEntity
{
///
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -19,7 +19,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsPaynow : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsSepaDebit.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsSepaDebit.cs
index a20882ee35..4fb531560f 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsSepaDebit.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsSepaDebit.cs
@@ -35,6 +35,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsSepaDebit : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
@@ -56,9 +65,9 @@ public class PaymentAttemptRecordPaymentMethodDetailsSepaDebit : StripeEntity
/// Find the ID of the mandate used for this payment under the payment_method_details.sepa_debit.mandate
+ /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate">payment_method_details.sepa_debit.mandate
/// property on the Charge. Use this mandate ID to retrieve the Mandate.
+ /// href="https://docs.stripe.com/api/mandates/retrieve">retrieve the Mandate.
///
[JsonProperty("mandate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs
index acdecb8120..8c93835193 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsUsBankAccount.cs
@@ -41,6 +41,15 @@ public class PaymentAttemptRecordPaymentMethodDetailsUsBankAccount : StripeEntit
#endif
public string BankName { get; set; }
+ ///
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsWechatPay.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsWechatPay.cs
index 0ead641a86..ccb6b59459 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsWechatPay.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordPaymentMethodDetailsWechatPay.cs
@@ -19,7 +19,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsWechatPay : StripeEntity
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -29,7 +29,7 @@ public class PaymentAttemptRecordPaymentMethodDetailsWechatPay : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordShippingDetailsAddress.cs b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordShippingDetailsAddress.cs
index aae4dab913..f04f7ae227 100644
--- a/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordShippingDetailsAddress.cs
+++ b/src/Stripe.net/Entities/PaymentAttemptRecords/PaymentAttemptRecordShippingDetailsAddress.cs
@@ -55,7 +55,8 @@ public class PaymentAttemptRecordShippingDetailsAddress : StripeEntity
- /// State, county, province, or region.
+ /// State, county, province, or region (ISO 3166-2).
///
[JsonProperty("state")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItem.cs b/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItem.cs
index 222f718e8e..48cc7fcf22 100644
--- a/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItem.cs
+++ b/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItem.cs
@@ -28,7 +28,7 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity
/// The discount applied on this line item represented in the smallest currency unit. An
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An
/// integer greater than 0.
///
/// This field is mutually exclusive with the amount_details[discount_amount] field.
@@ -90,7 +90,7 @@ public class PaymentIntentAmountDetailsLineItem : StripeEntity
/// The unit cost of the line item represented in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
/// Required for L3 rates. An integer greater than or equal to 0.
///
[JsonProperty("unit_cost")]
diff --git a/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItemTax.cs b/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItemTax.cs
index 7068d49e07..06af67520f 100644
--- a/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItemTax.cs
+++ b/src/Stripe.net/Entities/PaymentIntentAmountDetailsLineItems/PaymentIntentAmountDetailsLineItemTax.cs
@@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsLineItemTax : StripeEntity
/// The total amount of tax on the transaction represented in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
/// Required for L2 rates. An integer greater than or equal to 0.
///
/// This field is mutually exclusive with the
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs
index f01cc5b0d9..3a21e47898 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntent.cs
@@ -16,11 +16,11 @@ namespace Stripe
/// history of payment attempts for a particular session.
///
/// A PaymentIntent transitions through multiple statuses
+ /// href="https://stripe.com/payments/paymentintents/lifecycle">multiple statuses
/// throughout its lifetime as it interfaces with Stripe.js to perform authentication flows
/// and ultimately creates at most one successful charge.
///
- /// Related guide: Payment
+ /// Related guide: Payment
/// Intents API.
///
#if NET6_0_OR_GREATER
@@ -49,10 +49,10 @@ public class PaymentIntent : StripeEntity, IHasId, IHasMetadata,
///
/// Amount intended to be collected by this PaymentIntent. A positive integer representing
/// how much to charge in the smallest currency unit (e.g.,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit (e.g.,
/// 100 cents to charge $1.00 or 100 to charge ¥100, a zero-decimal currency). The minimum
/// amount is $0.50 US or equivalent
+ /// href="https://docs.stripe.com/currencies#minimum-and-maximum-charge-amounts">equivalent
/// in charge currency. The amount value supports up to eight digits (e.g., a value of
/// 99999999 for a USD charge of $999,999.99).
///
@@ -132,7 +132,7 @@ public Application Application
/// payment and transferred to the application owner's Stripe account. The amount of the
/// application fee collected will be capped at the total amount captured. For more
/// information, see the PaymentIntents use case for connected
+ /// href="https://docs.stripe.com/payments/connected-accounts">use case for connected
/// accounts.
///
[JsonProperty("application_fee_amount")]
@@ -141,6 +141,12 @@ public Application Application
#endif
public long? ApplicationFeeAmount { get; set; }
+ [JsonProperty("async_workflows")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("async_workflows")]
+#endif
+ public PaymentIntentAsyncWorkflows AsyncWorkflows { get; set; }
+
///
/// Settings to configure compatible payment methods from the Stripe Dashboard.
@@ -197,7 +203,7 @@ public Application Application
/// TLS enabled on any page that includes the client secret.
///
/// Refer to our docs to accept a
+ /// href="https://docs.stripe.com/payments/accept-a-payment?ui=elements">accept a
/// payment and learn about how client_secret should be handled.
///
[JsonProperty("client_secret")]
@@ -248,7 +254,7 @@ public Application Application
/// Payment methods attached to other Customers cannot be used with this PaymentIntent.
///
/// If setup_future_usage
+ /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage
/// is set and this PaymentIntent's payment method is not card_present, then the
/// payment method attaches to the Customer after the PaymentIntent has been confirmed and
/// any required actions from the user are complete. If the payment method is
@@ -273,7 +279,7 @@ public string CustomerId
/// Payment methods attached to other Customers cannot be used with this PaymentIntent.
///
/// If setup_future_usage
+ /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage
/// is set and this PaymentIntent's payment method is not card_present, then the
/// payment method attaches to the Customer after the PaymentIntent has been confirmed and
/// any required actions from the user are complete. If the payment method is
@@ -303,12 +309,13 @@ public Customer Customer
#endregion
///
- /// ID of the Account this PaymentIntent belongs to, if one exists.
+ /// ID of the Account representing the customer that this PaymentIntent belongs to, if one
+ /// exists.
///
/// Payment methods attached to other Accounts cannot be used with this PaymentIntent.
///
/// If setup_future_usage
+ /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage
/// is set and this PaymentIntent's payment method is not card_present, then the
/// payment method attaches to the Account after the PaymentIntent has been confirmed and
/// any required actions from the user are complete. If the payment method is
@@ -381,7 +388,7 @@ public Customer Customer
///
/// (ID of the Charge)
- /// ID of the latest Charge object created
+ /// ID of the latest Charge object created
/// by this PaymentIntent. This property is null until PaymentIntent confirmation is
/// attempted.
///
@@ -397,7 +404,7 @@ public string LatestChargeId
///
/// (Expanded)
- /// ID of the latest Charge object created
+ /// ID of the latest Charge object created
/// by this PaymentIntent. This property is null until PaymentIntent confirmation is
/// attempted.
///
@@ -433,10 +440,10 @@ public Charge LatestCharge
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format. Learn more about storing
+ /// href="https://docs.stripe.com/payments/payment-intents/creating-payment-intents#storing-information-in-metadata">storing
/// information in metadata.
///
[JsonProperty("metadata")]
@@ -459,9 +466,10 @@ public Charge LatestCharge
///
/// (ID of the Account)
- /// The account (if any) for which the funds of the PaymentIntent are intended. See the
- /// PaymentIntents use case
- /// for connected accounts for details.
+ /// You can specify the settlement merchant as the connected account using the
+ /// on_behalf_of attribute on the charge. See the PaymentIntents use case for connected
+ /// accounts for details.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -475,9 +483,10 @@ public string OnBehalfOfId
///
/// (Expanded)
- /// The account (if any) for which the funds of the PaymentIntent are intended. See the
- /// PaymentIntents use case
- /// for connected accounts for details.
+ /// You can specify the settlement merchant as the connected account using the
+ /// on_behalf_of attribute on the charge. See the PaymentIntents use case for connected
+ /// accounts for details.
///
/// For more information, see the expand documentation.
///
@@ -549,7 +558,7 @@ public PaymentMethod PaymentMethod
///
/// Information about the payment method
+ /// href="https://docs.stripe.com/api/payment_method_configurations">payment method
/// configuration used for this PaymentIntent.
///
[JsonProperty("payment_method_configuration_details")]
@@ -770,7 +779,7 @@ public IPaymentSource Source
/// requires_confirmation, requires_action, processing,
/// requires_capture, canceled, or succeeded. Read more about each
/// PaymentIntent status.
+ /// href="https://docs.stripe.com/payments/intents#intent-statuses">status.
/// One of: canceled, processing, requires_action,
/// requires_capture, requires_confirmation, requires_payment_method,
/// or succeeded.
@@ -783,7 +792,7 @@ public IPaymentSource Source
///
/// The data that automatically creates a Transfer after the payment finalizes. Learn more
- /// about the use case for
+ /// about the use case for
/// connected accounts.
///
[JsonProperty("transfer_data")]
@@ -794,7 +803,7 @@ public IPaymentSource Source
///
/// A string that identifies the resulting payment as part of a group. Learn more about the
- /// use case for
+ /// use case for
/// connected accounts.
///
[JsonProperty("transfer_group")]
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.cs
index 2a195d64fa..b9ccdd31e9 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetails.cs
@@ -10,7 +10,7 @@ public class PaymentIntentAmountDetails : StripeEntity
/// The total discount applied on the transaction represented in the smallest currency unit. An
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An
/// integer greater than 0.
///
/// This field is mutually exclusive with the
@@ -24,7 +24,7 @@ public class PaymentIntentAmountDetails : StripeEntity
/// A list of line items, each containing information about a product in the PaymentIntent.
- /// There is a maximum of 100 line items.
+ /// There is a maximum of 200 line items.
///
[JsonProperty("line_items")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsShipping.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsShipping.cs
index e4e90a21b2..fe8b966d80 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsShipping.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsShipping.cs
@@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsShipping : StripeEntity
/// If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit. An
/// integer greater than or equal to 0.
///
[JsonProperty("amount")]
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTax.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTax.cs
index 87c26c9913..b5a022051d 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTax.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAmountDetailsTax.cs
@@ -10,7 +10,7 @@ public class PaymentIntentAmountDetailsTax : StripeEntity
/// The total amount of tax on the transaction represented in the smallest currency unit.
+ /// href="https://docs.stripe.com/currencies#zero-decimal">smallest currency unit.
/// Required for L2 rates. An integer greater than or equal to 0.
///
/// This field is mutually exclusive with the
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflows.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflows.cs
new file mode 100644
index 0000000000..5d5f4d6bc1
--- /dev/null
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflows.cs
@@ -0,0 +1,17 @@
+// 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 PaymentIntentAsyncWorkflows : StripeEntity
+ {
+ [JsonProperty("inputs")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("inputs")]
+#endif
+ public PaymentIntentAsyncWorkflowsInputs Inputs { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputs.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputs.cs
new file mode 100644
index 0000000000..1492b12bb0
--- /dev/null
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputs.cs
@@ -0,0 +1,17 @@
+// 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 PaymentIntentAsyncWorkflowsInputs : StripeEntity
+ {
+ [JsonProperty("tax")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("tax")]
+#endif
+ public PaymentIntentAsyncWorkflowsInputsTax Tax { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputsTax.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputsTax.cs
new file mode 100644
index 0000000000..a3ece0c484
--- /dev/null
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAsyncWorkflowsInputsTax.cs
@@ -0,0 +1,20 @@
+// 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 PaymentIntentAsyncWorkflowsInputsTax : StripeEntity
+ {
+ ///
+ /// The TaxCalculation id.
+ ///
+ [JsonProperty("calculation")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("calculation")]
+#endif
+ public string Calculation { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAutomaticPaymentMethods.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAutomaticPaymentMethods.cs
index dfc1aed31f..ad69aaa60d 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAutomaticPaymentMethods.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentAutomaticPaymentMethods.cs
@@ -13,7 +13,7 @@ public class PaymentIntentAutomaticPaymentMethods : StripeEntityconfirm this
+ /// href="https://docs.stripe.com/api/payment_intents/confirm">confirm this
/// PaymentIntent, you may be required to provide a return_url to redirect customers
/// back to your site after they authenticate or complete the payment.
/// One of: always, or never.
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentHooksInputsTax.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentHooksInputsTax.cs
index d955964187..6445da2598 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentHooksInputsTax.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentHooksInputsTax.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class PaymentIntentHooksInputsTax : StripeEntity
{
///
- /// The TaxCalculation id.
+ /// The TaxCalculation id.
///
[JsonProperty("calculation")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs
index e63d588fed..b751e8d155 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCard.cs
@@ -21,7 +21,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntityinstallments integration guide.
+ /// href="https://docs.stripe.com/payments/installments">installments integration guide.
///
[JsonProperty("installments")]
#if NET6_0_OR_GREATER
@@ -53,7 +53,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity
/// Request ability to decrement the
+ /// href="https://docs.stripe.com/payments/decremental-authorization">decrement the
/// authorization for this PaymentIntent.
/// One of: if_available, or never.
///
@@ -65,7 +65,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity
/// Request ability to capture beyond the
+ /// href="https://docs.stripe.com/payments/extended-authorization">capture beyond the
/// standard authorization validity window for this PaymentIntent.
/// One of: if_available, or never.
///
@@ -77,7 +77,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity
/// Request ability to increment the
+ /// href="https://docs.stripe.com/payments/incremental-authorization">increment the
/// authorization for this PaymentIntent.
/// One of: if_available, or never.
///
@@ -88,7 +88,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity
- /// Request ability to make multiple
+ /// Request ability to make multiple
/// captures for this PaymentIntent.
/// One of: if_available, or never.
///
@@ -100,7 +100,7 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity
/// Request ability to overcapture for this
+ /// href="https://docs.stripe.com/payments/overcapture">overcapture for this
/// PaymentIntent.
/// One of: if_available, or never.
///
@@ -123,11 +123,11 @@ public class PaymentIntentPaymentMethodOptionsCard : StripeEntity
/// We strongly recommend that you rely on our SCA Engine to automatically prompt your
/// customers for authentication based on risk level and other requirements.
+ /// href="https://docs.stripe.com/strong-customer-authentication">other requirements.
/// However, if you wish to request 3D Secure based on logic from your own fraud engine,
/// provide this option. If not provided, this value defaults to automatic. Read our
/// guide on manually
+ /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually
/// requesting 3D Secure for more information on how this configuration interacts with
/// Radar and our SCA Engine.
/// One of: any, automatic, or challenge.
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresent.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresent.cs
index 8434a1640f..37166a1ee5 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresent.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardPresent.cs
@@ -20,7 +20,7 @@ public class PaymentIntentPaymentMethodOptionsCardPresent : StripeEntity
/// Request ability to capture this payment beyond the standard authorization
+ /// href="https://docs.stripe.com/terminal/features/extended-authorizations#authorization-validity">authorization
/// validity window.
///
[JsonProperty("request_extended_authorization")]
@@ -31,10 +31,10 @@ public class PaymentIntentPaymentMethodOptionsCardPresent : StripeEntity
/// Request ability to increment
+ /// href="https://docs.stripe.com/terminal/features/incremental-authorizations">increment
/// this PaymentIntent if the combination of MCC and card brand is eligible. Check incremental_authorization_supported
- /// in the Confirm
+ /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported">incremental_authorization_supported
+ /// in the Confirm
/// response to verify support.
///
[JsonProperty("request_incremental_authorization_support")]
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress.cs
index 40131b61bd..fda9c44f1e 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress.cs
@@ -55,7 +55,8 @@ public class PaymentIntentPaymentMethodOptionsCardStatementDetailsAddress : Stri
public string PostalCode { get; set; }
///
- /// State, county, province, or region.
+ /// State, county, province, or region (ISO 3166-2).
///
[JsonProperty("state")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentTransferData.cs b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentTransferData.cs
index 35615d83e2..3602292c6f 100644
--- a/src/Stripe.net/Entities/PaymentIntents/PaymentIntentTransferData.cs
+++ b/src/Stripe.net/Entities/PaymentIntents/PaymentIntentTransferData.cs
@@ -17,7 +17,7 @@ public class PaymentIntentTransferData : StripeEntity
/// automatically after the payment succeeds. If no amount is specified, by default the
/// entire payment amount is transferred to the destination account. The amount must be less
/// than or equal to the amount,
+ /// href="https://docs.stripe.com/api/payment_intents/object#payment_intent_object-amount">amount,
/// and must be a positive integer representing how much to transfer in the smallest
/// currency unit (e.g., 100 cents to charge $1.00).
///
diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs
index 19f83639aa..f0a62c6a65 100644
--- a/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs
+++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLink.cs
@@ -13,12 +13,12 @@ namespace Stripe
/// page. A payment link can be shared and used multiple times.
///
/// When a customer opens a payment link it will open a new checkout session to render the
+ /// href="https://docs.stripe.com/api/checkout/sessions">checkout session to render the
/// payment page. You can use checkout
+ /// href="https://docs.stripe.com/api/events/types#event_types-checkout.session.completed">checkout
/// session events to track payments through payment links.
///
- /// Related guide: Payment Links API.
+ /// Related guide: Payment Links API.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
@@ -230,7 +230,7 @@ public Application Application
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceData.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceData.cs
index d2ea8977e7..fdf559d74c 100644
--- a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceData.cs
+++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkInvoiceCreationInvoiceData.cs
@@ -91,7 +91,7 @@ public List AccountTaxIds
public PaymentLinkInvoiceCreationInvoiceDataIssuer Issuer { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkPaymentIntentData.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkPaymentIntentData.cs
index 2c341b19ac..827e2e652c 100644
--- a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkPaymentIntentData.cs
+++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkPaymentIntentData.cs
@@ -29,8 +29,8 @@ public class PaymentLinkPaymentIntentData : StripeEntity
- /// Set of key-value pairs that will set
- /// metadata on Payment Intents
+ /// Set of key-value pairs that will set
+ /// metadata on Payment Intents
/// generated from this payment link.
///
[JsonProperty("metadata")]
@@ -74,7 +74,7 @@ public class PaymentLinkPaymentIntentData : StripeEntity
/// A string that identifies the resulting payment as part of a group. See the
/// PaymentIntents use case for
+ /// href="https://docs.stripe.com/connect/separate-charges-and-transfers">use case for
/// connected accounts for details.
///
[JsonProperty("transfer_group")]
diff --git a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkSubscriptionData.cs b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkSubscriptionData.cs
index 89af872101..3f51fd029b 100644
--- a/src/Stripe.net/Entities/PaymentLinks/PaymentLinkSubscriptionData.cs
+++ b/src/Stripe.net/Entities/PaymentLinks/PaymentLinkSubscriptionData.cs
@@ -27,8 +27,8 @@ public class PaymentLinkSubscriptionData : StripeEntity
- /// Set of key-value pairs that will set
- /// metadata on Subscriptions
+ /// Set of key-value pairs that will set
+ /// metadata on Subscriptions
/// generated from this payment link.
///
[JsonProperty("metadata")]
diff --git a/src/Stripe.net/Entities/PaymentMethodConfigurations/PaymentMethodConfiguration.cs b/src/Stripe.net/Entities/PaymentMethodConfigurations/PaymentMethodConfiguration.cs
index a93d214ee2..485e35067a 100644
--- a/src/Stripe.net/Entities/PaymentMethodConfigurations/PaymentMethodConfiguration.cs
+++ b/src/Stripe.net/Entities/PaymentMethodConfigurations/PaymentMethodConfiguration.cs
@@ -12,7 +12,7 @@ namespace Stripe
/// configurations with different sets of payment methods for different scenarios.
///
/// There are two types of PaymentMethodConfigurations. Which is used depends on the charge type:.
+ /// href="https://docs.stripe.com/connect/charges">charge type:.
///
/// Direct configurations apply to payments created on your account,
/// including Connect destination charges, Connect separate charges and transfers, and
@@ -29,11 +29,11 @@ namespace Stripe
/// in the dashboard and are not available in this API.
///
/// Related guides: - Payment Method
+ /// href="https://docs.stripe.com/connect/payment-method-configurations">Payment Method
/// Configurations API - Multiple
+ /// href="https://docs.stripe.com/payments/multiple-payment-method-configs">Multiple
/// configurations on dynamic payment methods - Multiple
+ /// href="https://docs.stripe.com/connect/multiple-payment-method-configurations">Multiple
/// configurations for your Connect accounts.
///
public class PaymentMethodConfiguration : StripeEntity, IHasId, IHasObject
diff --git a/src/Stripe.net/Entities/PaymentMethodDomains/PaymentMethodDomain.cs b/src/Stripe.net/Entities/PaymentMethodDomains/PaymentMethodDomain.cs
index 336b367198..b03764f0a5 100644
--- a/src/Stripe.net/Entities/PaymentMethodDomains/PaymentMethodDomain.cs
+++ b/src/Stripe.net/Entities/PaymentMethodDomains/PaymentMethodDomain.cs
@@ -14,7 +14,7 @@ namespace Stripe
/// methods are shown.
///
/// Related guide: Payment method
+ /// href="https://docs.stripe.com/payments/payment-methods/pmd-registration">Payment method
/// domains.
///
public class PaymentMethodDomain : StripeEntity, IHasId, IHasObject
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethod.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethod.cs
index 36cd39926e..cc07414e19 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethod.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethod.cs
@@ -11,12 +11,12 @@ namespace Stripe
///
/// PaymentMethod objects represent your customer's payment instruments. You can use them
- /// with PaymentIntents to
+ /// with PaymentIntents to
/// collect payments or save them to Customer objects to store instrument details for future
/// payments.
///
- /// Related guides: Payment
- /// Methods and More
+ /// Related guides: Payment
+ /// Methods and More
/// Payment Scenarios.
///
#if NET6_0_OR_GREATER
@@ -334,7 +334,7 @@ public Customer Customer
public PaymentMethodMbWay MbWay { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -436,7 +436,7 @@ public Customer Customer
///
/// Options to configure Radar. See Radar Session for more
+ /// href="https://docs.stripe.com/radar/radar-session">Radar Session for more
/// information.
///
[JsonProperty("radar_options")]
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs
index 9ec6e7372c..69abf23bd5 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent.cs
@@ -161,9 +161,9 @@ public class PaymentMethodCardGeneratedFromPaymentMethodDetailsCardPresent : Str
public string Iin { get; set; }
///
- /// Whether this PaymentIntent is
+ /// Whether this PaymentIntent is
/// eligible for incremental authorizations. Request support using request_incremental_authorization_support.
+ /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support.
///
[JsonProperty("incremental_authorization_supported")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodIdeal.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodIdeal.cs
index c4f5ec8957..64bd8c1279 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodIdeal.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodIdeal.cs
@@ -11,13 +11,13 @@ public class PaymentMethodIdeal : StripeEntity
///
/// The customer's bank, if provided. Can be one of abn_amro, asn_bank,
/// bunq, buut, finom, handelsbanken, ing, knab,
- /// moneyou, n26, nn, rabobank, regiobank,
+ /// mollie, moneyou, n26, nn, rabobank, regiobank,
/// revolut, sns_bank, triodos_bank, van_lanschot, or
/// yoursafe.
/// One of: abn_amro, asn_bank, bunq, buut, finom,
- /// handelsbanken, ing, knab, moneyou, n26, nn,
- /// rabobank, regiobank, revolut, sns_bank, triodos_bank,
- /// van_lanschot, or yoursafe.
+ /// handelsbanken, ing, knab, mollie, moneyou,
+ /// n26, nn, rabobank, regiobank, revolut,
+ /// sns_bank, triodos_bank, van_lanschot, or yoursafe.
///
[JsonProperty("bank")]
#if NET6_0_OR_GREATER
@@ -29,8 +29,9 @@ public class PaymentMethodIdeal : StripeEntity
/// The Bank Identifier Code of the customer's bank, if the bank was provided.
/// One of: ABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A,
/// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A,
- /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U,
- /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U.
+ /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1,
+ /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or
+ /// TRIONL2U.
///
[JsonProperty("bic")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodRadarOptions.cs b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodRadarOptions.cs
index 9b9f4fb668..63a6cd3125 100644
--- a/src/Stripe.net/Entities/PaymentMethods/PaymentMethodRadarOptions.cs
+++ b/src/Stripe.net/Entities/PaymentMethods/PaymentMethodRadarOptions.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class PaymentMethodRadarOptions : StripeEntity
{
///
- /// A Radar Session is a snapshot
+ /// A Radar Session is a snapshot
/// of the browser metadata and device details that help Radar make more accurate
/// predictions on your payments.
///
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecord.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecord.cs
index c1d4598b08..5483512190 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecord.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecord.cs
@@ -167,7 +167,7 @@ public class PaymentRecord : StripeEntity, IHasId, IHasMetadata,
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -195,6 +195,16 @@ public class PaymentRecord : StripeEntity, IHasId, IHasMetadata,
#endif
public PaymentRecordProcessorDetails ProcessorDetails { get; set; }
+ ///
+ /// Indicates who reported the payment.
+ /// One of: self, or stripe.
+ ///
+ [JsonProperty("reported_by")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("reported_by")]
+#endif
+ public string ReportedBy { get; set; }
+
///
/// Shipping information for this payment.
///
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmount.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmount.cs
index 47e1df7339..0ded49788d 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmount.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmount.cs
@@ -21,7 +21,7 @@ public class PaymentRecordAmount : StripeEntity
///
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountAuthorized.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountAuthorized.cs
index 31c6e2fc1b..3160e3f215 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountAuthorized.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountAuthorized.cs
@@ -21,7 +21,7 @@ public class PaymentRecordAmountAuthorized : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountCanceled.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountCanceled.cs
index 9b79530c70..f9f859fc47 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountCanceled.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountCanceled.cs
@@ -21,7 +21,7 @@ public class PaymentRecordAmountCanceled : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountFailed.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountFailed.cs
index 0fc5c933c3..d368945609 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountFailed.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountFailed.cs
@@ -21,7 +21,7 @@ public class PaymentRecordAmountFailed : StripeEntity
///
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountGuaranteed.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountGuaranteed.cs
index c948b6ec8e..3706a9f7dd 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountGuaranteed.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountGuaranteed.cs
@@ -21,7 +21,7 @@ public class PaymentRecordAmountGuaranteed : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRefunded.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRefunded.cs
index 6bb55bbb0b..9c6990d8db 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRefunded.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRefunded.cs
@@ -21,7 +21,7 @@ public class PaymentRecordAmountRefunded : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRequested.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRequested.cs
index c2aa5b39db..282647a3b5 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRequested.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordAmountRequested.cs
@@ -21,7 +21,7 @@ public class PaymentRecordAmountRequested : StripeEntity
/// A positive integer representing the amount in the currency's minor unit. For example,
+ /// href="https://docs.stripe.com/currencies#zero-decimal">minor unit. For example,
/// 100 can represent 1 USD or 100 JPY.
///
[JsonProperty("value")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs
index ead7d0fa13..31c00be3c5 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetails.cs
@@ -403,7 +403,7 @@ public class PaymentRecordPaymentMethodDetails : StripeEntity
/// The type of transaction-specific details of the payment method used in the payment. See
/// PaymentMethod.type
+ /// href="https://docs.stripe.com/api/payment_methods/object#payment_method_object-type">PaymentMethod.type
/// for the full list of possible types. An additional hash is included on
/// payment_method_details with a name matching this value. It contains information
/// specific to the payment method.
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAcssDebit.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAcssDebit.cs
index ca434c17bc..5a276de375 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAcssDebit.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAcssDebit.cs
@@ -17,6 +17,15 @@ public class PaymentRecordPaymentMethodDetailsAcssDebit : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAffirm.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAffirm.cs
index 02deb6c3f6..45040df18d 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAffirm.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAffirm.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class PaymentRecordPaymentMethodDetailsAffirm : StripeEntity
{
///
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -19,7 +19,7 @@ public class PaymentRecordPaymentMethodDetailsAffirm : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAuBecsDebit.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAuBecsDebit.cs
index 95b26055d9..5f3e12c30b 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAuBecsDebit.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsAuBecsDebit.cs
@@ -17,6 +17,15 @@ public class PaymentRecordPaymentMethodDetailsAuBecsDebit : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBacsDebit.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBacsDebit.cs
index e54a9497ba..6103bda5f0 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBacsDebit.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBacsDebit.cs
@@ -8,6 +8,15 @@ namespace Stripe
public class PaymentRecordPaymentMethodDetailsBacsDebit : StripeEntity
{
+ ///
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBillingDetailsAddress.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBillingDetailsAddress.cs
index 67e853084c..7b40e67815 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBillingDetailsAddress.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsBillingDetailsAddress.cs
@@ -55,7 +55,8 @@ public class PaymentRecordPaymentMethodDetailsBillingDetailsAddress : StripeEnti
public string PostalCode { get; set; }
///
- /// State, county, province, or region.
+ /// State, county, province, or region (ISO 3166-2).
///
[JsonProperty("state")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCard.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCard.cs
index 23835868a7..1cf47438e3 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCard.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCard.cs
@@ -10,6 +10,15 @@ namespace Stripe
public class PaymentRecordPaymentMethodDetailsCard : StripeEntity
{
+ ///
+ /// The authorization code of the payment.
+ ///
+ [JsonProperty("authorization_code")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("authorization_code")]
+#endif
+ public string AuthorizationCode { get; set; }
+
///
/// Card brand. Can be amex, cartes_bancaires, diners, discover,
/// eftpos_au, jcb, link, mastercard, unionpay,
@@ -55,6 +64,15 @@ public class PaymentRecordPaymentMethodDetailsCard : StripeEntity
+ /// A high-level description of the type of cards issued in this range.
+ ///
+ [JsonProperty("description")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("description")]
+#endif
+ public string Description { get; set; }
+
///
/// Two-digit number representing the card's expiration month.
///
@@ -99,6 +117,33 @@ public class PaymentRecordPaymentMethodDetailsCard : StripeEntity
+ /// Issuer identification number of the card.
+ ///
+ [JsonProperty("iin")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("iin")]
+#endif
+ public string Iin { get; set; }
+
+ ///
+ /// Installment details for this payment.
+ ///
+ [JsonProperty("installments")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("installments")]
+#endif
+ public PaymentRecordPaymentMethodDetailsCardInstallments Installments { get; set; }
+
+ ///
+ /// The name of the card's issuing bank.
+ ///
+ [JsonProperty("issuer")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("issuer")]
+#endif
+ public string Issuer { get; set; }
+
///
/// The last four digits of the card.
///
@@ -132,6 +177,24 @@ public class PaymentRecordPaymentMethodDetailsCard : StripeEntity
+ /// Advice code from the card network for the failed payment.
+ ///
+ [JsonProperty("network_advice_code")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("network_advice_code")]
+#endif
+ public string NetworkAdviceCode { get; set; }
+
+ ///
+ /// Decline code from the card network for the failed payment.
+ ///
+ [JsonProperty("network_decline_code")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("network_decline_code")]
+#endif
+ public string NetworkDeclineCode { get; set; }
+
///
/// If this card has network token credentials, this contains the details of the network
/// token credentials.
@@ -154,6 +217,17 @@ public class PaymentRecordPaymentMethodDetailsCard : StripeEntity
+ /// The transaction type that was passed for an off-session, Merchant-Initiated transaction,
+ /// one of recurring or unscheduled.
+ /// One of: recurring, or unscheduled.
+ ///
+ [JsonProperty("stored_credential_usage")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("stored_credential_usage")]
+#endif
+ public string StoredCredentialUsage { get; set; }
+
///
/// Populated if this transaction used 3D Secure authentication.
///
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallments.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallments.cs
new file mode 100644
index 0000000000..2cf78cae33
--- /dev/null
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallments.cs
@@ -0,0 +1,17 @@
+// 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 PaymentRecordPaymentMethodDetailsCardInstallments : StripeEntity
+ {
+ [JsonProperty("plan")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("plan")]
+#endif
+ public PaymentRecordPaymentMethodDetailsCardInstallmentsPlan Plan { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallmentsPlan.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallmentsPlan.cs
new file mode 100644
index 0000000000..a00c82eeba
--- /dev/null
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardInstallmentsPlan.cs
@@ -0,0 +1,41 @@
+// 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 PaymentRecordPaymentMethodDetailsCardInstallmentsPlan : StripeEntity
+ {
+ ///
+ /// For fixed_count installment plans, this is the number of installment payments
+ /// your customer will make to their credit card.
+ ///
+ [JsonProperty("count")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("count")]
+#endif
+ public long? Count { get; set; }
+
+ ///
+ /// For fixed_count installment plans, this is the interval between installment
+ /// payments your customer will make to their credit card. One of month.
+ ///
+ [JsonProperty("interval")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("interval")]
+#endif
+ public string Interval { get; set; }
+
+ ///
+ /// Type of installment plan, one of fixed_count, revolving, or bonus.
+ /// One of: bonus, fixed_count, or revolving.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardPresent.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardPresent.cs
index 4b8181c73c..497b00eafd 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardPresent.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsCardPresent.cs
@@ -161,9 +161,9 @@ public class PaymentRecordPaymentMethodDetailsCardPresent : StripeEntity
- /// Whether this PaymentIntent is
+ /// Whether this PaymentIntent is
/// eligible for incremental authorizations. Request support using request_incremental_authorization_support.
+ /// href="https://docs.stripe.com/api/payment_intents/create#create_payment_intent-payment_method_options-card_present-request_incremental_authorization_support">request_incremental_authorization_support.
///
[JsonProperty("incremental_authorization_supported")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs
index 419184c93d..2763f95ee7 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsIdeal.cs
@@ -14,14 +14,14 @@ public class PaymentRecordPaymentMethodDetailsIdeal : StripeEntity
/// The customer's bank. Can be one of abn_amro, asn_bank, bunq,
- /// buut, finom, handelsbanken, ing, knab,
+ /// buut, finom, handelsbanken, ing, knab, mollie,
/// moneyou, n26, nn, rabobank, regiobank,
/// revolut, sns_bank, triodos_bank, van_lanschot, or
/// yoursafe.
/// One of: abn_amro, asn_bank, bunq, buut, finom,
- /// handelsbanken, ing, knab, moneyou, n26, nn,
- /// rabobank, regiobank, revolut, sns_bank, triodos_bank,
- /// van_lanschot, or yoursafe.
+ /// handelsbanken, ing, knab, mollie, moneyou,
+ /// n26, nn, rabobank, regiobank, revolut,
+ /// sns_bank, triodos_bank, van_lanschot, or yoursafe.
///
[JsonProperty("bank")]
#if NET6_0_OR_GREATER
@@ -33,8 +33,9 @@ public class PaymentRecordPaymentMethodDetailsIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A,
/// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A,
- /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U,
- /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U.
+ /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1,
+ /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or
+ /// TRIONL2U.
///
[JsonProperty("bic")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsNzBankAccount.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsNzBankAccount.cs
index 0009d3525f..0fe8f4a3d7 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsNzBankAccount.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsNzBankAccount.cs
@@ -45,6 +45,15 @@ public class PaymentRecordPaymentMethodDetailsNzBankAccount : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Last four digits of the bank account number.
///
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsPaynow.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsPaynow.cs
index 5ca7d56511..0a8f14a9e3 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsPaynow.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsPaynow.cs
@@ -9,7 +9,7 @@ namespace Stripe
public class PaymentRecordPaymentMethodDetailsPaynow : StripeEntity
{
///
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -19,7 +19,7 @@ public class PaymentRecordPaymentMethodDetailsPaynow : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsSepaDebit.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsSepaDebit.cs
index 7d840918de..329c9125cc 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsSepaDebit.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsSepaDebit.cs
@@ -35,6 +35,15 @@ public class PaymentRecordPaymentMethodDetailsSepaDebit : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
@@ -56,9 +65,9 @@ public class PaymentRecordPaymentMethodDetailsSepaDebit : StripeEntity
/// Find the ID of the mandate used for this payment under the payment_method_details.sepa_debit.mandate
+ /// href="https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-sepa_debit-mandate">payment_method_details.sepa_debit.mandate
/// property on the Charge. Use this mandate ID to retrieve the Mandate.
+ /// href="https://docs.stripe.com/api/mandates/retrieve">retrieve the Mandate.
///
[JsonProperty("mandate")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs
index a26ba93bf8..d0663db378 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsUsBankAccount.cs
@@ -41,6 +41,15 @@ public class PaymentRecordPaymentMethodDetailsUsBankAccount : StripeEntity
+ /// Estimated date to debit the customer's bank account. A date string in YYYY-MM-DD format.
+ ///
+ [JsonProperty("expected_debit_date")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expected_debit_date")]
+#endif
+ public string ExpectedDebitDate { get; set; }
+
///
/// Uniquely identifies this particular bank account. You can use this attribute to check
/// whether two bank accounts are the same.
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsWechatPay.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsWechatPay.cs
index d8bb308e16..1a34ef9a6c 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsWechatPay.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordPaymentMethodDetailsWechatPay.cs
@@ -19,7 +19,7 @@ public class PaymentRecordPaymentMethodDetailsWechatPay : StripeEntity
- /// ID of the location that
+ /// ID of the location that
/// this transaction's reader is assigned to.
///
[JsonProperty("location")]
@@ -29,7 +29,7 @@ public class PaymentRecordPaymentMethodDetailsWechatPay : StripeEntity
- /// ID of the reader this
+ /// ID of the reader this
/// transaction was made on.
///
[JsonProperty("reader")]
diff --git a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordShippingDetailsAddress.cs b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordShippingDetailsAddress.cs
index 2dcf3d8d89..1736e6221e 100644
--- a/src/Stripe.net/Entities/PaymentRecords/PaymentRecordShippingDetailsAddress.cs
+++ b/src/Stripe.net/Entities/PaymentRecords/PaymentRecordShippingDetailsAddress.cs
@@ -55,7 +55,8 @@ public class PaymentRecordShippingDetailsAddress : StripeEntity
- /// State, county, province, or region.
+ /// State, county, province, or region (ISO 3166-2).
///
[JsonProperty("state")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Payouts/Payout.cs b/src/Stripe.net/Entities/Payouts/Payout.cs
index a8c59bec2f..4001becae2 100644
--- a/src/Stripe.net/Entities/Payouts/Payout.cs
+++ b/src/Stripe.net/Entities/Payouts/Payout.cs
@@ -17,7 +17,7 @@ namespace Stripe
/// on varying
/// schedules, depending on your country and industry.
///
- /// Related guide: Receiving payouts.
+ /// Related guide: Receiving payouts.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
@@ -57,7 +57,7 @@ public class Payout : StripeEntity, IHasId, IHasMetadata, IHasObject, IB
///
/// (ID of the ApplicationFee)
/// The application fee (if any) for the payout. See the
+ /// href="https://docs.stripe.com/connect/instant-payouts#monetization-and-fees">See the
/// Connect documentation for details.
///
[JsonIgnore]
@@ -73,7 +73,7 @@ public string ApplicationFeeId
///
/// (Expanded)
/// The application fee (if any) for the payout. See the
+ /// href="https://docs.stripe.com/connect/instant-payouts#monetization-and-fees">See the
/// Connect documentation for details.
///
/// For more information, see the expand documentation.
@@ -99,7 +99,7 @@ public ApplicationFee ApplicationFee
///
/// The amount of the application fee (if any) requested for the payout. See the
+ /// href="https://docs.stripe.com/connect/instant-payouts#monetization-and-fees">See the
/// Connect documentation for details.
///
[JsonProperty("application_fee_amount")]
@@ -122,7 +122,7 @@ public ApplicationFee ApplicationFee
///
/// Returns true if the payout is created by an automated payout schedule and
+ /// href="https://docs.stripe.com/payouts#payout-schedule">automated payout schedule and
/// false if it's requested
/// manually.
///
@@ -294,7 +294,7 @@ public BalanceTransaction FailureBalanceTransaction
///
/// Error code that provides a reason for a payout failure, if available. View our list of failure codes.
+ /// href="https://docs.stripe.com/api#payout_failures">list of failure codes.
///
[JsonProperty("failure_code")]
#if NET6_0_OR_GREATER
@@ -322,7 +322,7 @@ public BalanceTransaction FailureBalanceTransaction
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -397,7 +397,7 @@ public Payout OriginalPayout
///
/// If completed, you can use the Balance
+ /// href="https://docs.stripe.com/api/balance_transactions/list#balance_transaction_list-payout">Balance
/// Transactions API to list all balance transactions that are paid out in this payout.
/// One of: completed, in_progress, or not_applicable.
///
diff --git a/src/Stripe.net/Entities/Persons/Person.cs b/src/Stripe.net/Entities/Persons/Person.cs
index e459e613dd..6dee3eaf54 100644
--- a/src/Stripe.net/Entities/Persons/Person.cs
+++ b/src/Stripe.net/Entities/Persons/Person.cs
@@ -170,7 +170,7 @@ public class Person : StripeEntity, IHasId, IHasMetadata, IHasObject
///
/// Information about the upcoming new
+ /// href="https://docs.stripe.com/connect/custom-accounts/future-requirements">upcoming new
/// requirements for this person, including what information needs to be collected, and
/// by when.
///
@@ -254,7 +254,7 @@ public class Person : StripeEntity, IHasId, IHasMetadata, IHasObject
public string MaidenName { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs b/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs
index 37135d49af..5f557338de 100644
--- a/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs
+++ b/src/Stripe.net/Entities/Persons/PersonFutureRequirements.cs
@@ -10,8 +10,11 @@ namespace Stripe
public class PersonFutureRequirements : StripeEntity
{
///
- /// 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 original_fields_due, and any
+ /// of these alternatives can serve as a pathway for attempting to resolve the fields again.
+ /// Re-providing original_fields_due also serves as a pathway for attempting to
+ /// resolve the fields again.
///
[JsonProperty("alternatives")]
#if NET6_0_OR_GREATER
@@ -20,11 +23,11 @@ public class PersonFutureRequirements : StripeEntity
public List Alternatives { get; set; }
///
- /// Fields that need to be collected to keep the person's account enabled. If not collected
- /// by the account's future_requirements[current_deadline], these fields will
- /// transition to the main requirements hash, and may immediately become
- /// past_due, but the account may also be given a grace period depending on the
- /// account's enablement state prior to transition.
+ /// Fields that need to be resolved to keep the person's account enabled. If not resolved by
+ /// the account's future_requirements[current_deadline], these fields will transition
+ /// to the main requirements hash, and may immediately become past_due, but
+ /// the account may also be given a grace period depending on the account's enablement state
+ /// prior to transition.
///
[JsonProperty("currently_due")]
#if NET6_0_OR_GREATER
@@ -33,8 +36,8 @@ public class PersonFutureRequirements : StripeEntity
public List CurrentlyDue { get; set; }
///
- /// Fields that are currently_due and need to be collected again because validation
- /// or verification failed.
+ /// Details about validation and verification failures for due requirements that must
+ /// be resolved.
///
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
@@ -54,10 +57,9 @@ public class PersonFutureRequirements : StripeEntity
public List EventuallyDue { get; set; }
///
- /// Fields that weren't collected by the account's requirements.current_deadline.
- /// These fields need to be collected to enable the person's account. New fields will never
- /// appear here; future_requirements.past_due will always be a subset of
- /// requirements.past_due.
+ /// Fields that haven't been resolved by the account's requirements.current_deadline.
+ /// These fields need to be resolved to enable the person's account.
+ /// future_requirements.past_due is a subset of requirements.past_due.
///
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
@@ -66,12 +68,11 @@ public class PersonFutureRequirements : StripeEntity
public List PastDue { get; set; }
///
- /// 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 eventually_due or currently_due. Fields might
- /// appear in eventually_due or currently_due and in
- /// pending_verification 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 eventually_due,
+ /// currently_due, past_due or alternatives. Fields might appear in
+ /// eventually_due, currently_due, past_due or alternatives and
+ /// in pending_verification if one verification fails but another is still pending.
///
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Persons/PersonFutureRequirementsAlternative.cs b/src/Stripe.net/Entities/Persons/PersonFutureRequirementsAlternative.cs
index 8db365a11c..bb40f1ac60 100644
--- a/src/Stripe.net/Entities/Persons/PersonFutureRequirementsAlternative.cs
+++ b/src/Stripe.net/Entities/Persons/PersonFutureRequirementsAlternative.cs
@@ -10,7 +10,7 @@ namespace Stripe
public class PersonFutureRequirementsAlternative : StripeEntity
{
///
- /// Fields that can be provided to satisfy all fields in original_fields_due.
+ /// Fields that can be provided to resolve all fields in original_fields_due.
///
[JsonProperty("alternative_fields_due")]
#if NET6_0_OR_GREATER
@@ -19,7 +19,7 @@ public class PersonFutureRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; }
///
- /// 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
/// alternative_fields_due.
///
[JsonProperty("original_fields_due")]
diff --git a/src/Stripe.net/Entities/Persons/PersonRequirements.cs b/src/Stripe.net/Entities/Persons/PersonRequirements.cs
index 0349952fd9..d6f408f40e 100644
--- a/src/Stripe.net/Entities/Persons/PersonRequirements.cs
+++ b/src/Stripe.net/Entities/Persons/PersonRequirements.cs
@@ -10,8 +10,11 @@ namespace Stripe
public class PersonRequirements : StripeEntity
{
///
- /// 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 original_fields_due, and any
+ /// of these alternatives can serve as a pathway for attempting to resolve the fields again.
+ /// Re-providing original_fields_due also serves as a pathway for attempting to
+ /// resolve the fields again.
///
[JsonProperty("alternatives")]
#if NET6_0_OR_GREATER
@@ -20,8 +23,8 @@ public class PersonRequirements : StripeEntity
public List Alternatives { get; set; }
///
- /// Fields that need to be collected to keep the person's account enabled. If not collected
- /// by the account's current_deadline, these fields appear in past_due as
+ /// Fields that need to be resolved to keep the person's account enabled. If not resolved by
+ /// the account's current_deadline, these fields will appear in past_due as
/// well, and the account is disabled.
///
[JsonProperty("currently_due")]
@@ -31,8 +34,8 @@ public class PersonRequirements : StripeEntity
public List CurrentlyDue { get; set; }
///
- /// Fields that are currently_due and need to be collected again because validation
- /// or verification failed.
+ /// Details about validation and verification failures for due requirements that must
+ /// be resolved.
///
[JsonProperty("errors")]
#if NET6_0_OR_GREATER
@@ -52,8 +55,8 @@ public class PersonRequirements : StripeEntity
public List EventuallyDue { get; set; }
///
- /// Fields that weren't collected by the account's current_deadline. These fields
- /// need to be collected to enable the person's account.
+ /// Fields that haven't been resolved by current_deadline. These fields need to be
+ /// resolved to enable the person's account.
///
[JsonProperty("past_due")]
#if NET6_0_OR_GREATER
@@ -62,12 +65,11 @@ public class PersonRequirements : StripeEntity
public List PastDue { get; set; }
///
- /// 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 eventually_due, currently_due, or
- /// past_due. Fields might appear in eventually_due, currently_due, or
- /// past_due and in pending_verification 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 eventually_due,
+ /// currently_due, past_due or alternatives. Fields might appear in
+ /// eventually_due, currently_due, past_due or alternatives and
+ /// in pending_verification if one verification fails but another is still pending.
///
[JsonProperty("pending_verification")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Persons/PersonRequirementsAlternative.cs b/src/Stripe.net/Entities/Persons/PersonRequirementsAlternative.cs
index ab7362517f..17e6325a00 100644
--- a/src/Stripe.net/Entities/Persons/PersonRequirementsAlternative.cs
+++ b/src/Stripe.net/Entities/Persons/PersonRequirementsAlternative.cs
@@ -10,7 +10,7 @@ namespace Stripe
public class PersonRequirementsAlternative : StripeEntity
{
///
- /// Fields that can be provided to satisfy all fields in original_fields_due.
+ /// Fields that can be provided to resolve all fields in original_fields_due.
///
[JsonProperty("alternative_fields_due")]
#if NET6_0_OR_GREATER
@@ -19,7 +19,7 @@ public class PersonRequirementsAlternative : StripeEntity AlternativeFieldsDue { get; set; }
///
- /// 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
/// alternative_fields_due.
///
[JsonProperty("original_fields_due")]
diff --git a/src/Stripe.net/Entities/Persons/PersonVerification.cs b/src/Stripe.net/Entities/Persons/PersonVerification.cs
index a894c72bff..fa356a6f75 100644
--- a/src/Stripe.net/Entities/Persons/PersonVerification.cs
+++ b/src/Stripe.net/Entities/Persons/PersonVerification.cs
@@ -50,7 +50,7 @@ public class PersonVerification : StripeEntity
///
/// The state of verification for the person. Possible values are unverified,
/// pending, or verified. Please refer guide to handle
+ /// href="https://docs.stripe.com/connect/handling-api-verification">guide to handle
/// verification updates.
///
[JsonProperty("status")]
diff --git a/src/Stripe.net/Entities/Persons/PersonVerificationAdditionalDocument.cs b/src/Stripe.net/Entities/Persons/PersonVerificationAdditionalDocument.cs
index bfb507d080..b7685eaee5 100644
--- a/src/Stripe.net/Entities/Persons/PersonVerificationAdditionalDocument.cs
+++ b/src/Stripe.net/Entities/Persons/PersonVerificationAdditionalDocument.cs
@@ -16,7 +16,7 @@ public class PersonVerificationAdditionalDocument : StripeEntity
/// (ID of the File)
- /// The back of an ID returned by a file
+ /// The back of an ID returned by a file
/// upload with a purpose value of identity_document.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string BackId
///
/// (Expanded)
- /// The back of an ID returned by a file
+ /// The back of an ID returned by a file
/// upload with a purpose value of identity_document.
///
/// For more information, see the expand documentation.
@@ -87,7 +87,7 @@ public File Back
///
/// (ID of the File)
- /// The front of an ID returned by a file
+ /// The front of an ID returned by a file
/// upload with a purpose value of identity_document.
///
[JsonIgnore]
@@ -102,7 +102,7 @@ public string FrontId
///
/// (Expanded)
- /// The front of an ID returned by a file
+ /// The front of an ID returned by a file
/// upload with a purpose value of identity_document.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/Persons/PersonVerificationDocument.cs b/src/Stripe.net/Entities/Persons/PersonVerificationDocument.cs
index 2ec40cd854..2f85010d84 100644
--- a/src/Stripe.net/Entities/Persons/PersonVerificationDocument.cs
+++ b/src/Stripe.net/Entities/Persons/PersonVerificationDocument.cs
@@ -16,7 +16,7 @@ public class PersonVerificationDocument : StripeEntity
/// (ID of the File)
- /// The back of an ID returned by a file
+ /// The back of an ID returned by a file
/// upload with a purpose value of identity_document.
///
[JsonIgnore]
@@ -31,7 +31,7 @@ public string BackId
///
/// (Expanded)
- /// The back of an ID returned by a file
+ /// The back of an ID returned by a file
/// upload with a purpose value of identity_document.
///
/// For more information, see the expand documentation.
@@ -87,7 +87,7 @@ public File Back
///
/// (ID of the File)
- /// The front of an ID returned by a file
+ /// The front of an ID returned by a file
/// upload with a purpose value of identity_document.
///
[JsonIgnore]
@@ -102,7 +102,7 @@ public string FrontId
///
/// (Expanded)
- /// The front of an ID returned by a file
+ /// The front of an ID returned by a file
/// upload with a purpose value of identity_document.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/Plans/Plan.cs b/src/Stripe.net/Entities/Plans/Plan.cs
index b7c0ca4237..1a1724c433 100644
--- a/src/Stripe.net/Entities/Plans/Plan.cs
+++ b/src/Stripe.net/Entities/Plans/Plan.cs
@@ -11,11 +11,11 @@ namespace Stripe
///
/// You can now model subscriptions more flexibly using the Prices API. It replaces the Plans API and
- /// is backwards compatible to simplify your migration.
+ /// href="https://api.stripe.com#prices">Prices API. It replaces the Plans API and is
+ /// backwards compatible to simplify your migration.
///
/// Plans define the base price, currency, and billing cycle for recurring purchases of
- /// products. Products help you track
+ /// products. Products help you track
/// inventory or provisioning, and plans help you track pricing. Different physical goods or
/// levels of service should be represented by products, and pricing options should be
/// represented by plans. This approach lets you change prices without having to change your
@@ -25,9 +25,9 @@ namespace Stripe
/// $100/year, €9/month, and €90/year.
///
/// Related guides: Set up a
+ /// href="https://docs.stripe.com/billing/subscriptions/set-up-subscription">Set up a
/// subscription and more about products and prices.
+ /// href="https://docs.stripe.com/products-prices/overview">products and prices.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
@@ -161,7 +161,7 @@ public class Plan : StripeEntity, IHasId, IHasMetadata, IHasObject
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -264,7 +264,7 @@ public Product Product
///
/// Default number of trial days when subscribing a customer to this plan using trial_from_plan=true.
+ /// href="https://docs.stripe.com/api#create_subscription-trial_from_plan">trial_from_plan=true.
///
[JsonProperty("trial_period_days")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Prices/Price.cs b/src/Stripe.net/Entities/Prices/Price.cs
index 99647da913..e3157f4369 100644
--- a/src/Stripe.net/Entities/Prices/Price.cs
+++ b/src/Stripe.net/Entities/Prices/Price.cs
@@ -12,7 +12,7 @@ namespace Stripe
///
/// Prices define the unit cost, currency, and (optional) billing cycle for both recurring
/// and one-time purchases of products. Products help you track inventory or
+ /// href="https://api.stripe.com#products">Products help you track inventory or
/// provisioning, and prices help you track payment terms. Different physical goods or
/// levels of service should be represented by products, and pricing options should be
/// represented by prices. This approach lets you change prices without having to change
@@ -22,10 +22,10 @@ namespace Stripe
/// $100/year, and €9 once.
///
/// Related guides: Set up a
- /// subscription, create an
+ /// href="https://docs.stripe.com/billing/subscriptions/set-up-subscription">Set up a
+ /// subscription, create an
/// invoice, and more about products and prices.
+ /// href="https://docs.stripe.com/products-prices/overview">products and prices.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
@@ -149,7 +149,7 @@ public class Price : StripeEntity, IHasId, IHasMetadata, IHasObject
public string LookupKey { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -229,7 +229,7 @@ public Product Product
///
/// Only required if a default
+ /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default
/// tax behavior was not provided in the Stripe Tax settings. Specifies whether the
/// price is considered inclusive of taxes or exclusive of taxes. One of inclusive,
/// exclusive, or unspecified. Once specified as either inclusive or
diff --git a/src/Stripe.net/Entities/Prices/PriceCurrencyOptions.cs b/src/Stripe.net/Entities/Prices/PriceCurrencyOptions.cs
index ffc5fe4635..a0549a6c55 100644
--- a/src/Stripe.net/Entities/Prices/PriceCurrencyOptions.cs
+++ b/src/Stripe.net/Entities/Prices/PriceCurrencyOptions.cs
@@ -21,7 +21,7 @@ public class PriceCurrencyOptions : StripeEntity
///
/// Only required if a default
+ /// href="https://docs.stripe.com/tax/products-prices-tax-categories-tax-behavior#setting-a-default-tax-behavior-(recommended)">default
/// tax behavior was not provided in the Stripe Tax settings. Specifies whether the
/// price is considered inclusive of taxes or exclusive of taxes. One of inclusive,
/// exclusive, or unspecified. Once specified as either inclusive or
diff --git a/src/Stripe.net/Entities/Prices/PriceRecurring.cs b/src/Stripe.net/Entities/Prices/PriceRecurring.cs
index f9e8566bb0..a42d2415dd 100644
--- a/src/Stripe.net/Entities/Prices/PriceRecurring.cs
+++ b/src/Stripe.net/Entities/Prices/PriceRecurring.cs
@@ -41,7 +41,7 @@ public class PriceRecurring : StripeEntity
///
/// Default number of trial days when subscribing a customer to this price using trial_from_plan=true.
+ /// href="https://docs.stripe.com/api#create_subscription-trial_from_plan">trial_from_plan=true.
///
[JsonProperty("trial_period_days")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Products/Product.cs b/src/Stripe.net/Entities/Products/Product.cs
index 44249cdc64..c18f8a10f4 100644
--- a/src/Stripe.net/Entities/Products/Product.cs
+++ b/src/Stripe.net/Entities/Products/Product.cs
@@ -13,16 +13,16 @@ namespace Stripe
/// Products describe the specific goods or services you offer to your customers. For
/// example, you might offer a Standard and Premium version of your goods or service; each
/// version would be a separate Product. They can be used in conjunction with Prices to configure pricing in Payment
- /// Links, Checkout, and Subscriptions.
+ /// href="https://api.stripe.com#prices">Prices to configure pricing in Payment Links,
+ /// Checkout, and Subscriptions.
///
/// Related guides: Set up a
- /// subscription, share a Payment
+ /// href="https://docs.stripe.com/billing/subscriptions/set-up-subscription">Set up a
+ /// subscription, share a Payment
/// Link, accept
+ /// href="https://docs.stripe.com/payments/accept-a-payment#create-product-prices-upfront">accept
/// payments with Checkout, and more about Products and Prices.
+ /// href="https://docs.stripe.com/products-prices/overview">Products and Prices.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
@@ -71,7 +71,7 @@ public class Product : StripeEntity, IHasId, IHasMetadata, IHasObject
///
/// (ID of the Price)
- /// The ID of the Price object that is the
+ /// The ID of the Price object that is the
/// default price for this product.
///
[JsonIgnore]
@@ -86,7 +86,7 @@ public string DefaultPriceId
///
/// (Expanded)
- /// The ID of the Price object that is the
+ /// The ID of the Price object that is the
/// default price for this product.
///
/// For more information, see the expand documentation.
@@ -153,7 +153,7 @@ public Price DefaultPrice
///
/// A list of up to 15 marketing features for this product. These are displayed in pricing tables.
+ /// href="https://docs.stripe.com/payments/checkout/pricing-table">pricing tables.
///
[JsonProperty("marketing_features")]
#if NET6_0_OR_GREATER
@@ -162,7 +162,7 @@ public Price DefaultPrice
public List MarketingFeatures { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -214,7 +214,7 @@ public Price DefaultPrice
///
/// (ID of the TaxCode)
- /// A tax code ID.
+ /// A tax code ID.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -228,7 +228,7 @@ public string TaxCodeId
///
/// (Expanded)
- /// A tax code ID.
+ /// A tax code ID.
///
/// For more information, see the expand documentation.
///
diff --git a/src/Stripe.net/Entities/PromotionCodes/PromotionCode.cs b/src/Stripe.net/Entities/PromotionCodes/PromotionCode.cs
index eebfbae77f..f9258babdf 100644
--- a/src/Stripe.net/Entities/PromotionCodes/PromotionCode.cs
+++ b/src/Stripe.net/Entities/PromotionCodes/PromotionCode.cs
@@ -14,7 +14,7 @@ namespace Stripe
/// can create multiple codes for a single promotion.
///
/// If you enable promotion codes in your customer portal
+ /// href="https://docs.stripe.com/customer-management/configure-portal">customer portal
/// configuration, then customers can redeem a code themselves when updating a
/// subscription in the portal. Customers can also view the currently active promotion codes
/// and coupons on each of their subscriptions in the portal.
@@ -78,7 +78,7 @@ public class PromotionCode : StripeEntity, IHasId, IHasMetadata,
///
/// (ID of the Customer)
- /// The customer that this promotion code can be used by.
+ /// The customer who can use this promotion code.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -92,7 +92,7 @@ public string CustomerId
///
/// (Expanded)
- /// The customer that this promotion code can be used by.
+ /// The customer who can use this promotion code.
///
/// For more information, see the expand documentation.
///
@@ -116,7 +116,7 @@ public Customer Customer
#endregion
///
- /// The account that this promotion code can be used by.
+ /// The account representing the customer who can use this promotion code.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
@@ -155,7 +155,7 @@ public Customer Customer
public long? MaxRedemptions { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/QuoteLines/QuoteLineActionAddItem.cs b/src/Stripe.net/Entities/QuoteLines/QuoteLineActionAddItem.cs
index 107bbcaac6..4399dba68e 100644
--- a/src/Stripe.net/Entities/QuoteLines/QuoteLineActionAddItem.cs
+++ b/src/Stripe.net/Entities/QuoteLines/QuoteLineActionAddItem.cs
@@ -24,7 +24,7 @@ public class QuoteLineActionAddItem : StripeEntity, IHas
public List Discounts { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an item. Metadata on this item will update the underlying subscription item's
/// metadata when the phase is entered.
///
diff --git a/src/Stripe.net/Entities/QuoteLines/QuoteLineActionSetItem.cs b/src/Stripe.net/Entities/QuoteLines/QuoteLineActionSetItem.cs
index 49ae84c8de..92eca57e1b 100644
--- a/src/Stripe.net/Entities/QuoteLines/QuoteLineActionSetItem.cs
+++ b/src/Stripe.net/Entities/QuoteLines/QuoteLineActionSetItem.cs
@@ -24,7 +24,7 @@ public class QuoteLineActionSetItem : StripeEntity, IHas
public List Discounts { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an item. Metadata on this item will update the underlying subscription item's
/// metadata when the phase is entered.
///
diff --git a/src/Stripe.net/Entities/QuoteLines/QuoteLineSetPauseCollection.cs b/src/Stripe.net/Entities/QuoteLines/QuoteLineSetPauseCollection.cs
index 12945f2a55..adac9b0a3e 100644
--- a/src/Stripe.net/Entities/QuoteLines/QuoteLineSetPauseCollection.cs
+++ b/src/Stripe.net/Entities/QuoteLines/QuoteLineSetPauseCollection.cs
@@ -11,7 +11,7 @@ public class QuoteLineSetPauseCollection : StripeEntity
/// If specified, payment collection for this subscription will be paused. Note that the
/// subscription status will be unchanged and will not be updated to paused. Learn
- /// more about pausing
+ /// more about pausing
/// collection.
///
[JsonProperty("set")]
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoice.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoice.cs
index c1ae29deb8..b8c588f886 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoice.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoice.cs
@@ -14,14 +14,14 @@ namespace Stripe
/// Invoices are statements of amounts owed by a customer, and are either generated one-off,
/// or generated periodically from a subscription.
///
- /// They contain invoice items, and
+ /// They contain invoice items, and
/// proration adjustments that may be caused by subscription upgrades/downgrades (if
/// necessary).
///
/// If your invoice is configured to be billed through automatic charges, Stripe
/// automatically finalizes your invoice and attempts payment. Note that finalizing the
/// invoice, when
+ /// href="https://docs.stripe.com/invoicing/integration/automatic-advancement-collection">when
/// automatic, does not happen immediately as the invoice is created. Stripe waits until
/// one hour after the last webhook was successfully sent (or the last webhook timed out
/// after failing). If you (and the platforms you may have connected to) have no webhooks
@@ -40,9 +40,9 @@ namespace Stripe
/// the amount due to the customer's credit balance which is applied to the next invoice.
///
/// More details on the customer's credit balance are here.
+ /// href="https://docs.stripe.com/billing/customer/balance">here.
///
- /// Related guide: Send invoices
+ /// Related guide: Send invoices
/// to customers.
///
#if NET6_0_OR_GREATER
@@ -364,7 +364,7 @@ public Application Application
public List CustomFields { get; set; }
///
- /// The ID of the account who will be billed.
+ /// The ID of the account representing the customer to bill.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
@@ -688,7 +688,7 @@ public List Discounts
///
/// Details of the invoice that was cloned. See the revision documentation
+ /// href="https://docs.stripe.com/invoicing/invoice-revisions">revision documentation
/// for more details.
///
[JsonProperty("from_invoice")]
@@ -777,7 +777,7 @@ public Invoice LatestRevision
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -815,7 +815,7 @@ public Invoice LatestRevision
/// (ID of the Account)
/// The account (if any) for which the funds of the invoice payment are intended. If set,
/// the invoice will be presented with the branding and support information of the specified
- /// account. See the Invoices
+ /// account. See the Invoices
/// with Connect documentation for details.
///
[JsonIgnore]
@@ -832,7 +832,7 @@ public string OnBehalfOfId
/// (Expanded)
/// The account (if any) for which the funds of the invoice payment are intended. If set,
/// the invoice will be presented with the branding and support information of the specified
- /// account. See the Invoices
+ /// account. See the Invoices
/// with Connect documentation for details.
///
/// For more information, see the expand documentation.
@@ -988,7 +988,7 @@ public Account OnBehalfOf
///
/// The status of the invoice, one of draft, open, paid,
/// uncollectible, or void. Learn
+ /// href="https://docs.stripe.com/billing/invoices/workflow#workflow-overview">Learn
/// more.
/// One of: draft, open, paid, uncollectible, or void.
///
@@ -1164,7 +1164,7 @@ public TestHelpers.TestClock TestClock
///
/// Invoices are automatically paid or sent 1 hour after webhooks are delivered, or until
/// all webhook delivery attempts have been exhausted. This
+ /// href="https://docs.stripe.com/billing/webhooks#understand">been exhausted. This
/// field tracks the time when webhooks for this invoice were successfully delivered. If the
/// invoice had no webhooks to deliver, this will be set while the invoice is being created.
///
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceAutomaticTax.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceAutomaticTax.cs
index 4a2c82439b..70c341603a 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceAutomaticTax.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceAutomaticTax.cs
@@ -22,7 +22,7 @@ public class QuotePreviewInvoiceAutomaticTax : StripeEntity
/// Whether Stripe automatically computes tax on this invoice. Note that incompatible
/// invoice items (invoice items with manually specified tax rates, negative amounts, or
+ /// href="https://docs.stripe.com/api/tax_rates">tax rates, negative amounts, or
/// tax_behavior=unspecified) cannot be added to automatic tax invoices.
///
[JsonProperty("enabled")]
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceParentSubscriptionDetails.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceParentSubscriptionDetails.cs
index 6990903291..3b78d9d33b 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceParentSubscriptionDetails.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceParentSubscriptionDetails.cs
@@ -15,7 +15,7 @@ namespace Stripe
public class QuotePreviewInvoiceParentSubscriptionDetails : StripeEntity, IHasMetadata
{
///
- /// Set of key-value pairs defined as
+ /// Set of key-value pairs defined as
/// subscription metadata when an invoice is created. Becomes an immutable snapshot of the
/// subscription metadata at the time of invoice finalization. Note: This attribute is
/// populated only for invoices created on or after June 29, 2023..
@@ -29,7 +29,7 @@ public class QuotePreviewInvoiceParentSubscriptionDetails : StripeEntity
/// If specified, payment collection for this subscription will be paused. Note that the
/// subscription status will be unchanged and will not be updated to paused. Learn
- /// more about pausing
+ /// more about pausing
/// collection.
///
[JsonProperty("pause_collection")]
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettings.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettings.cs
index c2eefa4c3d..ebb116829d 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettings.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettings.cs
@@ -43,7 +43,7 @@ public class QuotePreviewInvoicePaymentSettings : StripeEntityid_bank_transfer, ideal, jp_credit_transfer, kakao_pay,
/// klarna, konbini, kr_card, link, multibanco,
/// naver_pay, nz_bank_account, p24, payco, paynow,
- /// paypal, pix, promptpay, revolut_pay,
+ /// paypal, payto, pix, promptpay, revolut_pay,
/// sepa_credit_transfer, sepa_debit, sofort, stripe_balance,
/// swish, upi, us_bank_account, or wechat_pay.
///
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptions.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptions.cs
index a1ee005882..ee2978789b 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptions.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptions.cs
@@ -68,6 +68,16 @@ public class QuotePreviewInvoicePaymentSettingsPaymentMethodOptions : StripeEnti
#endif
public QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsKonbini Konbini { get; set; }
+ ///
+ /// If paying by payto, this sub-hash contains details about the PayTo payment method
+ /// options to pass to the invoice’s PaymentIntent.
+ ///
+ [JsonProperty("payto")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("payto")]
+#endif
+ public QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto Payto { get; set; }
+
///
/// If paying by pix, this sub-hash contains details about the Pix payment method
/// options to pass to the invoice’s PaymentIntent.
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard.cs
index 8a5a29f328..4b7a070a1a 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard.cs
@@ -17,10 +17,10 @@ public class QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsCard : Stripe
///
/// We strongly recommend that you rely on our SCA Engine to automatically prompt your
/// customers for authentication based on risk level and other requirements.
+ /// href="https://docs.stripe.com/strong-customer-authentication">other requirements.
/// However, if you wish to request 3D Secure based on logic from your own fraud engine,
/// provide this option. Read our guide on manually
+ /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually
/// requesting 3D Secure for more information on how this configuration interacts with
/// Radar and our SCA Engine.
/// One of: any, automatic, or challenge.
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto.cs
new file mode 100644
index 0000000000..fa2e99de0a
--- /dev/null
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto.cs
@@ -0,0 +1,17 @@
+// 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 QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPayto : StripeEntity
+ {
+ [JsonProperty("mandate_options")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("mandate_options")]
+#endif
+ public QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions MandateOptions { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs
new file mode 100644
index 0000000000..2d484bc27c
--- /dev/null
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions.cs
@@ -0,0 +1,44 @@
+// 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 QuotePreviewInvoicePaymentSettingsPaymentMethodOptionsPaytoMandateOptions : StripeEntity
+ {
+ ///
+ /// The maximum amount that can be collected in a single invoice. If you don't specify a
+ /// maximum, then there is no limit.
+ ///
+ [JsonProperty("amount")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("amount")]
+#endif
+ public long? Amount { get; set; }
+
+ ///
+ /// Only maximum is supported.
+ /// One of: fixed, or maximum.
+ ///
+ [JsonProperty("amount_type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("amount_type")]
+#endif
+ public string AmountType { get; set; }
+
+ ///
+ /// The purpose for which payments are made. Has a default value based on your merchant
+ /// category code.
+ /// One of: dependant_support, government, loan, mortgage,
+ /// other, pension, personal, retail, salary, tax,
+ /// or utility.
+ ///
+ [JsonProperty("purpose")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("purpose")]
+#endif
+ public string Purpose { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceTotalTaxTaxRateDetails.cs b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceTotalTaxTaxRateDetails.cs
index 1df1da07dc..f0c86e96ca 100644
--- a/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceTotalTaxTaxRateDetails.cs
+++ b/src/Stripe.net/Entities/QuotePreviewInvoices/QuotePreviewInvoiceTotalTaxTaxRateDetails.cs
@@ -8,6 +8,9 @@ namespace Stripe
public class QuotePreviewInvoiceTotalTaxTaxRateDetails : StripeEntity
{
+ ///
+ /// ID of the tax rate.
+ ///
[JsonProperty("tax_rate")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("tax_rate")]
diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs
index a053ce67c8..b67d95989d 100644
--- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs
+++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedule.cs
@@ -237,7 +237,7 @@ public Customer Customer
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -290,7 +290,7 @@ public Customer Customer
/// The present status of the subscription schedule. Possible values are not_started,
/// active, completed, released, and canceled. You can read more
/// about the different states in our behavior
+ /// href="https://docs.stripe.com/billing/subscriptions/subscription-schedules">behavior
/// guide.
/// One of: active, canceled, completed, not_started, or
/// released.
diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionScheduleDefaultSettings.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionScheduleDefaultSettings.cs
index a86020187e..6cb46038aa 100644
--- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionScheduleDefaultSettings.cs
+++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionScheduleDefaultSettings.cs
@@ -34,7 +34,7 @@ public class QuotePreviewSubscriptionScheduleDefaultSettings : StripeEntityautomatic then the billing cycle anchor is automatically modified
/// as needed when entering the phase. For more information, see the billing cycle documentation.
+ /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation.
/// One of: automatic, or phase_start.
///
[JsonProperty("billing_cycle_anchor")]
diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhase.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhase.cs
index 2f063f9546..78d25869e1 100644
--- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhase.cs
+++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhase.cs
@@ -46,7 +46,7 @@ public class QuotePreviewSubscriptionSchedulePhase : StripeEntityautomatic then the billing cycle anchor is automatically modified
/// as needed when entering the phase. For more information, see the billing cycle documentation.
+ /// href="https://docs.stripe.com/billing/subscriptions/billing-cycle">documentation.
/// One of: automatic, or phase_start.
///
[JsonProperty("billing_cycle_anchor")]
@@ -197,7 +197,7 @@ public PaymentMethod DefaultPaymentMethod
public List Items { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to a phase. Metadata on a schedule's phase will update the underlying
/// subscription's metadata when the phase is entered. Updating the underlying
/// subscription's metadata directly will not affect the current phase's
@@ -255,7 +255,7 @@ public Account OnBehalfOf
///
/// If specified, payment collection for this subscription will be paused. Note that the
/// subscription status will be unchanged and will not be updated to paused. Learn
- /// more about pausing
+ /// more about pausing
/// collection.
///
[JsonProperty("pause_collection")]
diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem.cs
index 3f42400596..c5a9b0176f 100644
--- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem.cs
+++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem.cs
@@ -23,7 +23,7 @@ public class QuotePreviewSubscriptionSchedulePhaseAddInvoiceItem : StripeEntity<
public List Discounts { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseItem.cs b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseItem.cs
index 6c0221ebfd..fe5f5f3d35 100644
--- a/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseItem.cs
+++ b/src/Stripe.net/Entities/QuotePreviewSubscriptionSchedules/QuotePreviewSubscriptionSchedulePhaseItem.cs
@@ -34,7 +34,7 @@ public class QuotePreviewSubscriptionSchedulePhaseItem : StripeEntity Discounts { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an item. Metadata on this item will update the underlying subscription item's
/// metadata when the phase is entered.
///
diff --git a/src/Stripe.net/Entities/Quotes/Quote.cs b/src/Stripe.net/Entities/Quotes/Quote.cs
index 310328022f..56725bf541 100644
--- a/src/Stripe.net/Entities/Quotes/Quote.cs
+++ b/src/Stripe.net/Entities/Quotes/Quote.cs
@@ -183,8 +183,8 @@ public Application Application
///
/// (ID of the Customer)
- /// The customer which this quote belongs to. A customer is required before finalizing the
- /// quote. Once specified, it cannot be changed.
+ /// The customer who received this quote. A customer is required to finalize the quote. Once
+ /// specified, you can't change it.
///
[JsonIgnore]
#if NET6_0_OR_GREATER
@@ -198,8 +198,8 @@ public string CustomerId
///
/// (Expanded)
- /// The customer which this quote belongs to. A customer is required before finalizing the
- /// quote. Once specified, it cannot be changed.
+ /// The customer who received this quote. A customer is required to finalize the quote. Once
+ /// specified, you can't change it.
///
/// For more information, see the expand documentation.
///
@@ -223,8 +223,8 @@ public Customer Customer
#endregion
///
- /// The account which this quote belongs to. A customer or account is required before
- /// finalizing the quote. Once specified, it cannot be changed.
+ /// The account representing the customer who received this quote. A customer or account is
+ /// required to finalize the quote. Once specified, you can't change it.
///
[JsonProperty("customer_account")]
#if NET6_0_OR_GREATER
@@ -342,7 +342,7 @@ public List Discounts
///
/// Details of the quote that was cloned. See the cloning documentation for more details.
+ /// href="https://docs.stripe.com/quotes/clone">cloning documentation for more details.
///
[JsonProperty("from_quote")]
#if NET6_0_OR_GREATER
@@ -438,7 +438,7 @@ public Invoice Invoice
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -450,7 +450,7 @@ public Invoice Invoice
///
/// A unique number that identifies this particular quote. This number is assigned once the
- /// quote is finalized.
+ /// quote is finalized.
///
[JsonProperty("number")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownDiscount.cs
index fffce513c2..14a11d04f7 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownDiscount.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteComputedRecurringTotalDetailsBreakdownDiscount.cs
@@ -19,12 +19,12 @@ public class QuoteComputedRecurringTotalDetailsBreakdownDiscount : StripeEntity<
///
/// A discount represents the actual application of a coupon or promotion code. It contains
+ /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains
/// information about when the discount began, when it will end, and what it is applied to.
///
/// Related guide: Applying discounts to
+ /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to
/// subscriptions.
///
[JsonProperty("discount")]
diff --git a/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownDiscount.cs
index ef042a7a43..9e365adedd 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownDiscount.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteComputedUpfrontTotalDetailsBreakdownDiscount.cs
@@ -19,12 +19,12 @@ public class QuoteComputedUpfrontTotalDetailsBreakdownDiscount : StripeEntity
/// A discount represents the actual application of a coupon or promotion code. It contains
+ /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains
/// information about when the discount began, when it will end, and what it is applied to.
///
/// Related guide: Applying discounts to
+ /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to
/// subscriptions.
///
[JsonProperty("discount")]
diff --git a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs
index f2fd6f3fff..ba5eab3d08 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionData.cs
@@ -132,7 +132,7 @@ public Subscription FromSubscription
#endregion
///
- /// Set of key-value pairs that will set
+ /// Set of key-value pairs that will set
/// metadata on the subscription or subscription schedule when the quote is accepted. If a
/// recurring price is included in line_items, this field will be passed to the
/// resulting subscription's metadata field. If
@@ -158,7 +158,7 @@ public Subscription FromSubscription
///
/// Determines how to handle prorations
+ /// href="https://docs.stripe.com/subscriptions/billing-cycle#prorations">prorations
/// when the quote is accepted.
/// One of: always_invoice, create_prorations, or none.
///
diff --git a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionDataOverride.cs b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionDataOverride.cs
index fb526ab029..5ffcd853e3 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteSubscriptionDataOverride.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteSubscriptionDataOverride.cs
@@ -38,8 +38,8 @@ public class QuoteSubscriptionDataOverride : StripeEntity
- /// The customer which this quote belongs to. A customer is required before finalizing the
- /// quote. Once specified, it cannot be changed.
+ /// The customer who received this quote. A customer is required to finalize the quote. Once
+ /// specified, you can't change it.
///
[JsonProperty("customer")]
#if NET6_0_OR_GREATER
@@ -70,7 +70,7 @@ public class QuoteSubscriptionDataOverride : StripeEntity
/// Determines how to handle prorations
+ /// href="https://docs.stripe.com/subscriptions/billing-cycle#prorations">prorations
/// when the quote is accepted.
/// One of: always_invoice, create_prorations, or none.
///
diff --git a/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownDiscount.cs b/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownDiscount.cs
index 11357b0343..7309184d46 100644
--- a/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownDiscount.cs
+++ b/src/Stripe.net/Entities/Quotes/QuoteTotalDetailsBreakdownDiscount.cs
@@ -19,12 +19,12 @@ public class QuoteTotalDetailsBreakdownDiscount : StripeEntity
/// A discount represents the actual application of a coupon or promotion code. It contains
+ /// href="https://api.stripe.com#coupons">coupon or promotion code. It contains
/// information about when the discount began, when it will end, and what it is applied to.
///
/// Related guide: Applying discounts to
+ /// href="https://docs.stripe.com/billing/subscriptions/discounts">Applying discounts to
/// subscriptions.
///
[JsonProperty("discount")]
diff --git a/src/Stripe.net/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarning.cs b/src/Stripe.net/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarning.cs
index 9e1b020dfe..b275f0bf70 100644
--- a/src/Stripe.net/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarning.cs
+++ b/src/Stripe.net/Entities/Radar/EarlyFraudWarnings/EarlyFraudWarning.cs
@@ -13,7 +13,7 @@ namespace Stripe.Radar
/// be fraudulent.
///
/// Related guide: Early fraud
+ /// href="https://docs.stripe.com/disputes/measuring#early-fraud-warnings">Early fraud
/// warnings.
///
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Radar/ValueListItems/ValueListItem.cs b/src/Stripe.net/Entities/Radar/ValueListItems/ValueListItem.cs
index c2939b706e..68d9ef0bcd 100644
--- a/src/Stripe.net/Entities/Radar/ValueListItems/ValueListItem.cs
+++ b/src/Stripe.net/Entities/Radar/ValueListItems/ValueListItem.cs
@@ -13,7 +13,7 @@ namespace Stripe.Radar
/// then be used in rules.
///
/// Related guide: Managing list items.
+ /// href="https://docs.stripe.com/radar/lists#managing-list-items">Managing list items.
///
public class ValueListItem : StripeEntity, IHasId, IHasObject
{
diff --git a/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs b/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs
index c2ef4f335c..d17a370d0a 100644
--- a/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs
+++ b/src/Stripe.net/Entities/Radar/ValueLists/ValueList.cs
@@ -12,7 +12,7 @@ namespace Stripe.Radar
///
/// Value lists allow you to group values together which can then be referenced in rules.
///
- /// Related guide: Default
+ /// Related guide: Default
/// Stripe lists.
///
public class ValueList : StripeEntity, IHasId, IHasMetadata, IHasObject
@@ -109,7 +109,7 @@ public class ValueList : StripeEntity, IHasId, IHasMetadata, IHasObje
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
diff --git a/src/Stripe.net/Entities/Refunds/Refund.cs b/src/Stripe.net/Entities/Refunds/Refund.cs
index 28eca40244..e8cfcbfdba 100644
--- a/src/Stripe.net/Entities/Refunds/Refund.cs
+++ b/src/Stripe.net/Entities/Refunds/Refund.cs
@@ -13,7 +13,7 @@ namespace Stripe
/// Refund objects allow you to refund a previously created charge that isn't refunded yet.
/// Funds are refunded to the credit or debit card that's initially charged.
///
- /// Related guide: Refunds.
+ /// Related guide: Refunds.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
@@ -233,7 +233,7 @@ public BalanceTransaction FailureBalanceTransaction
public string InstructionsEmail { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -375,7 +375,7 @@ public TransferReversal SourceTransferReversal
///
/// Status of the refund. This can be pending, requires_action,
/// succeeded, failed, or canceled. Learn more about failed refunds.
+ /// href="https://docs.stripe.com/refunds#failed-refunds">failed refunds.
///
[JsonProperty("status")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs b/src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs
index 3eded5df34..64247456ab 100644
--- a/src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs
+++ b/src/Stripe.net/Entities/Reporting/ReportRuns/ReportRun.cs
@@ -13,11 +13,11 @@ namespace Stripe.Reporting
/// run parameters. Once the object is created, Stripe begins processing the report. When
/// the report has finished running, it will give you a reference to a file where you can
/// retrieve your results. For an overview, see API Access to Reports.
+ /// href="https://docs.stripe.com/reporting/statements/api">API Access to Reports.
///
/// Note that certain report types can only be run based on your live-mode data (not
/// test-mode data), and will error when queried without a live-mode API key.
+ /// href="https://docs.stripe.com/keys#test-live-modes">live-mode API key.
///
public class ReportRun : StripeEntity, IHasId, IHasObject
{
@@ -77,7 +77,7 @@ public class ReportRun : StripeEntity, IHasId, IHasObject
public ReportRunParameters Parameters { get; set; }
///
- /// The ID of the report type to
+ /// The ID of the report type to
/// run, such as "balance.summary.1".
///
[JsonProperty("report_type")]
diff --git a/src/Stripe.net/Entities/Reporting/ReportTypes/ReportType.cs b/src/Stripe.net/Entities/Reporting/ReportTypes/ReportType.cs
index 4df5fef142..e18980e3e0 100644
--- a/src/Stripe.net/Entities/Reporting/ReportTypes/ReportType.cs
+++ b/src/Stripe.net/Entities/Reporting/ReportTypes/ReportType.cs
@@ -13,18 +13,18 @@ namespace Stripe.Reporting
/// The Report Type resource corresponds to a particular type of report, such as the
/// "Activity summary" or "Itemized payouts" reports. These objects are identified by an ID
/// belonging to a set of enumerated values. See API Access to Reports
+ /// href="https://docs.stripe.com/reporting/statements/api">API Access to Reports
/// documentation for those Report Type IDs, along with required and optional
/// parameters.
///
/// Note that certain report types can only be run based on your live-mode data (not
/// test-mode data), and will error when queried without a live-mode API key.
+ /// href="https://docs.stripe.com/keys#test-live-modes">live-mode API key.
///
public class ReportType : StripeEntity, IHasId, IHasObject
{
///
- /// The ID
+ /// The ID
/// of the Report Type, such as balance.summary.1.
///
[JsonProperty("id")]
diff --git a/src/Stripe.net/Entities/Reserve/Holds/Hold.cs b/src/Stripe.net/Entities/Reserve/Holds/Hold.cs
new file mode 100644
index 0000000000..38280047bf
--- /dev/null
+++ b/src/Stripe.net/Entities/Reserve/Holds/Hold.cs
@@ -0,0 +1,230 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Reserve
+{
+ using System;
+ using System.Collections.Generic;
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// ReserveHolds are used to place a temporary ReserveHold on a merchant's funds.
+ ///
+#if NET6_0_OR_GREATER
+ [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
+#endif
+ public class Hold : StripeEntity, IHasId, IHasMetadata, IHasObject
+ {
+ ///
+ /// Unique identifier for the object.
+ ///
+ [JsonProperty("id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("id")]
+#endif
+ public string Id { get; set; }
+
+ ///
+ /// String representing the object's type. Objects of the same type share the same value.
+ ///
+ [JsonProperty("object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("object")]
+#endif
+ public string Object { get; set; }
+
+ ///
+ /// Amount reserved. A positive integer representing how much is reserved in the smallest currency unit.
+ ///
+ [JsonProperty("amount")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("amount")]
+#endif
+ public long Amount { get; set; }
+
+ ///
+ /// Amount in cents that can be released from this ReserveHold.
+ ///
+ [JsonProperty("amount_releasable")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("amount_releasable")]
+#endif
+ public long AmountReleasable { get; set; }
+
+ ///
+ /// Time at which the object was created. Measured in seconds since the Unix epoch.
+ ///
+ [JsonProperty("created")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+
+ ///
+ /// Indicates which party created this ReserveHold.
+ /// One of: application, or stripe.
+ ///
+ [JsonProperty("created_by")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created_by")]
+#endif
+ public string CreatedBy { get; set; }
+
+ ///
+ /// Three-letter ISO currency
+ /// code, in lowercase. Must be a supported
+ /// currency.
+ ///
+ [JsonProperty("currency")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("currency")]
+#endif
+ public string Currency { get; set; }
+
+ ///
+ /// Whether there are any funds available to release on this ReserveHold. Note that if the
+ /// ReserveHold is in the process of being released, this could be false, even though the
+ /// funds haven't been fully released yet.
+ ///
+ [JsonProperty("is_releasable")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("is_releasable")]
+#endif
+ public bool IsReleasable { get; set; }
+
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
+ ///
+ /// Set of key-value pairs that you can
+ /// attach to an object. This can be useful for storing additional information about the
+ /// object in a structured format.
+ ///
+ [JsonProperty("metadata")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("metadata")]
+#endif
+ public Dictionary Metadata { get; set; }
+
+ ///
+ /// The reason for the ReserveHold.
+ /// One of: charge, or standalone.
+ ///
+ [JsonProperty("reason")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("reason")]
+#endif
+ public string Reason { get; set; }
+
+ [JsonProperty("release_schedule")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("release_schedule")]
+#endif
+ public HoldReleaseSchedule ReleaseSchedule { get; set; }
+
+ #region Expandable ReservePlan
+
+ ///
+ /// (ID of the Plan)
+ /// The ReservePlan which produced this ReserveHold (i.e., resplan_123).
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public string ReservePlanId
+ {
+ get => this.InternalReservePlan?.Id;
+ set => this.InternalReservePlan = SetExpandableFieldId(value, this.InternalReservePlan);
+ }
+
+ ///
+ /// (Expanded)
+ /// The ReservePlan which produced this ReserveHold (i.e., resplan_123).
+ ///
+ /// For more information, see the expand documentation.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public Plan ReservePlan
+ {
+ get => this.InternalReservePlan?.ExpandedObject;
+ set => this.InternalReservePlan = SetExpandableFieldObject(value, this.InternalReservePlan);
+ }
+
+ [JsonProperty("reserve_plan")]
+ [JsonConverter(typeof(ExpandableFieldConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("reserve_plan")]
+ [STJS.JsonConverter(typeof(STJExpandableFieldConverter))]
+#endif
+ internal ExpandableField InternalReservePlan { get; set; }
+ #endregion
+
+ #region Expandable SourceCharge
+
+ ///
+ /// (ID of the Charge)
+ /// The Charge which funded this ReserveHold (e.g., ch_123).
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public string SourceChargeId
+ {
+ get => this.InternalSourceCharge?.Id;
+ set => this.InternalSourceCharge = SetExpandableFieldId(value, this.InternalSourceCharge);
+ }
+
+ ///
+ /// (Expanded)
+ /// The Charge which funded this ReserveHold (e.g., ch_123).
+ ///
+ /// For more information, see the expand documentation.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public Charge SourceCharge
+ {
+ get => this.InternalSourceCharge?.ExpandedObject;
+ set => this.InternalSourceCharge = SetExpandableFieldObject(value, this.InternalSourceCharge);
+ }
+
+ [JsonProperty("source_charge")]
+ [JsonConverter(typeof(ExpandableFieldConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("source_charge")]
+ [STJS.JsonConverter(typeof(STJExpandableFieldConverter))]
+#endif
+ internal ExpandableField InternalSourceCharge { get; set; }
+ #endregion
+
+ ///
+ /// Which source balance type this ReserveHold reserves funds from. One of
+ /// bank_account, card, or fpx.
+ /// One of: bank_account, card, or fpx.
+ ///
+ [JsonProperty("source_type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("source_type")]
+#endif
+ public string SourceType { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Reserve/Holds/HoldReleaseSchedule.cs b/src/Stripe.net/Entities/Reserve/Holds/HoldReleaseSchedule.cs
new file mode 100644
index 0000000000..5c5237870b
--- /dev/null
+++ b/src/Stripe.net/Entities/Reserve/Holds/HoldReleaseSchedule.cs
@@ -0,0 +1,36 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Reserve
+{
+ using System;
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class HoldReleaseSchedule : StripeEntity
+ {
+ ///
+ /// The time after which the ReserveHold is requested to be released.
+ ///
+ [JsonProperty("release_after")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("release_after")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime? ReleaseAfter { get; set; }
+
+ ///
+ /// The time at which the ReserveHold is scheduled to be released, automatically set to
+ /// midnight UTC of the day after release_after.
+ ///
+ [JsonProperty("scheduled_release")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("scheduled_release")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime? ScheduledRelease { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Reserve/Plans/Plan.cs b/src/Stripe.net/Entities/Reserve/Plans/Plan.cs
new file mode 100644
index 0000000000..e07c56bfcd
--- /dev/null
+++ b/src/Stripe.net/Entities/Reserve/Plans/Plan.cs
@@ -0,0 +1,143 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Reserve
+{
+ using System;
+ using System.Collections.Generic;
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// ReservePlans are used to automatically place holds on a merchant's funds until the plan
+ /// expires. It takes a portion of each incoming Charge (including those resulting from a
+ /// Transfer from a platform account).
+ ///
+ public class Plan : StripeEntity, IHasId, IHasMetadata, IHasObject
+ {
+ ///
+ /// Unique identifier for the object.
+ ///
+ [JsonProperty("id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("id")]
+#endif
+ public string Id { get; set; }
+
+ ///
+ /// String representing the object's type. Objects of the same type share the same value.
+ ///
+ [JsonProperty("object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("object")]
+#endif
+ public string Object { get; set; }
+
+ ///
+ /// Time at which the object was created. Measured in seconds since the Unix epoch.
+ ///
+ [JsonProperty("created")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+
+ ///
+ /// Indicates which party created this ReservePlan.
+ /// One of: application, or stripe.
+ ///
+ [JsonProperty("created_by")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created_by")]
+#endif
+ public string CreatedBy { get; set; }
+
+ ///
+ /// Three-letter ISO currency
+ /// code, in lowercase. Must be a supported
+ /// currency. An unset currency indicates that the plan applies to all currencies.
+ ///
+ [JsonProperty("currency")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("currency")]
+#endif
+ public string Currency { get; set; }
+
+ ///
+ /// Time at which the ReservePlan was disabled.
+ ///
+ [JsonProperty("disabled_at")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("disabled_at")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime? DisabledAt { get; set; }
+
+ [JsonProperty("fixed_release")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("fixed_release")]
+#endif
+ public PlanFixedRelease FixedRelease { get; set; }
+
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
+ ///
+ /// Set of key-value pairs that you can
+ /// attach to an object. This can be useful for storing additional information about the
+ /// object in a structured format.
+ ///
+ [JsonProperty("metadata")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("metadata")]
+#endif
+ public Dictionary Metadata { get; set; }
+
+ ///
+ /// The percent of each Charge to reserve.
+ ///
+ [JsonProperty("percent")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("percent")]
+#endif
+ public long Percent { get; set; }
+
+ [JsonProperty("rolling_release")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("rolling_release")]
+#endif
+ public PlanRollingRelease RollingRelease { get; set; }
+
+ ///
+ /// The current status of the ReservePlan. The ReservePlan only affects charges if it is
+ /// active.
+ /// One of: active, disabled, or expired.
+ ///
+ [JsonProperty("status")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("status")]
+#endif
+ public string Status { get; set; }
+
+ ///
+ /// The type of the ReservePlan.
+ /// One of: fixed_release, or rolling_release.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Reserve/Plans/PlanFixedRelease.cs b/src/Stripe.net/Entities/Reserve/Plans/PlanFixedRelease.cs
new file mode 100644
index 0000000000..633bf9bd62
--- /dev/null
+++ b/src/Stripe.net/Entities/Reserve/Plans/PlanFixedRelease.cs
@@ -0,0 +1,34 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Reserve
+{
+ using System;
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class PlanFixedRelease : StripeEntity
+ {
+ ///
+ /// The time after which all reserved funds are requested for release.
+ ///
+ [JsonProperty("release_after")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("release_after")]
+#endif
+ public long ReleaseAfter { get; set; }
+
+ ///
+ /// The time at which reserved funds are scheduled for release, automatically set to
+ /// midnight UTC of the day after release_after.
+ ///
+ [JsonProperty("scheduled_release")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("scheduled_release")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime ScheduledRelease { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+ }
+}
diff --git a/src/Stripe.net/Entities/Reserve/Plans/PlanRollingRelease.cs b/src/Stripe.net/Entities/Reserve/Plans/PlanRollingRelease.cs
new file mode 100644
index 0000000000..06eb90bda3
--- /dev/null
+++ b/src/Stripe.net/Entities/Reserve/Plans/PlanRollingRelease.cs
@@ -0,0 +1,29 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Reserve
+{
+ using Newtonsoft.Json;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ public class PlanRollingRelease : StripeEntity
+ {
+ ///
+ /// The number of days to reserve funds before releasing.
+ ///
+ [JsonProperty("days_after_charge")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("days_after_charge")]
+#endif
+ public long DaysAfterCharge { get; set; }
+
+ ///
+ /// The time at which the ReservePlan expires.
+ ///
+ [JsonProperty("expires_on")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("expires_on")]
+#endif
+ public long? ExpiresOn { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Reserve/Releases/Release.cs b/src/Stripe.net/Entities/Reserve/Releases/Release.cs
new file mode 100644
index 0000000000..85718debf5
--- /dev/null
+++ b/src/Stripe.net/Entities/Reserve/Releases/Release.cs
@@ -0,0 +1,215 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Reserve
+{
+ using System;
+ using System.Collections.Generic;
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+ ///
+ /// ReserveReleases represent the release of funds from a ReserveHold.
+ ///
+#if NET6_0_OR_GREATER
+ [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
+#endif
+ public class Release : StripeEntity, IHasId, IHasMetadata, IHasObject
+ {
+ ///
+ /// Unique identifier for the object.
+ ///
+ [JsonProperty("id")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("id")]
+#endif
+ public string Id { get; set; }
+
+ ///
+ /// String representing the object's type. Objects of the same type share the same value.
+ ///
+ [JsonProperty("object")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("object")]
+#endif
+ public string Object { get; set; }
+
+ ///
+ /// Amount released. A positive integer representing how much is released in the smallest currency unit.
+ ///
+ [JsonProperty("amount")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("amount")]
+#endif
+ public long Amount { get; set; }
+
+ ///
+ /// Time at which the object was created. Measured in seconds since the Unix epoch.
+ ///
+ [JsonProperty("created")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime Created { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+
+ ///
+ /// Indicates which party created this ReserveRelease.
+ /// One of: application, or stripe.
+ ///
+ [JsonProperty("created_by")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("created_by")]
+#endif
+ public string CreatedBy { get; set; }
+
+ ///
+ /// Three-letter ISO currency
+ /// code, in lowercase. Must be a supported
+ /// currency.
+ ///
+ [JsonProperty("currency")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("currency")]
+#endif
+ public string Currency { get; set; }
+
+ ///
+ /// Has the value true if the object exists in live mode or the value false if
+ /// the object exists in test mode.
+ ///
+ [JsonProperty("livemode")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("livemode")]
+#endif
+ public bool Livemode { get; set; }
+
+ ///
+ /// Set of key-value pairs that you can
+ /// attach to an object. This can be useful for storing additional information about the
+ /// object in a structured format.
+ ///
+ [JsonProperty("metadata")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("metadata")]
+#endif
+ public Dictionary Metadata { get; set; }
+
+ ///
+ /// The reason for the ReserveRelease, indicating why the funds were released.
+ /// One of: bulk_hold_expiry, hold_released_early, hold_reversed, or
+ /// plan_disabled.
+ ///
+ [JsonProperty("reason")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("reason")]
+#endif
+ public string Reason { get; set; }
+
+ ///
+ /// The release timestamp of the funds.
+ ///
+ [JsonProperty("released_at")]
+ [JsonConverter(typeof(UnixDateTimeConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("released_at")]
+ [STJS.JsonConverter(typeof(STJUnixDateTimeConverter))]
+#endif
+ public DateTime ReleasedAt { get; set; } = Stripe.Infrastructure.DateTimeUtils.UnixEpoch;
+
+ #region Expandable ReserveHold
+
+ ///
+ /// (ID of the Hold)
+ /// The ReserveHold this ReserveRelease is associated with.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public string ReserveHoldId
+ {
+ get => this.InternalReserveHold?.Id;
+ set => this.InternalReserveHold = SetExpandableFieldId(value, this.InternalReserveHold);
+ }
+
+ ///
+ /// (Expanded)
+ /// The ReserveHold this ReserveRelease is associated with.
+ ///
+ /// For more information, see the expand documentation.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public Hold ReserveHold
+ {
+ get => this.InternalReserveHold?.ExpandedObject;
+ set => this.InternalReserveHold = SetExpandableFieldObject(value, this.InternalReserveHold);
+ }
+
+ [JsonProperty("reserve_hold")]
+ [JsonConverter(typeof(ExpandableFieldConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("reserve_hold")]
+ [STJS.JsonConverter(typeof(STJExpandableFieldConverter))]
+#endif
+ internal ExpandableField InternalReserveHold { get; set; }
+ #endregion
+
+ #region Expandable ReservePlan
+
+ ///
+ /// (ID of the Plan)
+ /// The ReservePlan ID this ReserveRelease is associated with. This field is only populated
+ /// if a ReserveRelease is created by a ReservePlan disable operation, or from a scheduled
+ /// ReservedHold expiry.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public string ReservePlanId
+ {
+ get => this.InternalReservePlan?.Id;
+ set => this.InternalReservePlan = SetExpandableFieldId(value, this.InternalReservePlan);
+ }
+
+ ///
+ /// (Expanded)
+ /// The ReservePlan ID this ReserveRelease is associated with. This field is only populated
+ /// if a ReserveRelease is created by a ReservePlan disable operation, or from a scheduled
+ /// ReservedHold expiry.
+ ///
+ /// For more information, see the expand documentation.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public Plan ReservePlan
+ {
+ get => this.InternalReservePlan?.ExpandedObject;
+ set => this.InternalReservePlan = SetExpandableFieldObject(value, this.InternalReservePlan);
+ }
+
+ [JsonProperty("reserve_plan")]
+ [JsonConverter(typeof(ExpandableFieldConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("reserve_plan")]
+ [STJS.JsonConverter(typeof(STJExpandableFieldConverter))]
+#endif
+ internal ExpandableField InternalReservePlan { get; set; }
+ #endregion
+
+ [JsonProperty("source_transaction")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("source_transaction")]
+#endif
+ public ReleaseSourceTransaction SourceTransaction { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Reserve/Releases/ReleaseSourceTransaction.cs b/src/Stripe.net/Entities/Reserve/Releases/ReleaseSourceTransaction.cs
new file mode 100644
index 0000000000..a7ddeabf4f
--- /dev/null
+++ b/src/Stripe.net/Entities/Reserve/Releases/ReleaseSourceTransaction.cs
@@ -0,0 +1,107 @@
+// File generated from our OpenAPI spec
+namespace Stripe.Reserve
+{
+ using Newtonsoft.Json;
+ using Stripe.Infrastructure;
+#if NET6_0_OR_GREATER
+ using STJS = System.Text.Json.Serialization;
+#endif
+
+#if NET6_0_OR_GREATER
+ [STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
+#endif
+ public class ReleaseSourceTransaction : StripeEntity
+ {
+ #region Expandable Dispute
+
+ ///
+ /// (ID of the Dispute)
+ /// The ID of the dispute.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public string DisputeId
+ {
+ get => this.InternalDispute?.Id;
+ set => this.InternalDispute = SetExpandableFieldId(value, this.InternalDispute);
+ }
+
+ ///
+ /// (Expanded)
+ /// The ID of the dispute.
+ ///
+ /// For more information, see the expand documentation.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public Dispute Dispute
+ {
+ get => this.InternalDispute?.ExpandedObject;
+ set => this.InternalDispute = SetExpandableFieldObject(value, this.InternalDispute);
+ }
+
+ [JsonProperty("dispute")]
+ [JsonConverter(typeof(ExpandableFieldConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("dispute")]
+ [STJS.JsonConverter(typeof(STJExpandableFieldConverter))]
+#endif
+ internal ExpandableField InternalDispute { get; set; }
+ #endregion
+
+ #region Expandable Refund
+
+ ///
+ /// (ID of the Refund)
+ /// The ID of the refund.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public string RefundId
+ {
+ get => this.InternalRefund?.Id;
+ set => this.InternalRefund = SetExpandableFieldId(value, this.InternalRefund);
+ }
+
+ ///
+ /// (Expanded)
+ /// The ID of the refund.
+ ///
+ /// For more information, see the expand documentation.
+ ///
+ [JsonIgnore]
+#if NET6_0_OR_GREATER
+ [STJS.JsonIgnore]
+#endif
+ public Refund Refund
+ {
+ get => this.InternalRefund?.ExpandedObject;
+ set => this.InternalRefund = SetExpandableFieldObject(value, this.InternalRefund);
+ }
+
+ [JsonProperty("refund")]
+ [JsonConverter(typeof(ExpandableFieldConverter))]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("refund")]
+ [STJS.JsonConverter(typeof(STJExpandableFieldConverter))]
+#endif
+ internal ExpandableField InternalRefund { get; set; }
+ #endregion
+
+ ///
+ /// The type of source transaction.
+ /// One of: dispute, or refund.
+ ///
+ [JsonProperty("type")]
+#if NET6_0_OR_GREATER
+ [STJS.JsonPropertyName("type")]
+#endif
+ public string Type { get; set; }
+ }
+}
diff --git a/src/Stripe.net/Entities/Reviews/Review.cs b/src/Stripe.net/Entities/Reviews/Review.cs
index 12ccfd82d8..088e97afdb 100644
--- a/src/Stripe.net/Entities/Reviews/Review.cs
+++ b/src/Stripe.net/Entities/Reviews/Review.cs
@@ -12,7 +12,7 @@ namespace Stripe
/// Reviews can be used to supplement automated fraud detection with human expertise.
///
/// Learn more about Radar and reviewing payments here.
+ /// href="https://docs.stripe.com/radar/reviews">here.
///
#if NET6_0_OR_GREATER
[STJS.JsonConverter(typeof(STJMemberSerializationOptIn))]
diff --git a/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs b/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs
index 92e3cc3be9..6b56f734f3 100644
--- a/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs
+++ b/src/Stripe.net/Entities/SetupAttempts/SetupAttempt.cs
@@ -42,7 +42,7 @@ public class SetupAttempt : StripeEntity, IHasId, IHasObject
///
/// (ID of the Application)
/// The value of application
+ /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-application">application
/// on the SetupIntent at the time of this confirmation.
///
[JsonIgnore]
@@ -58,7 +58,7 @@ public string ApplicationId
///
/// (Expanded)
/// The value of application
+ /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-application">application
/// on the SetupIntent at the time of this confirmation.
///
/// For more information, see the expand documentation.
@@ -113,7 +113,7 @@ public Application Application
///
/// (ID of the Customer)
/// The value of customer
+ /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer">customer
/// on the SetupIntent at the time of this confirmation.
///
[JsonIgnore]
@@ -129,7 +129,7 @@ public string CustomerId
///
/// (Expanded)
/// The value of customer
+ /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer">customer
/// on the SetupIntent at the time of this confirmation.
///
/// For more information, see the expand documentation.
@@ -155,7 +155,7 @@ public Customer Customer
///
/// The value of customer_account
+ /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-customer_account">customer_account
/// on the SetupIntent at the time of this confirmation.
///
[JsonProperty("customer_account")]
@@ -195,7 +195,7 @@ public Customer Customer
///
/// (ID of the Account)
/// The value of on_behalf_of
+ /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-on_behalf_of">on_behalf_of
/// on the SetupIntent at the time of this confirmation.
///
[JsonIgnore]
@@ -211,7 +211,7 @@ public string OnBehalfOfId
///
/// (Expanded)
/// The value of on_behalf_of
+ /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-on_behalf_of">on_behalf_of
/// on the SetupIntent at the time of this confirmation.
///
/// For more information, see the expand documentation.
@@ -345,7 +345,7 @@ public SetupIntent SetupIntent
///
/// The value of usage
+ /// href="https://docs.stripe.com/api/setup_intents/object#setup_intent_object-usage">usage
/// on the SetupIntent at the time of this confirmation, one of off_session or
/// on_session.
///
diff --git a/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsIdeal.cs b/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsIdeal.cs
index d4671d8dfa..e405952105 100644
--- a/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsIdeal.cs
+++ b/src/Stripe.net/Entities/SetupAttempts/SetupAttemptPaymentMethodDetailsIdeal.cs
@@ -14,14 +14,14 @@ public class SetupAttemptPaymentMethodDetailsIdeal : StripeEntity
/// The customer's bank. Can be one of abn_amro, asn_bank, bunq,
- /// buut, finom, handelsbanken, ing, knab,
+ /// buut, finom, handelsbanken, ing, knab, mollie,
/// moneyou, n26, nn, rabobank, regiobank,
/// revolut, sns_bank, triodos_bank, van_lanschot, or
/// yoursafe.
/// One of: abn_amro, asn_bank, bunq, buut, finom,
- /// handelsbanken, ing, knab, moneyou, n26, nn,
- /// rabobank, regiobank, revolut, sns_bank, triodos_bank,
- /// van_lanschot, or yoursafe.
+ /// handelsbanken, ing, knab, mollie, moneyou,
+ /// n26, nn, rabobank, regiobank, revolut,
+ /// sns_bank, triodos_bank, van_lanschot, or yoursafe.
///
[JsonProperty("bank")]
#if NET6_0_OR_GREATER
@@ -33,8 +33,9 @@ public class SetupAttemptPaymentMethodDetailsIdeal : StripeEntityABNANL2A, ASNBNL21, BITSNL2A, BUNQNL2A,
/// BUUTNL2A, FNOMNL22, FVLBNL22, HANDNL2A, INGBNL2A,
- /// KNABNL2H, MOYONL21, NNBANL2G, NTSBDEB1, RABONL2U,
- /// RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or TRIONL2U.
+ /// KNABNL2H, MLLENL2A, MOYONL21, NNBANL2G, NTSBDEB1,
+ /// RABONL2U, RBRBNL21, REVOIE23, REVOLT21, SNSBNL2A, or
+ /// TRIONL2U.
///
[JsonProperty("bic")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs
index 05c14e0f81..bc03caff56 100644
--- a/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs
+++ b/src/Stripe.net/Entities/SetupIntents/SetupIntent.cs
@@ -13,8 +13,8 @@ namespace Stripe
/// A SetupIntent guides you through the process of setting up and saving a customer's
/// payment credentials for future payments. For example, you can use a SetupIntent to set
/// up and save your customer's card without immediately collecting a payment. Later, you
- /// can use PaymentIntents to
- /// drive the payment flow.
+ /// can use PaymentIntents to drive the
+ /// payment flow.
///
/// Create a SetupIntent when you're ready to collect your customer's payment credentials.
/// Don't maintain long-lived, unconfirmed SetupIntents because they might not be valid. The
@@ -30,10 +30,10 @@ namespace Stripe
/// Authentication during payment method collection to streamline later off-session payments. If you
/// use the SetupIntent with a Customer, it
+ /// href="https://api.stripe.com#setup_intent_object-customer">Customer, it
/// automatically attaches the resulting payment method to that Customer after successful
/// setup. We recommend using SetupIntents or setup_future_usage
+ /// href="https://api.stripe.com#payment_intent_object-setup_future_usage">setup_future_usage
/// on PaymentIntents to save payment methods to prevent saving invalid or unoptimized
/// payment methods.
///
@@ -377,7 +377,7 @@ public Mandate Mandate
#endregion
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -487,7 +487,7 @@ public PaymentMethod PaymentMethod
///
/// Information about the payment method
+ /// href="https://docs.stripe.com/api/payment_method_configurations">payment method
/// configuration used for this Setup Intent.
///
[JsonProperty("payment_method_configuration_details")]
@@ -558,7 +558,7 @@ public Mandate SingleUseMandate
#endregion
///
- /// Status of this
+ /// Status of this
/// SetupIntent, one of requires_payment_method, requires_confirmation,
/// requires_action, processing, canceled, or succeeded.
/// One of: canceled, processing, requires_action,
diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentAutomaticPaymentMethods.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentAutomaticPaymentMethods.cs
index c4a5b81352..144342e146 100644
--- a/src/Stripe.net/Entities/SetupIntents/SetupIntentAutomaticPaymentMethods.cs
+++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentAutomaticPaymentMethods.cs
@@ -13,7 +13,7 @@ public class SetupIntentAutomaticPaymentMethods : StripeEntityconfirm this SetupIntent,
+ /// href="https://docs.stripe.com/api/setup_intents/confirm">confirm this SetupIntent,
/// you may be required to provide a return_url to redirect customers back to your
/// site after they authenticate or complete the setup.
/// One of: always, or never.
diff --git a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsCard.cs b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsCard.cs
index 1c298ac3e7..03f8781ad4 100644
--- a/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsCard.cs
+++ b/src/Stripe.net/Entities/SetupIntents/SetupIntentPaymentMethodOptionsCard.cs
@@ -33,11 +33,11 @@ public class SetupIntentPaymentMethodOptionsCard : StripeEntity
/// We strongly recommend that you rely on our SCA Engine to automatically prompt your
/// customers for authentication based on risk level and other requirements.
+ /// href="https://docs.stripe.com/strong-customer-authentication">other requirements.
/// However, if you wish to request 3D Secure based on logic from your own fraud engine,
/// provide this option. If not provided, this value defaults to automatic. Read our
/// guide on manually
+ /// href="https://docs.stripe.com/payments/3d-secure/authentication-flow#manual-three-ds">manually
/// requesting 3D Secure for more information on how this configuration interacts with
/// Radar and our SCA Engine.
/// One of: any, automatic, or challenge.
diff --git a/src/Stripe.net/Entities/ShippingRates/ShippingRate.cs b/src/Stripe.net/Entities/ShippingRates/ShippingRate.cs
index 9c19eca253..4837a490c3 100644
--- a/src/Stripe.net/Entities/ShippingRates/ShippingRate.cs
+++ b/src/Stripe.net/Entities/ShippingRates/ShippingRate.cs
@@ -12,7 +12,7 @@ namespace Stripe
///
/// Shipping rates describe the price of shipping presented to your customers and applied to
/// a purchase. For more information, see Charge for
+ /// href="https://docs.stripe.com/payments/during-payment/charge-shipping">Charge for
/// shipping.
///
#if NET6_0_OR_GREATER
@@ -95,7 +95,7 @@ public class ShippingRate : StripeEntity, IHasId, IHasMetadata, IH
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -120,7 +120,7 @@ public class ShippingRate : StripeEntity, IHasId, IHasMetadata, IH
///
/// (ID of the TaxCode)
- /// A tax code ID. The Shipping tax
+ /// A tax code ID. The Shipping tax
/// code is txcd_92010001.
///
[JsonIgnore]
@@ -135,7 +135,7 @@ public string TaxCodeId
///
/// (Expanded)
- /// A tax code ID. The Shipping tax
+ /// A tax code ID. The Shipping tax
/// code is txcd_92010001.
///
/// For more information, see the expand documentation.
diff --git a/src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs b/src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs
index 271946988a..d6d50a4ac6 100644
--- a/src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs
+++ b/src/Stripe.net/Entities/Sigma/ScheduledQueryRuns/ScheduledQueryRun.cs
@@ -9,7 +9,7 @@ namespace Stripe.Sigma
#endif
///
- /// If you have scheduled a Sigma
+ /// If you have scheduled a Sigma
/// query, you'll receive a sigma.scheduled_query_run.created webhook each time
/// the query runs. The webhook contains a ScheduledQueryRun object, which you can
/// use to retrieve the query results.
diff --git a/src/Stripe.net/Entities/SourceMandateNotifications/SourceMandateNotification.cs b/src/Stripe.net/Entities/SourceMandateNotifications/SourceMandateNotification.cs
index 8e6a979e30..68551070c8 100644
--- a/src/Stripe.net/Entities/SourceMandateNotifications/SourceMandateNotification.cs
+++ b/src/Stripe.net/Entities/SourceMandateNotifications/SourceMandateNotification.cs
@@ -101,12 +101,12 @@ public class SourceMandateNotification : StripeEntity
/// customers.
///
/// Stripe doesn't recommend using the deprecated Sources API. We recommend that you adopt
- /// the PaymentMethods API. This
+ /// href="https://docs.stripe.com/api/sources">Sources API. We recommend that you adopt
+ /// the PaymentMethods API. This
/// newer API provides access to our latest features and payment method types.
///
- /// Related guides: Sources API and Sources & Customers.
+ /// Related guides: Sources API and Sources & Customers.
///
[JsonProperty("source")]
#if NET6_0_OR_GREATER
diff --git a/src/Stripe.net/Entities/Sources/Source.cs b/src/Stripe.net/Entities/Sources/Source.cs
index 282eb0dfa5..3f6956eb73 100644
--- a/src/Stripe.net/Entities/Sources/Source.cs
+++ b/src/Stripe.net/Entities/Sources/Source.cs
@@ -16,12 +16,12 @@ namespace Stripe
/// customers.
///
/// Stripe doesn't recommend using the deprecated Sources API. We recommend that you adopt
- /// the PaymentMethods API. This
+ /// href="https://docs.stripe.com/api/sources">Sources API. We recommend that you adopt
+ /// the PaymentMethods API. This
/// newer API provides access to our latest features and payment method types.
///
- /// Related guides: Sources API and Sources & Customers.
+ /// Related guides: Sources API and Sources & Customers.
///
public class Source : StripeEntity, IHasId, IHasMetadata, IHasObject, IPaymentSource
{
@@ -208,7 +208,7 @@ public class Source : StripeEntity, IHasId, IHasMetadata, IHasObject, IP
public bool Livemode { get; set; }
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -316,7 +316,7 @@ public class Source : StripeEntity, IHasId, IHasMetadata, IHasObject, IP
/// multibanco, klarna, p24, sepa_debit, sofort,
/// three_d_secure, or wechat. An additional hash is included on the source
/// with a name matching this value. It contains additional information specific to the payment method used.
+ /// href="https://docs.stripe.com/sources">payment method used.
/// One of: ach_credit_transfer, ach_debit, acss_debit, alipay,
/// au_becs_debit, bancontact, card, card_present, eps,
/// giropay, ideal, klarna, multibanco, p24,
diff --git a/src/Stripe.net/Entities/SubscriptionItems/SubscriptionItem.cs b/src/Stripe.net/Entities/SubscriptionItems/SubscriptionItem.cs
index 7ce857b7ea..fc33e9eaed 100644
--- a/src/Stripe.net/Entities/SubscriptionItems/SubscriptionItem.cs
+++ b/src/Stripe.net/Entities/SubscriptionItems/SubscriptionItem.cs
@@ -143,7 +143,7 @@ public List Discounts
#endregion
///
- /// Set of key-value pairs that you can
+ /// Set of key-value pairs that you can
/// attach to an object. This can be useful for storing additional information about the
/// object in a structured format.
///
@@ -155,11 +155,11 @@ public List Discounts
///
/// You can now model subscriptions more flexibly using the