#Sam_Praveen-customer-transaction

1 messages ยท Page 1 of 1 (latest)

night bough
#

Hi there ๐Ÿ‘‹ just to make sure we're aligned, could you provide the prefix for the ID of a Transaction object that you're referring to?

sudden brook
#

txn_xxxxxxxxxxxxxx

night bough
#

Gotcha, so you're looking at Balance Transactions. Balance Transactions represent funds moving through your Stripe account, and aren't directly related to a Customer.

The type field on the Balance Transaction object will give you an understanding of the type of action that created the Balance Transaction, and then you can look at the source field to find the related Stripe object.

For example, if type is charge then source will have a Charge object that you can work backwards from to the find the related Customer.

sudden brook
#

Ok so what will be the API to check this in backword?

night bough
sudden brook
#

Ok Thanks for this. One more question related to the same. Instead of Transaction ID if I provide Charge id like this ch_xxxxxxxx then?