#battbot

1 messages · Page 1 of 1 (latest)

winter echoBOT
fluid stirrup
#

hi! yep, it's type:payment because that BT represents the "payment of funds into the account" i.e. the arrival of the transfer.
The BT that has type:transfer is the one on your platform account conencted to the Transfer object.

We are unsure then how to differentiate between balance transactions that represents transfers vs balance transactions that represents normal charges
I would look at the source of the BT, which will be a py_xxx Charge object , and see if it has a value for source_transfer set(https://stripe.com/docs/api/charges/object#charge_object-source_transfer).

blazing gale
#

would API would i use to retrieve "py_xxx" objects?

fluid stirrup
#

the arrival of a transfer creates a "payment" with a special ID but it's the same object as a Charge

blazing gale
#

OK thanks. I will try it out