#vaniapsk
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. 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.
- vaniapsk-Transfer-Payout, 21 hours ago, 8 messages
@zinc plover when listing balance transactions, it's not possible to filter by created
Is there a specific doc you're referencing?
well, I can filter by created, If i ran that query that I just mentioned above it will return the data
But if it is not possible to run the curl call with an specific date, is it possible to expand a transaction object to display the payout information?
What I am trying to to is to retrieve a payout of a given transfer id
It'll be crucial to talk about specific terms here so we're both on the same page. Just to be clear, you currently have a Payout object ID (po_...) and you want to find the transactions that were bundled in that Payout?
No. I currently have a transfer_id (retrieved after creating a transfer between connect accounts) and this transfer id is currently being stored in my DB.
I would like to retrieve the payout object of that given transfer id
Gotcha. Give me a few more minutes please!
thank you!
Okay, I think there's a step missing here. Given a transfer ID, you should be able to look at the Transfer's destination_payment; this value corresponds to the Charge (should be in the format "py_...") that lives on the Connected account. Retrieve this Charge and look at its balance_transaction, specifically the available_on property. The value of available_on should correspond to the date when these funds are supposed to be released.
You can use that timestamp to list payouts on the connected account and pass the available_on value as arrival_date[gte]
ok so the only way is by matching the available_on date on destination_payment to created date on the payout?
Right. Once you get some payout object IDs, you can use the list balance transactions API to retrieve transactions for a given payout object ID
But those timestamps are different.
You can use that timestamp to list payouts on the connected account and pass the available_on value as arrival_date[gte] I don't think I'll get anything
When you list payouts, if you pass an arrival_date[gte] value that is available_on and arrival_date[lte] value of the next date, do you get any results?
what is gte and lte?
Hi @zinc plover I'm taking over this thread
gte means "greater than or equal", and lte means "less than or equal"
got it, thanks.
I'm not sure how to put that conditional in place
what I have right now:
stripe payouts list \ --stripe-account 'acct_1OP9e3RN8LzAYdis' \ --arrival-date '1703114562'
and that doesn't return anything
https://stripe.com/docs/api/payouts/list --arrival-date isn't a valid param for this API.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I'll suggest you only use documented params in your integration.