You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RefundCreateOptions has a Currency property in it but that parameter isn't present in the API docs. So, if I set it to something in the code I get an error response back from Stripe about an unknown parameter.
To Reproduce
var refund = await refundService.CreateAsync(
new RefundCreateOptions {
PamentIntent = payment.PaymentIntentId.Id,
Amount = X,
Currency = "gbp"
});
Expected behavior
I suppose, the Currency property shouldn't exist in the RefundCreateOptions? Or maybe be marked as [Obsolete] if it once was possible (so as not to break existing implementations)?
Code snippets
No response
OS
Win11
.NET version
net7
Library version
stripe-dotnet 43.0.0
API version
2023-10-16
Additional context
No response
The text was updated successfully, but these errors were encountered:
@markjerz Sorry for the confusion. The currency parameter is only allowed in specific cases and shouldn't be in the library today. We'll look into a fix!
Describe the bug
RefundCreateOptions has a
Currency
property in it but that parameter isn't present in the API docs. So, if I set it to something in the code I get an error response back from Stripe about an unknown parameter.To Reproduce
Expected behavior
I suppose, the Currency property shouldn't exist in the RefundCreateOptions? Or maybe be marked as [Obsolete] if it once was possible (so as not to break existing implementations)?
Code snippets
No response
OS
Win11
.NET version
net7
Library version
stripe-dotnet 43.0.0
API version
2023-10-16
Additional context
No response
The text was updated successfully, but these errors were encountered: