#Amer Bearat
1 messages · Page 1 of 1 (latest)
Does the balance transaction for that charge ch_3Mo8H3LcZsW8iWbK1LC9lw1a show up?
The Charge is what more directly affects the balance so the transaction may only have its ID
let me check
no it's not
this pi_3MoCorLcZsW8iWbK1q6krBAs payment is showing but not pi_3Mo8H3LcZsW8iWbK1PzmYPos payment
i dont know why
Gotcha, thanks for the info. Trying to figure out what might be going on here
👋 you are using type=payment
That will only return LPM payments like bank debits
If you want the charge associated with pi_3Mo8H3LcZsW8iWbK1PzmYPos then you need type=charge
Or to exclude type altogether
let me try
okay i called this endpoint
https://api.stripe.com/v1/balance_transactions?payout=po_1MoG9jLcZsW8iWbK0LEKDeyZ&expand[]=data.source
ch_3Mo8H3LcZsW8iWbK1LC9lw1a charge id and pi_3Mo8H3LcZsW8iWbK1PzmYPos payment id are not part of the list.
i do see this pi_3MoCorLcZsW8iWbK1q6krBAs payment id and others in the list.
let me try that
it did show when i did type=charge
We want to get all (card, us_bank_account) payments, and refund types. what will be the types that i need to call for all those
Hmm it really should show all balance transactions when you omit type. Otherwise you can see the different type options here: https://stripe.com/docs/api/balance_transactions/list#balance_transaction_list-type
So you want charge payment refund
And likely payment_refund as well