#JohnM 0 fees
1 messages · Page 1 of 1 (latest)
Hello, do you have an example ID of a payment intent (pi_123) here that you saw this for?
py_1LVj4hHFDCZvO5mL4UtvwZOn
Thank you. I will check in to that and get back to you on what I can find
What do you mean by "trap the fee" exactly?
currently I use the balance transaction to save the fee associated with the payment. This is used in order for us to track the actual cost of payment to us so we can pass the cost along to the customer. We store this cost in our database.
The intent is that in the event of a failed payment, we are going to charge the customer to cover our cost.
there is a field in the webhook called failure_balance_transaction.. but in this case, this field was null
Ok. Can you share the payment intent id of the failure?
The above id is a py_ id
Also the event id where this field was null would help
this was not a paymentIntent. This was a charge. For ACH payment. The event ID is evt_1LX1gKHFDCZvO5mL0EZgc34z
Hi @magic summit -- unfortunately for bank account payments using BankAccount objects, the payment failure is modeled as a Refund, but we do not show the refund on the Charge. You can find the Refund and its BalanceTransaction (with associated fees) by listing all Refunds for the Charge: https://stripe.com/docs/api/refunds/list#list_refunds-charge
Ok... thanks