#Babu Munavarbasha

1 messages · Page 1 of 1 (latest)

ripe ledgeBOT
vocal dock
#

I am setting up the intent under connected account

acoustic seal
#

Hi there, it depends where you want the payment method to be created

#

For Direct Chrage, the payment method should be created on connected account

#

For Destination charge, the payment method should be created on platform

vocal dock
#

it is direct charge, so i am doing it rightly. But why am i getting 404

#

error

acoustic seal
vocal dock
#

req_VargQebAMiaUTK

acoustic seal
#

OK, this setupIntent was created in connected account. You should specify a stripe_account in the request.

By specifying a stripe_account, you are telling Stripe that you want to make an API call on behalf of a connected account. You can refer to this doc to learn more about making API request for connected account (https://stripe.com/docs/connect/authentication)

Learn how to add the right information to your API calls so you can make calls for your connected accounts.

vocal dock
#

I am doing the confirmCardSetup for the intent on client side. Where do i mention stripe_account

#

I am passing the stripeAccountId for creating the intent.

acoustic seal
#

What kind of client?

vocal dock
#

Single page application

acoustic seal
#

so a web appliaction

vocal dock
#

Do I need to pass the stripe account id to client. The client secret should suffice i would think

#

okay sorry, Yes i am doing it for the other payments.

#

makes sense.

acoustic seal
#

there's how you specify the stripe-account header for webpage

vocal dock
#

okay thanks

#

This is so helpful to chat to someone so quick.

#

while building using stripe