#vaniapsk

1 messages · Page 1 of 1 (latest)

golden heronBOT
#

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.

vocal tundra
#

@zinc plover when listing balance transactions, it's not possible to filter by created

#

Is there a specific doc you're referencing?

zinc plover
#

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

vocal tundra
#

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?

zinc plover
#

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

vocal tundra
#

Gotcha. Give me a few more minutes please!

zinc plover
#

thank you!

vocal tundra
#

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]

zinc plover
#

ok so the only way is by matching the available_on date on destination_payment to created date on the payout?

vocal tundra
#

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

zinc plover
#

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

vocal tundra
#

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?

golden heronBOT
zinc plover
#

what is gte and lte?

opaque light
#

Hi @zinc plover I'm taking over this thread

#

gte means "greater than or equal", and lte means "less than or equal"

zinc plover
#

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

opaque light
zinc plover
#

it works though

opaque light
#

I'll suggest you only use documented params in your integration.

zinc plover
#

I am trying to find a solution for my problem.

#

I currently have no way to retrieve a payout giving a transfer id