#Mosh-Account
1 messages · Page 1 of 1 (latest)
I think its AccountCapabilitiesOptions
From the Doc here: https://stripe.com/docs/api/accounts/create?lang=dotnet
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
var options = new AccountCreateOptions
{
Type = "custom",
Country = "US",
Email = "jenny.rosen@example.com",
Capabilities = new AccountCapabilitiesOptions
{
CardPayments = new AccountCapabilitiesCardPaymentsOptions
{
Requested = true,
},
Transfers = new AccountCapabilitiesTransfersOptions
{
Requested = true,
},
},
};
var service = new AccountService();
service.Create(options);
Thanks for the response, I tried to use that but stripe class don't have such a class call AccountCapabilitiesOptions
Ah I see, it's not available on your version
Stripe.net is a sync/async .NET 4.6.1+ client, and a portable class library for stripe.com. - stripe-dotnet/AccountUpdateOptions.cs at v37.20.0 · stripe/stripe-dotnet
Here is on master: https://github.com/stripe/stripe-dotnet/blob/master/src/Stripe.net/Services/Accounts/AccountUpdateOptions.cs#L38
Stripe.net is a sync/async .NET 4.6.1+ client, and a portable class library for stripe.com. - stripe-dotnet/AccountUpdateOptions.cs at master · stripe/stripe-dotnet
37.21.0
You need at least 37.21.0