简体   繁体   中英

Want to payout money to another bank account using stripe

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM