#divya.shalini.ics
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.
- divya.shalini.ics, 3 days ago, 43 messages
Hi ๐ can you share more details about your question/concern?
Yeah sure
I am using balance transactions list for getting details against a payout.
My requirement is to get all the charges against transactions
We have multiple types as well
So is there a way we can get charge id of every transactions irrespect to its type?
I'm not quite sure I'm grasping the question, but I believe the answer is "no" since not every type of Balance Transaction is associated with a Charge object that association doesn't always exist.
Oh ok, but then how we can check that transaction is associated with which payment?
Do you have an example of a specific Balance Transaction you're working with? With how many types there are, trying to discuss this hypothetically can be tricky, having a firm example that we're both looking at can help make sure we're aligned.
I am not having any example at the moment
But generally in transactions what would be the way to get charge id?
And what all general type could come?
In general, the source field on the Balance Transaction object points to the object that caused it to be created:
https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-source
It's hard to say what types to expect back without understanding all the features you're integration is leveraging. For instance, if you're not using Stripe Issuing, then you shouldn't see issuing related Balance Transactions being created.
If you're listing Balance Transactions that are included in an automatic payout, I would expect that to mostly be payment and refund related Balance Transaction types. If you have your integration built in test mode, you can also run several transactions through it, then inspect what Balance Transaction types are created for your Connected Account to see exactly what your integration will create.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.