#mike_06860

1 messages · Page 1 of 1 (latest)

night harborBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

vernal edge
rotund quail
#

sure, one second

#

req_eBrEaiUaaQldsR

vernal edge
rotund quail
#

hmmm, my code looks just like the sample for creating the intent I think:

{
    Customer = accountId,
    FlowDirections = new List<string>() { "outbound"},
    AutomaticPaymentMethods = new SetupIntentAutomaticPaymentMethodsOptions() { Enabled = false },
    PaymentMethodTypes = new List<string>() { "card", "us_bank_account" }
};


var svc = new SetupIntentService();
var intent = await svc.CreateAsync(options).ConfigureAwait(false);

return intent.ClientSecret;
#

under the direct-api section

vernal edge
#

Which country did you seleect?

rotund quail
#

we are US only, but I didn't select a country in the documentation

vernal edge
#

The code example I saw is using external accounts API, not payment methods API

rotund quail
#

that's weird, your docs look very different from mine:

#

Oh, I missed the part in the docs that says to create a customer for each connect account

#

How do I link the customer to the connect account though? That's what I was doing originally, but it wouldn't let me use the customer's payment method with the connect account

vernal edge
#

Which section of the doc that you are currently following?

rotund quail
#

(i.e. to transfer money from the connect account to the customer's payment method)

vernal edge
#

"(i.e. to transfer money from the connect account to the customer's payment method)" -> no I don't think it's possible.

rotund quail
#

Direct API, enable stripe financial connections:

#

This is the part that is confusing me:

Server-side
Insert a button or link on your onboarding form that calls a server-side endpoint to create a SetupIntent. The SetupIntent represents your intent to collect a connected account’s bank account information. For example, your button might say Link your bank account.

We recommend creating a Customer to correspond to each connected account. When creating a SetupIntent to collect bank account details for a connected account, set the following parameters:```
#

specifically the second paragraph

vernal edge
#

Just want to clarify what you want to achieve here, you can transfer funds from connected account's Stripe balance to connected account's external account (i.e., bank account), but there's no ways to move fudns from a Stripe account's balance to a customer's payment method.

rotund quail
#

So I have the code in place to do a payout. The problem is, I can't add any payout methods from my UI because I can't figure out how to add one to a connect account. For testing, I was able to use the testing codes for adding a payout method (that don't require any setup intents or anything to create), but I can't figure out how to create a valid bank or card token for a connect account

#

My understanding was, I need to create a setupintent, pass the client secret to angular site, then use stripe elements to go through the add payment method flow (with us_bank_account and card selected)

#

but I can't seem to make a valid setupintent with an ID that starts with "acc_"

#

I am trying to make that "add card/bank button work"

vernal edge
rotund quail
#

I don't have to use the financial connections way if its not generally available, I just want to know what the normal way is for adding a "Payout" method

rotund quail
#

So I would need to create the form to collect the bank or credit card info?

vernal edge
#

Yes you are right.

rotund quail
#

We are creating custom Connect accounts using the API though, so I am not sure that method would work

vernal edge
#

It would, have you tried?

rotund quail
#

That looks like what I was doing with express accounts before, if the user left in the middle of the express account creation....

#

I think I have what I need though, I see the Token api endpoints and if I use my own form I should be able to make it work