#birving_connect-node
1 messages ¡ Page 1 of 1 (latest)
đ 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.
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?
Im using the node sdk and the function im using is:
stripe.paymentIntents.create
That above request does not use the payment intents endpoint
Above request was to GET /v1/payment_methods
Are you saying the method "stripe.paymentIntents.create" is for getting a list?
The want is to send money from one connected account to another
You shared req_LOWpuy1k04PV88
Which is not a request to create a payment intent
It's a request to retrieve payment methods
Ah gotcha, how can i get the payment list from connected accounts
birving_connect-node
To make a request on a connect account see: https://docs.stripe.com/connect/authentication
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
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?
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?
Yessir that makes sense. And yes, it seems ive misused the api. So Accounts charge Customers and the Platform facilitates said transaction.
yes. So now with that said: are you a platform? Or are you a business trying to accept payments for your own customers?
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
yeah it's a bit confusing at first the whole set up