#battbot
1 messages · Page 1 of 1 (latest)
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 thesourceof the BT, which will be apy_xxxCharge object , and see if it has a value forsource_transferset(https://stripe.com/docs/api/charges/object#charge_object-source_transfer).
would API would i use to retrieve "py_xxx" objects?
Charge API i.e. https://stripe.com/docs/api/charges/retrieve
the arrival of a transfer creates a "payment" with a special ID but it's the same object as a Charge
OK thanks. I will try it out