#doooosk
1 messages ยท Page 1 of 1 (latest)
Hello
Hi!
Can you share the Payout ID where you don't see any balance transactions?
Is it a manual payout by chance?
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
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
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
No there is no way to know this really.
You likely want to just list using both types
Thank you so much!
I do have one more question. Shall I open a new request or can I ask here
You can ask here
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
You could update the Payout to set the trace number as metadata
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)
There isn't a way to retrieve this trace ID from the API, no.
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?
Got it. So no way to query the payout from its trace ID
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
Why are you specifying type to begin with?
Should I not be doing that?
You can see all the different type options here: https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-type
But it is optional
So if you just want all balance transactions then just omit that parameter
Ah, okay!
Yeah that's not possible, sorry.
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
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.
Got it. Thanks a bunch