#kasturi-more_api

1 messages · Page 1 of 1 (latest)

ivory yewBOT
#

đź‘‹ 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/1364693572712009810

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

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.

limpid linden
#

Hello there

#

You are listing payouts on your Connected Account?

stiff prairie
#

yes

limpid linden
#

Gotcha well then you already know the Connected Account ID as you have to pass it via the Stripe Account Header to make this request to begin with.

#

So yeah, it is expected that you wouldn't see the account ID in the response.

stiff prairie
#

no. We are calling List Payouts with client type - test/live and created after param. So we would like to get accounts related to payouts in the response

limpid linden
#

Can you show me the relevant code here?

stiff prairie
#

request -

limpid linden
#

stripeClientType is not a paramter that our API accepts

#

Also this is not your code -- this is a third party tool

stiff prairie
#

response -

#

request on BE - iter := s.stripeClient.Payouts(ctx).List(params)
with following settings -
pcontext.WithRequestContext("test/live")
params.AddExpand("data.destination")

limpid linden
stiff prairie
limpid linden
#

Can you give me that payout ID in text? Then I can also check on that.

stiff prairie
#

po_1RGxI9HFzwE4pTgec2szW5e9

limpid linden
#

Hmm that payout appears to be on your platform account, no?

stiff prairie
#

Could you please elaborate it more?

limpid linden
#

Let's back up.

#

What are you trying to do?

stiff prairie
#

We're implementing a payouts feature where we need to store payout data on our end. To support this, we’d like to establish a mapping between accounts on the Weave side and corresponding accounts on the stripe end

limpid linden
#

Okay and when you say "between accounts on the Weave side" you mean your Connected Accounts?

#

Or do you have multiple of your own accounts that you use directly

stiff prairie
#

our connected accounts

#

example -

limpid linden
#

Otherwise you are just listing payouts on your own account.

stiff prairie
#

Okay, I think I may not be explaining my requirements clearly.

What we're trying to achieve is this: when a client type is provided in the request, we want to retrieve all the payouts created for that client type. Additionally, we’d like the response to include the account information—that is, the customer account to which the payout was sent.

limpid linden
#

That is the same thing you said previously and my same answer holds. If you want to see the payouts sent to your Connected Accounts then you list them using the Connected Account ID. There is no API that just "lists all of my payouts sent to all of my Connected Accounts".

stiff prairie
#

what about getting an accountID using bank_account?

#

or any other way we can link it?

limpid linden
#

Why do you need to link it? It is linked by the requirement that you must use the Connected Account ID to retrieve a Connected Account's external accounts or payouts or do anything on their account.

#

If you really wanted to then you could set metadata with the account ID

#

But that really makes no sense to me why you would want to do that.

stiff prairie
#

We can't set metadata since we only support automatic payouts at this moment.

limpid linden