Reputation: 57
My requirement is to pay out money directly to the user, users will provide their bank account and money will be directly transferred to their given bank account number. Bank details will be provided by the user and it's not fixed every time. so I cant manually add a bank account to stripe. in this context, I am using TokenBankAccountOptions in stripe and written the following code for bank account create.
var options = new TokenCreateOptions
{
BankAccount = new TokenBankAccountOptions
{
Country = "US",
Currency = "usd",
AccountHolderName = "Jenny Rosen",
AccountHolderType = "individual",
RoutingNumber = "110000000",
AccountNumber = "000123456789",
},
};
var service = new TokenService();
Token striptoken = await service.CreateAsync(options);
await Transfer(striptoken.Id);
Now I want to transfer or payout money to a given bank account but the stripe not taking any bank details in payout options or transfer options.
Upvotes: 0
Views: 687
Reputation: 8737
As @sinanspd mentioned, you need to use Stripe Connect for this, and I'd also recommend checking with Support to make sure your use case is supported.
Upvotes: 1