#tatva
1 messages ยท Page 1 of 1 (latest)
We need date, description and amount from payment object
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.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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)
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)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
how do i retrieve payment from payment id that i got from transaction details?
@kindred vessel
You can use the retrieve charge API to retrieve the payment object https://stripe.com/docs/api/charges/retrieve?lang=php#retrieve_charge
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
@kindred vessel how can found description from destination_payment of charge details.
I got this details
You mean the description of the original payment_intent?
It should be inside the source_transaction of this transfer.
@kindred vessel you are awesome. I love you ๐
You made my day
Thanks for your help ๐
Welcome! happy to help.
I am deleting some of my message because it has some client account details.