#Mosh-Account

1 messages · Page 1 of 1 (latest)

regal tulip
#

I think its AccountCapabilitiesOptions

#
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);
ripe nimbus
#

Thanks for the response, I tried to use that but stripe class don't have such a class call AccountCapabilitiesOptions

regal tulip
#

Ah I see, it's not available on your version

#

37.21.0

#

You need at least 37.21.0

ripe nimbus
#

Ah haa got it. Ill update the NPM

#

It worked, Thanks