Open
Description
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
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
Activity