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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion API_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
c5d9f47b11fbac901125e0621faadddc6ac6eb1e
56689dcbcaa4c7ce6bf1b51a5add451972e0689c
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ This release changes the pinned API version to `2025-10-29.preview`.
* Remove support for thin event `V2BillingBillSettingUpdatedEvent` with related object `V2.Billing.BillSetting`

## 49.1.0 - 2025-10-29

This release changes the pinned API version to `2025-10-29.clover`.

* [#3236](https://github.com/stripe/stripe-dotnet/pull/3236) Update generated code
* Improve docs for PaymentIntent related endpoints
* [#3230](https://github.com/stripe/stripe-dotnet/pull/3230) Update generated code
Expand Down
2 changes: 1 addition & 1 deletion OPENAPI_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v2104
v2106
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,15 @@ public class RequestedSession : StripeEntity<RequestedSession>, IHasId, IHasMeta
#endif
public string PaymentMethod { get; set; }

/// <summary>
/// The preview of the payment method to be created when the requested session is confirmed.
/// </summary>
[JsonProperty("payment_method_preview")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("payment_method_preview")]
#endif
public RequestedSessionPaymentMethodPreview PaymentMethodPreview { get; set; }

[JsonProperty("seller_details")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("seller_details")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,14 @@ public class RequestedSessionOrderDetails : StripeEntity<RequestedSessionOrderDe
[STJS.JsonPropertyName("order_status_url")]
#endif
public string OrderStatusUrl { get; set; }

/// <summary>
/// The seller's order identifier.
/// </summary>
[JsonProperty("order_id")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("order_id")]
#endif
public string OrderId { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// File generated from our OpenAPI spec
namespace Stripe.DelegatedCheckout
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class RequestedSessionPaymentMethodPreview : StripeEntity<RequestedSessionPaymentMethodPreview>
{
/// <summary>
/// The billing details of the payment method.
/// </summary>
[JsonProperty("billing_details")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("billing_details")]
#endif
public RequestedSessionPaymentMethodPreviewBillingDetails BillingDetails { get; set; }

/// <summary>
/// The card details of the payment method.
/// </summary>
[JsonProperty("card")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("card")]
#endif
public RequestedSessionPaymentMethodPreviewCard Card { get; set; }

/// <summary>
/// The type of the payment method.
/// </summary>
[JsonProperty("type")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("type")]
#endif
public string Type { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// File generated from our OpenAPI spec
namespace Stripe.DelegatedCheckout
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class RequestedSessionPaymentMethodPreviewBillingDetails : StripeEntity<RequestedSessionPaymentMethodPreviewBillingDetails>
{
/// <summary>
/// The billing address.
/// </summary>
[JsonProperty("address")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("address")]
#endif
public RequestedSessionPaymentMethodPreviewBillingDetailsAddress Address { get; set; }

/// <summary>
/// The email address for the billing details.
/// </summary>
[JsonProperty("email")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("email")]
#endif
public string Email { get; set; }

/// <summary>
/// The name for the billing details.
/// </summary>
[JsonProperty("name")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("name")]
#endif
public string Name { get; set; }

/// <summary>
/// The phone number for the billing details.
/// </summary>
[JsonProperty("phone")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("phone")]
#endif
public string Phone { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
// File generated from our OpenAPI spec
namespace Stripe.DelegatedCheckout
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class RequestedSessionPaymentMethodPreviewBillingDetailsAddress : StripeEntity<RequestedSessionPaymentMethodPreviewBillingDetailsAddress>
{
/// <summary>
/// City, district, suburb, town, or village.
/// </summary>
[JsonProperty("city")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("city")]
#endif
public string City { get; set; }

/// <summary>
/// Two-letter country code (<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO
/// 3166-1 alpha-2</a>).
/// </summary>
[JsonProperty("country")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("country")]
#endif
public string Country { get; set; }

/// <summary>
/// Address line 1, such as the street, PO Box, or company name.
/// </summary>
[JsonProperty("line1")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("line1")]
#endif
public string Line1 { get; set; }

/// <summary>
/// Address line 2, such as the apartment, suite, unit, or building.
/// </summary>
[JsonProperty("line2")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("line2")]
#endif
public string Line2 { get; set; }

/// <summary>
/// ZIP or postal code.
/// </summary>
[JsonProperty("postal_code")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("postal_code")]
#endif
public string PostalCode { get; set; }

/// <summary>
/// State, county, province, or region.
/// </summary>
[JsonProperty("state")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("state")]
#endif
public string State { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// File generated from our OpenAPI spec
namespace Stripe.DelegatedCheckout
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class RequestedSessionPaymentMethodPreviewCard : StripeEntity<RequestedSessionPaymentMethodPreviewCard>
{
/// <summary>
/// The expiry month of the card.
/// </summary>
[JsonProperty("exp_month")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("exp_month")]
#endif
public long ExpMonth { get; set; }

/// <summary>
/// The expiry year of the card.
/// </summary>
[JsonProperty("exp_year")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("exp_year")]
#endif
public long ExpYear { get; set; }

/// <summary>
/// The last 4 digits of the card number.
/// </summary>
[JsonProperty("last4")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("last4")]
#endif
public string Last4 { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,15 @@ public class AccountConfigurationCardCreatorCapabilitiesCommercial : StripeEntit
#endif
public AccountConfigurationCardCreatorCapabilitiesCommercialCrossRiverBank CrossRiverBank { get; set; }

/// <summary>
/// Can create commercial issuing cards with Lead as a BIN sponsor.
/// </summary>
[JsonProperty("lead")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("lead")]
#endif
public AccountConfigurationCardCreatorCapabilitiesCommercialLead Lead { get; set; }

/// <summary>
/// Can create commercial issuing cards with Stripe as a BIN sponsor.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationCardCreatorCapabilitiesCommercialLead : StripeEntity<AccountConfigurationCardCreatorCapabilitiesCommercialLead>
{
/// <summary>
/// Can create commercial Global(cross border) issuing prepaid cards with Lead as BIN
/// sponsor.
/// </summary>
[JsonProperty("prepaid_card")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("prepaid_card")]
#endif
public AccountConfigurationCardCreatorCapabilitiesCommercialLeadPrepaidCard PrepaidCard { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using System.Collections.Generic;
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationCardCreatorCapabilitiesCommercialLeadPrepaidCard : StripeEntity<AccountConfigurationCardCreatorCapabilitiesCommercialLeadPrepaidCard>
{
/// <summary>
/// Whether the Capability has been requested.
/// </summary>
[JsonProperty("requested")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("requested")]
#endif
public bool Requested { get; set; }

/// <summary>
/// The status of the Capability.
/// One of: <c>active</c>, <c>pending</c>, <c>restricted</c>, or <c>unsupported</c>.
/// </summary>
[JsonProperty("status")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("status")]
#endif
public string Status { get; set; }

/// <summary>
/// Additional details regarding the status of the Capability. <c>status_details</c> will be
/// empty if the Capability's status is <c>active</c>.
/// </summary>
[JsonProperty("status_details")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("status_details")]
#endif
public List<AccountConfigurationCardCreatorCapabilitiesCommercialLeadPrepaidCardStatusDetail> StatusDetails { get; set; }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
// File generated from our OpenAPI spec
namespace Stripe.V2.Core
{
using Newtonsoft.Json;
#if NET6_0_OR_GREATER
using STJS = System.Text.Json.Serialization;
#endif

public class AccountConfigurationCardCreatorCapabilitiesCommercialLeadPrepaidCardStatusDetail : StripeEntity<AccountConfigurationCardCreatorCapabilitiesCommercialLeadPrepaidCardStatusDetail>
{
/// <summary>
/// Machine-readable code explaining the reason for the Capability to be in its current
/// status.
/// One of: <c>determining_status</c>, <c>requirements_past_due</c>,
/// <c>requirements_pending_verification</c>, <c>restricted_other</c>,
/// <c>unsupported_business</c>, <c>unsupported_country</c>, or
/// <c>unsupported_entity_type</c>.
/// </summary>
[JsonProperty("code")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("code")]
#endif
public string Code { get; set; }

/// <summary>
/// Machine-readable code explaining how to make the Capability active.
/// One of: <c>contact_stripe</c>, <c>no_resolution</c>, or <c>provide_info</c>.
/// </summary>
[JsonProperty("resolution")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("resolution")]
#endif
public string Resolution { get; set; }
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,23 @@ public class AccountIdentityAttestationsTermsOfServiceCardCreatorCommercial : St
[STJS.JsonPropertyName("cross_river_bank")]
#endif
public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialCrossRiverBank CrossRiverBank { get; set; }

/// <summary>
/// Terms of service acceptances for Stripe commercial card Global issuing.
/// </summary>
[JsonProperty("global_account_holder")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("global_account_holder")]
#endif
public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialGlobalAccountHolder GlobalAccountHolder { get; set; }

/// <summary>
/// Terms of service acceptances for commercial issuing cards with Lead as BIN sponsor.
/// </summary>
[JsonProperty("lead")]
#if NET6_0_OR_GREATER
[STJS.JsonPropertyName("lead")]
#endif
public AccountIdentityAttestationsTermsOfServiceCardCreatorCommercialLead Lead { get; set; }
}
}
Loading
Loading