#akshay.devstree-refund-fee-info

1 messages · Page 1 of 1 (latest)

plain vortex
#

Hi there 👋 do you have an example of a payment where you see the "stripe processing fees refund", so that I can pull that up on my end and ensure we're looking at the same scenario?

limber flame
#

Yes, let me share you a screen shot for the same

plain vortex
#

Gotcha, and near the top right of that page there should be an ID for the payment intent (starts with pi_), can you copy/paste that here?

limber flame
#

Really sorry but not possible to share this id, Can you help me out without payment intent id

plain vortex
#

I can try, but I'm not exactly sure what that line in the dashboard maps to in the object structure, so we might have to do some digging.

My hunch is that the "stripe processing fees refund" is on the balance transaction object that is related to the refund of that payment.

Can you try:

  1. Find the refund object by listing all refund and using the payment intent ID as the filter:
    https://stripe.com/docs/api/refunds/list?lang=curl#list_refunds-payment_intent
  2. Retrieve the balance transaction associated with the refund (can also use the expand function in step 1 to do this)
  3. Check the fee_details on the balance transaction object and see if it has the information you're looking for:
    https://stripe.com/docs/api/balance_transactions/object?lang=curl#balance_transaction_object-fee_details
limber flame
#

Yes, sure let me try that, Thanks @plain vortex really appreciate