#newtreyes_api
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/1349420836615880856
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
Yes, Sir
Hmmm... well it's not the Trace ID...
So essentially they want you to return the ID the bank assigned to this payout?
I am not sure
We are already showing the Trace ID to them, but they are saying that's not what they want and that they were able to retrieve the ST-xxx id somehow from their side.
Are we missing something? Is there any way to retrieve it using the API somehow?
Can you confirm if that's possible at all?
I suspect this is something generated by their bank but I am digging through internal docs to see if there are any IDs we have access to that match that format
Thank you, Sir
One interesting thing: they are saying they were able to retrieve that value from the following URL: https://api.stripe.com/v1/payouts/po_1PfxUfEnPb0G2KZSoZouSmpW
Okay, that a Retrieve Payouts API call so that would suggest it's on the Payout object.
Do you have the Payout ID or the account ID?
Oh wait..duh
reference_token ST-G2K7Y4R2T2C2
Which, according to our docs is a Preview feature
Interesting
Is there anything we should do on our side to enable the retrieval of this field?
Also, which account id is payout po_1PfxUfEnPb0G2KZSoZouSmpW related to?
acct_1Hk96kEnPb0G2KZS
And as for retrieving this field, it should be available. Let me test this with my own code.
@silent cypress Is this acct_1Hk96kEnPb0G2KZS a connected account?
Shouldn't you know?
Okay I can retrieve this data using an old API version 2020-08-27 with the following code (in Python)
po = stripe.Payout.retrieve('po_1PFnIuIlCeH6bP8RiLUTTdhS')
print(po.reference)
the problem is that the customer sent us that payout id
I thought it was a payout from one of our connected accounts
but I tried retrieving using out platform accounts and the acct_1Hk96kEnPb0G2KZS that you gave me but I was not able to
So, I am starting to guess if this might be a payout from an account that is not related to our platform accounts
Does that make sense?
Sorry if I am making some silly mistake here
It's not a connected account
Ok
that's interesting
Let me show you something
That's a payout from one of our connected accounts
I don't see that reference_token in there
Hmmm... I just made a request for a Connected Account's payout object and I got the reference.
What API version are you on?
Can you try retrieving this one?
stripe.Payout.retrieve('po_1R1dqfQ1cjPdOgQWIoommHLe',stripe_account="acct_1R1XHDQ1cjPdOgQW")
I am using the Python Stripe library
No, that isn't my connected account
I thought you might had access to any account on your side
I can look up the raw Payout object. And I see reference_token ST-K4M9O3D2D3X6
why could it be that we can't see it neither from Python nor from curl / postman
?
Also, I can't see the reference_token field in the docs
maybe because it's a preview feature?
I'm not sure that would make sense. It isn't private or gated. What is the default API version for your account?
Okay... I see I have an API version explicitly coded here. I am using 2024-04-10 and stripe-python v9.3.0
stripe 11.6.0
Using the same api version gives the same result
Created a new test using stripe-python v9.3.0
Same thing
Could this be something related to our platform or test connected account?
Hi, taking over as my teammate needs to step away. Let me catch up.
Still looking, hang tight
thank you
After reviewing this with a teammate, it looks like that is not supported by default and you would need to be added to a special feature to see this detail. Our support team will be able to assist you better than I can: https://support.stripe.com/contact
What is it exactly that I will need to request?
access to the reference_token payout field?
yes, payout.reference_token