#hedgehog_cartographer-

1 messages · Page 1 of 1 (latest)

livid kernel
#

I don't believe so, as Balance Transactions are only associated with the object and event that caused them (e.g. refund BTs are only associated with refund objects).

Does source_id surface anything useful?

fiery saffron
#

True, but refunds has an FK to charges, so I can link them. Same with disputes — I can grab charge_id from the disputes table, so all is ok. The exception seems to be adjustments.

#

Let me take a look at source_id on balance_transactions

#

Aah, I see now — source_id on balance_transactions captures the original dispute / refund id in the case of a dispute reversal / refund failure, respectively. I also do not see any null entries. So that should work! Thank you.

#

Much appreciated @livid kernel , have a great day