Skip to content

Commit 885cd25

Browse files
Update generated code (#3399)
* Update generated code for v2323 and b1596ed1f651deb0d19f3c6c74ac946f3f36624b * Update generated code for v2324 and 6012b623b1c09ad54d466947da04511a042ee45a --------- Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent d0ce867 commit 885cd25

100 files changed

Lines changed: 1067 additions & 124 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CODEGEN_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d59a1f4bdea3032b8e282d40badc032cb021fc60
1+
6012b623b1c09ad54d466947da04511a042ee45a

OPENAPI_VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v2277
1+
v2324

src/Stripe.net/Constants/ApiVersion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace Stripe
33
{
44
internal class ApiVersion
55
{
6-
public const string Current = "2026-05-27.dahlia";
6+
public const string Current = "2026-06-24.dahlia";
77
public const string CurrentMajor = "dahlia";
88
}
99
}

src/Stripe.net/Constants/EventTypes.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,8 +382,13 @@ public static class EventTypes
382382
public const string CustomerSubscriptionResumed = "customer.subscription.resumed";
383383

384384
/// <summary>
385-
/// Occurs three days before a subscription's trial period is scheduled to end, or when a
386-
/// trial is ended immediately (using <c>trial_end=now</c>).
385+
/// Occurs three days before a subscription's trial period is scheduled to end, or
386+
/// immediately when a trial is ended early (for example, with <c>trial_end=now</c> or when
387+
/// a Customer Portal plan change ends a trial). If a trial is shortened so that fewer than
388+
/// three days remain, this event can fire immediately, including during the same
389+
/// transaction that collects payment. Before sending payment-reminder communications from
390+
/// this webhook, check the subscription status and latest invoice to determine whether
391+
/// payment has already been collected.
387392
/// </summary>
388393
public const string CustomerSubscriptionTrialWillEnd = "customer.subscription.trial_will_end";
389394

src/Stripe.net/Entities/BalanceTransactions/BalanceTransaction.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ public IBalanceTransactionSource Source
175175
public string Status { get; set; }
176176

177177
/// <summary>
178-
/// Transaction type: <c>adjustment</c>, <c>advance</c>, <c>advance_funding</c>,
179-
/// <c>anticipation_repayment</c>, <c>application_fee</c>, <c>application_fee_refund</c>,
180-
/// <c>charge</c>, <c>climate_order_purchase</c>, <c>climate_order_refund</c>,
181-
/// <c>connect_collection_transfer</c>, <c>contribution</c>, <c>inbound_transfer</c>,
182-
/// <c>inbound_transfer_reversal</c>, <c>issuing_authorization_hold</c>,
183-
/// <c>issuing_authorization_release</c>, <c>issuing_dispute</c>,
184-
/// <c>issuing_transaction</c>, <c>obligation_outbound</c>,
178+
/// Transaction type: <c>tax_fund</c>, <c>adjustment</c>, <c>advance</c>,
179+
/// <c>advance_funding</c>, <c>anticipation_repayment</c>, <c>application_fee</c>,
180+
/// <c>application_fee_refund</c>, <c>charge</c>, <c>climate_order_purchase</c>,
181+
/// <c>climate_order_refund</c>, <c>connect_collection_transfer</c>, <c>contribution</c>,
182+
/// <c>inbound_transfer</c>, <c>inbound_transfer_reversal</c>,
183+
/// <c>issuing_authorization_hold</c>, <c>issuing_authorization_release</c>,
184+
/// <c>issuing_dispute</c>, <c>issuing_transaction</c>, <c>obligation_outbound</c>,
185185
/// <c>obligation_reversal_inbound</c>, <c>payment</c>, <c>payment_failure_refund</c>,
186186
/// <c>payment_network_reserve_hold</c>, <c>payment_network_reserve_release</c>,
187187
/// <c>payment_refund</c>, <c>payment_reversal</c>, <c>payment_unreconciled</c>,
@@ -211,7 +211,7 @@ public IBalanceTransactionSource Source
211211
/// <c>refund</c>, <c>refund_failure</c>, <c>reserve_hold</c>, <c>reserve_release</c>,
212212
/// <c>reserve_transaction</c>, <c>reserved_funds</c>, <c>stripe_balance_payment_debit</c>,
213213
/// <c>stripe_balance_payment_debit_reversal</c>, <c>stripe_fee</c>, <c>stripe_fx_fee</c>,
214-
/// <c>tax_fee</c>, <c>topup</c>, <c>topup_reversal</c>, <c>transfer</c>,
214+
/// <c>tax_fee</c>, <c>tax_fund</c>, <c>topup</c>, <c>topup_reversal</c>, <c>transfer</c>,
215215
/// <c>transfer_cancel</c>, <c>transfer_failure</c>, or <c>transfer_refund</c>.
216216
/// </summary>
217217
[JsonProperty("type")]

src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsBizum.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@ namespace Stripe
88
[STJS.JsonConverter(typeof(STJStripeEntityConverter))]
99
public class ChargePaymentMethodDetailsBizum : StripeEntity<ChargePaymentMethodDetailsBizum>
1010
{
11+
/// <summary>
12+
/// A unique identifier for the buyer as determined by the local payment processor.
13+
/// </summary>
14+
[JsonProperty("buyer_id")]
15+
[STJS.JsonPropertyName("buyer_id")]
16+
public string BuyerId { get; set; }
17+
1118
/// <summary>
1219
/// The Bizum transaction ID associated with this payment.
1320
/// </summary>

src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCard.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,16 @@ public class ChargePaymentMethodDetailsCard : StripeEntity<ChargePaymentMethodDe
206206
[STJS.JsonPropertyName("three_d_secure")]
207207
public ChargePaymentMethodDetailsCardThreeDSecure ThreeDSecure { get; set; }
208208

209+
/// <summary>
210+
/// Transaction Link ID (TLID) is a unique identifier for a transaction. This is used by
211+
/// some card networks, such as Mastercard, for transaction linking, in addition to Network
212+
/// Transaction IDs. This value will be present if it is returned by the financial network
213+
/// in the authorization response, and null otherwise.
214+
/// </summary>
215+
[JsonProperty("transaction_link_id")]
216+
[STJS.JsonPropertyName("transaction_link_id")]
217+
public string TransactionLinkId { get; set; }
218+
209219
/// <summary>
210220
/// If this Card is part of a card wallet, this contains the details of the card wallet.
211221
/// </summary>

src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsCrypto.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,17 @@ public class ChargePaymentMethodDetailsCrypto : StripeEntity<ChargePaymentMethod
1717

1818
/// <summary>
1919
/// The blockchain network that the transaction was sent on.
20-
/// One of: <c>base</c>, <c>ethereum</c>, <c>polygon</c>, <c>solana</c>, or <c>tempo</c>.
20+
/// One of: <c>base</c>, <c>ethereum</c>, <c>polygon</c>, <c>solana</c>, <c>sui</c>, or
21+
/// <c>tempo</c>.
2122
/// </summary>
2223
[JsonProperty("network")]
2324
[STJS.JsonPropertyName("network")]
2425
public string Network { get; set; }
2526

2627
/// <summary>
2728
/// The token currency that the transaction was sent with.
28-
/// One of: <c>phantom_cash</c>, <c>usdc</c>, <c>usdg</c>, <c>usdp</c>, or <c>usdt</c>.
29+
/// One of: <c>phantom_cash</c>, <c>usdc</c>, <c>usdg</c>, <c>usdp</c>, <c>usdsui</c>, or
30+
/// <c>usdt</c>.
2931
/// </summary>
3032
[JsonProperty("token_currency")]
3133
[STJS.JsonPropertyName("token_currency")]

src/Stripe.net/Entities/Charges/ChargePaymentMethodDetailsPix.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,14 @@ public class ChargePaymentMethodDetailsPix : StripeEntity<ChargePaymentMethodDet
1515
[STJS.JsonPropertyName("bank_transaction_id")]
1616
public string BankTransactionId { get; set; }
1717

18+
/// <summary>
19+
/// Uniquely identifies this particular Pix account. You can use this attribute to check
20+
/// whether two Pix accounts are the same.
21+
/// </summary>
22+
[JsonProperty("fingerprint")]
23+
[STJS.JsonPropertyName("fingerprint")]
24+
public string Fingerprint { get; set; }
25+
1826
/// <summary>
1927
/// ID of the multi use Mandate generated by the PaymentIntent.
2028
/// </summary>

src/Stripe.net/Entities/Checkout/Sessions/SessionPaymentMethodOptions.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,10 @@ public class SessionPaymentMethodOptions : StripeEntity<SessionPaymentMethodOpti
168168
[STJS.JsonPropertyName("sofort")]
169169
public SessionPaymentMethodOptionsSofort Sofort { get; set; }
170170

171+
[JsonProperty("sunbit")]
172+
[STJS.JsonPropertyName("sunbit")]
173+
public SessionPaymentMethodOptionsSunbit Sunbit { get; set; }
174+
171175
[JsonProperty("swish")]
172176
[STJS.JsonPropertyName("swish")]
173177
public SessionPaymentMethodOptionsSwish Swish { get; set; }
@@ -183,5 +187,9 @@ public class SessionPaymentMethodOptions : StripeEntity<SessionPaymentMethodOpti
183187
[JsonProperty("us_bank_account")]
184188
[STJS.JsonPropertyName("us_bank_account")]
185189
public SessionPaymentMethodOptionsUsBankAccount UsBankAccount { get; set; }
190+
191+
[JsonProperty("wechat_pay")]
192+
[STJS.JsonPropertyName("wechat_pay")]
193+
public SessionPaymentMethodOptionsWechatPay WechatPay { get; set; }
186194
}
187195
}

0 commit comments

Comments
 (0)