#GeorgeSonorus
1 messages · Page 1 of 1 (latest)
Fee details are included in Balance Transaction objects, but there's no events for them
You likely just want to listen for payment_intent.succeeded and then you can get the associated fee details via the API: https://stripe.com/docs/expand/use-cases#stripe-fee-for-payment
I do get stripe fees related to a transaction like you mentioned but we also have stripe fees for automatic tax
will this be included in Balance transaction object?
That'd be a separate Balance Transaction object unassociated to the payment I believe (as I think we group those fees)
If I search for balance history I can find it but I would like to have an instant trigger when that happens
Yeah just doesn't exist right now I'm afraid
maybe I can setup a webhook for every new transaction and then I can use filters to get the ones that are for automatic tax
Seems like a reasonable solution. But as I said, I think the auto tax fees are debited in batches as opposed to one fee per payment
I may be wrong about that, don't know how the pricing works
As far as I know they are not directly related to a payment
Since those stripe fees are in the list of all payments, is there an event that I can use that would possibly be triggered when that fee is created?
'All payments' essentially lists all balance activity on the account, which is represented as a Balance Transaction: https://stripe.com/docs/api/balance_transactions
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
And as stated, no events for those objects
You're likely going to need to create a job/queue that periodically polls the API to do what you want
Thank you for your help!