#doooosk

1 messages ยท Page 1 of 1 (latest)

slow pikeBOT
woven pier
#

Hello

sinful forge
#

Hi!

woven pier
#

Can you share the Payout ID where you don't see any balance transactions?

#

Is it a manual payout by chance?

sinful forge
#

po_1OAQdVIaxKalnW4CvjGQL1HC

#

This is the payout ID

#

I'm not sure if it's a manual payout.

We're basically a financial institution, and our customers open bank accounts with us.

One of our features is Stripe integration.

So, they got a payout to the bank account they have with us. They've also saved their API keys with us. We are basically fetching the payout details for them for the payout the receive on their bank accounts

woven pier
#

Ah it is because you are using type: charge for the balance transactions. This Payout is made up of Link payments which are type: payment

#

So try using type: payment instead here

sinful forge
#

Ah.

Is there a way for us to tell which type to specify?

#

Because you can see, it has been working fine for us with type: charge

#

If we could tell which type to use, that'd be awesome

woven pier
#

No there is no way to know this really.

#

You likely want to just list using both types

sinful forge
#

Let me try type: payment really quick. Will let you know if it works

#

It worked!!

woven pier
#

๐Ÿ‘

#

๐ŸŽ‰

sinful forge
#

Thank you so much!

#

I do have one more question. Shall I open a new request or can I ask here

woven pier
#

You can ask here

sinful forge
#

In our banking rails, we get the following data.

Is there a way we can associate the trace_number with a payout?

#

On the FE, we're able to see this trace number (on the payout page)

#

I wonder if we can reverse query it and get the associated payout ID using this trace number

woven pier
#

You could update the Payout to set the trace number as metadata

sinful forge
#

Unfortunately, that requires us to know the payout ID beforehand

#

Currently, we are just querying the user's past payouts and try to match the transaction that hit our banking rails against a number of their past payouts (transaction amount and transaction recipient)

When we get a match, we then use that payout ID to fetch the payout details (code I shared with you earlier)

woven pier
#

There isn't a way to retrieve this trace ID from the API, no.

sinful forge
#

My other question is, apart from type: charge and type type: payment, are there any other types we should watch out for, or just querying for these 2 will do the trick?

sinful forge
#

We do not want to retrieve the trace ID from the API. We just wish to query Stripe by sending the API this trace number, and get the associated payout object/id

woven pier
#

Why are you specifying type to begin with?

sinful forge
#

Should I not be doing that?

woven pier
#

But it is optional

#

So if you just want all balance transactions then just omit that parameter

sinful forge
#

Ah, okay!

woven pier
sinful forge
#

Understood. Any chance it could be added in the future? Or is this something that Stripw would never do due to some policy / some other issue

woven pier
#

So actually what you should do is you should reach out to our Support team via https://support.stripe.com/contact/login and ask about access to the trace ID for the Payout API. They might be able to help you out -- we just don't support that feature publicly right now.

sinful forge
#

Got it. Thanks a bunch