#imaliveagain.
1 messages · Page 1 of 1 (latest)
Hello! Can you give me the ID of the Payment Intent so I can take a look?
py_3NnpUKIJwkxnVmNV0nqS5Qtz
Looking, hang on...
This balance transaction is the only place I can find a reference to a 4 dollar bank fee in the whole transaction txn_1NpHh0IJwkxnVmNVsifxCzet
I believe that's correct, yep. We charge failure fees separately from the transaction itself.
Is that charge to us the platform or to the connected account. I am trying to figure out how/if i need to account for this 4 dollar fee to the connected account
whose bank is it coming out of?
In this case it looks like it's coming out of your platform account's balance. That said, we're not experts on fees here, we focus on technical questions about the API, code, etc. Stripe support will be able to help you with fee questions better than I can: https://support.stripe.com/contact/email
Ok I can contact support but if that is happening shouldn't I see a balance transaction for it?
I thought txn_1NpHh0IJwkxnVmNVsifxCzet was the Balance Transaction?
It is for the amount reversal but where is that 4 dollars coming from? Should I be using net field rather than amount for reconciling balance affecting transactions?
Let me take another look, hang on...
Ok I think what I am asking now is what is the best way to listen for this fee. Should I listen for a charge.failed then take the balance transaction for that and get the fee detailed to account for this charge to our platform account?
Is there a consistent way programmatically to identify this fee?
"id": "txn_1NpHh0IJwkxnVmNVsifxCzet",
"object": "balance_transaction",
"amount": -4457,
"available_on": 1694467850,
"created": 1694467850,
"currency": "usd",
"description": "Funds reversed due to payment py_3NpHgoIJwkxnVmNV12FYgH6D failed",
"exchange_rate": null,
"fee": 364,
"fee_details": [
{
"amount": 400,
"application": null,
"currency": "usd",
"description": "Payment failure fees",
"type": "stripe_fee"
},
{
"amount": -36,
"application": null,
"currency": "usd",
"description": "Stripe processing fees",
"type": "stripe_fee"
}
],
Can I rely on if the description is "Payment failure fees" I can assume this is related to the charge and coming out of our Platform account?
Sorry for the delay, trying to figure out what we're looking at.
no problem thanks for your help
It seems like txn_1NpHh0IJwkxnVmNVsifxCzet is for py_3NpHgoIJwkxnVmNV12FYgH6D which is different than the charge you originally asked about (py_3NnpUKIJwkxnVmNV0nqS5Qtz).
man I am so sorry it must have been a cut and paste error. py_3NpHgoIJwkxnVmNV12FYgH6D is the source of the charge I have been looking at
I think txn_1NnpUaIJwkxnVmNVnA37yR52 is the one you want.
Yes its another transaction I was testing but same concept.
May I rely on the description is "Payment failure fees" to find out how much to charge the connected account
Ah, found it!
You can listen for charge.failed Events and look at the failure_balance_transaction.
Look here, for example: https://dashboard.stripe.com/test/events/evt_3NnpUKIJwkxnVmNV0SBLrpq4
That's how you can get to the Balance Transaction programmatically and then you'll have the info you need to take the appropriate next steps.
OK this is great thank you!
Happy to help! Sorry it took a bit of time to figure out. 🙂