@stripe In #connect #DirectCharge BalanceTransaction.retrieve with "txn-code" from charge gives "No such balance transaction". Why? Is it a bug?
I finally got the data only with expand=['balance_transaction'] in charge.
#python #django #payments #programming
Hm, are you passing the Stripe-Account header when attempting to retrieve the Balance Transaction by its ID? You can find more details here:https://stripe.com/docs/connect/authentication#stripe-account-header …
-
-
Exactly same balance_transaction.retrieve worked perfectly after normal charge. But when I changed charge to "direct charge", by adding stripe_account value, It couldn't retrieve BT.
-
The BT lives on the connected account when you do a direct charge, which is why you need to use `Stripe-Account` in the `retrieve` call.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.