#ben-syndica
1 messages · Page 1 of 1 (latest)
Balance Transactions should return refunds for a Customer: https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-type
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Thanks, it looks like that is not for a given customer_id but for our entire account
We're currently using - https://stripe.com/docs/api/customer_balance_transactions/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
But that does not return refunds
As far as I know, the method you're using should return refunds. I don't see any reason why it wouldn't
I've made a refund in test env and it does not return it. Refund is not listed in the types - https://stripe.com/docs/api/customer_balance_transactions/list
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Do you have an example Customer ID I can look at?
Ah, okay. So there is sometimes a 24 hour delay on Balance Transaction data availability I believe. But let me double check
Okay, yeah. Unfortunately the Balance Transactions API is delayed by 24 hours, so you should expect those balance transactions to show up for that customer tomorrow