#tatva

1 messages ยท Page 1 of 1 (latest)

azure cloakBOT
spare torrent
#

We need date, description and amount from payment object

kindred vessel
#

Hi there, If you are using auto payout, you can pass in the payout ID to list all balance transactions API (https://stripe.com/docs/api/balance_transactions/list?lang=php#balance_transaction_list) to retrieve the list of balance transactions created on connected account.

spare torrent
kindred vessel
#

You should specify a stripe_account in the request.

By specifying a stripe_account, you are telling Stripe that you want to make an API call on behalf of a connected account. You can refer to this doc to learn more about making API request for connected account (https://stripe.com/docs/connect/authentication)

Learn how to add the right information to your API calls so you can make calls for your connected accounts.

spare torrent
#

ok i got the transaction list

#

now i need transfer id from transction

kindred vessel
#

If the balance transaction's type is payment, you can get the payment object by expanding the source property https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-source
From the payment object, you can get the original transfer ID (which was created in platform) by looking at its source_transfer property (https://stripe.com/docs/api/charges/object#charge_object-source_transfer)

spare torrent
#

how do i retrieve payment from payment id that i got from transaction details?

#

@kindred vessel

kindred vessel
spare torrent
#

@kindred vessel how can found description from destination_payment of charge details.

#

I got this details

kindred vessel
#

You mean the description of the original payment_intent?

spare torrent
#

yes

#

the final step ๐Ÿ™‚

kindred vessel
#

It should be inside the source_transaction of this transfer.

spare torrent
#

@kindred vessel you are awesome. I love you ๐Ÿ˜

#

You made my day

#

Thanks for your help ๐Ÿ™‚

kindred vessel
#

Welcome! happy to help.

spare torrent
#

I am deleting some of my message because it has some client account details.