#birving_connect-node

1 messages ¡ Page 1 of 1 (latest)

sleek auroraBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1263521698112868466

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

foggy ore
#

What's the goal exactly? That api endpoint you're calling is to list payment methods by customer (cus_123 not acct_123)

#

Are you trying to list all payment methods stored on the connect account?

chilly basalt
#

Im using the node sdk and the function im using is:
stripe.paymentIntents.create

foggy ore
#

That above request does not use the payment intents endpoint

#

Above request was to GET /v1/payment_methods

chilly basalt
#

Are you saying the method "stripe.paymentIntents.create" is for getting a list?

foggy ore
#

I'm not

#

I'm saying that the above request is not stripe.paymentIntents.create

chilly basalt
#

The want is to send money from one connected account to another

foggy ore
#

You shared req_LOWpuy1k04PV88

#

Which is not a request to create a payment intent

#

It's a request to retrieve payment methods

sleek auroraBOT
chilly basalt
#

Ah gotcha, how can i get the payment list from connected accounts

snow mica
#

birving_connect-node

foggy ore
#

It'll be all the same endpoints. The difference is you need to pass a stripe account header to make the request on the connect account

chilly basalt
#

Is a customerId required to get a list of payment methods for a stripe connected account?

#

Is there a way using the apis to have one stripe connected account charge another stripe connected account?

snow mica
#

Is a customerId required to get a list of payment methods for a stripe connected account?
The way you framed this tells me you're likely mixing up fundamental concepts about our products and APIs. Don't worry it's normal, it can be confusing at first.
In our API

  • A Customer represents an individual/entity trying to pay for a service. John Doe buys cookies from you for $12
  • An Account represents an individual/entity being paid for a service they provide. Cookie Factory sells cookies boxes for $12.
  • A Platform is the Stripe account that facilitates payments on behalf of other entities.

You are a platform. You have 2 connected Accounts that are providing services/goods and you are helping them accept payments from their Customers

Does that make sense first?

chilly basalt
#

Yessir that makes sense. And yes, it seems ive misused the api. So Accounts charge Customers and the Platform facilitates said transaction.

snow mica
#

yes. So now with that said: are you a platform? Or are you a business trying to accept payments for your own customers?

chilly basalt
#

i'd be the platform but i think i need to refactor what i have and get back to you. I thought it'd be possible for 2 Accounts to charge eachother, but now i see each Account charges Customers, something i dont have implemented yet

snow mica
#

yeah it's a bit confusing at first the whole set up