#divya.shalini.ics

1 messages ยท Page 1 of 1 (latest)

eager jungleBOT
#

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.

mystic venture
#

Hi ๐Ÿ‘‹ can you share more details about your question/concern?

verbal wing
#

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?

mystic venture
#

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.

verbal wing
#

Oh ok, but then how we can check that transaction is associated with which payment?

mystic venture
#

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.

verbal wing
#

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?

mystic venture
#

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.