#rkrkrohitkkumar-dispute
1 messages · Page 1 of 1 (latest)
Dispute Id : dp_1Lc6o6DLFJuEW2E7r8Mmg8K8
I see a winning dispute. Could you elaborate on where are those "Refund Dispute Fee xxx"?
Sample Id : tr_3LcMldDLFJuEW2E70t1eJUsX
Hi! I'm taking over this thread.
You just shared a transfer ID. But can you clarify what you are trying to do? I'm not sure I understand.
Hi, Is there a way to track the Refund of Dispute Fee.
I want to display the "Refund Dispute Fee Destination Payment Id", "Refund Dispute Fee Transfer ID" and "Refund Dispute Fee Balance Transaction Id" when a dispute fee is charge and and the refund of that fee is initiated.
I looked into the above doc but it doesn't speak about the refund of the dispute fee when you WON the dispute.
Give me a few minutes to do some tests.
sure
So if you look at the dispute object, you can find the "Refund Dispute Fee Balance Transaction Id" here: https://stripe.com/docs/api/disputes/object#dispute_object-balance_transactions
What do you mean by "Refund Dispute Fee Destination Payment Id" and "Refund Dispute Fee Transfer ID"? Can you give an example for each?
I looked into the above doc. when I am testing, the balance_transactions have the value of original amount and the reversal of original amount when status is WON.
So, my goal is to replicate the tracking of the original amount for the dispute fee in case of WON.
when the original amount is reversed, we get the details that I mentioned above, so I want the same for the Dispute Fee reversal.
I looked into the above doc. when I am testing, the balance_transactions have the value of original amount and the reversal of original amount when status is WON.
Correct, and that's not what you are looking for?
Can you show me exactly with an example what you are looking for?
So when the dispute is won, we refund the dispute amount (25$) and dispute fee (10$)
the above doc talks about dispute amount (25$) whose data is there in the record, just like the dispute amount reversal I need dispute fee reversal details.
Oh so you are using connect! I don't think you mentioned that earlier. Is this ID you shared earlier a good example: dp_1Lc6o6DLFJuEW2E7r8Mmg8K8 and from there you want to retrieve all of this: "Refund Dispute Fee Destination Payment Id", "Refund Dispute Fee Transfer ID" and "Refund Dispute Fee Balance Transaction Id"?
Yes
Got it! And it looks like you are using Destination charges for the payments?
I'm not sure what you meant.
For dp_1Lc6o6DLFJuEW2E7r8Mmg8K8, the corresponding PaymentIntent is pi_3Lc6o4DLFJuEW2E70nXQsZ6z
And it was created with transfer_data: {destination: "acct_xxx" } We call this a Destination Charge https://stripe.com/docs/connect/destination-charges
okay, yes we are using Destination charges for the payments
sure
I want to display the "Refund Dispute Fee Destination Payment Id", "Refund Dispute Fee Transfer ID" and "Refund Dispute Fee Balance Transaction Id" when a dispute fee is charge and and the refund of that fee is initiated.
My goal is to replicate the tracking of the reversal of dispute fee, the same way original amount reversal tracking is there when dispute is WON.
I'm trying that on my account, I have an idea of how it works but would prefer to give you a step by step replication
ok so the idea is on your dispute object when you first get the dispute there would be a balance_transaction that would be added with the details of the amount, fees, etc... that resulted in the amount being taken from your account, if you win the dispute, another balance transaction would be added to the balance_transactions list
with the refund info
Yes, correct. But in the fee info I don't see the field that I need.
"balance_transactions": [
{
"id": "txn_1Lag4eDLFJuEW2E7O4D0YOGp",
"object": "balance_transaction",
"amount": -2500,
"available_on": 1661990400,
"created": 1661433979,
"currency": "usd",
"description": "Chargeback withdrawal for ch_3Lag4bDLFJuEW2E719nDJZoS",
"exchange_rate": null,
"fee": 500,
"fee_details": [
{
"amount": 500,
"application": null,
"currency": "usd",
"description": "Dispute fee",
"type": "stripe_fee"
}
],
"net": -3000,
"reporting_category": "dispute",
"source": "dp_1Lag4dDLFJuEW2E7oGPXRcxg",
"status": "pending",
"type": "adjustment"
},
{
"id": "txn_1LahHPDLFJuEW2E7UDeiBb9z",
"object": "balance_transaction",
"amount": 2500,
"available_on": 1661990400,
"created": 1661438614,
"currency": "usd",
"description": "Chargeback reversal for ch_3Lag4bDLFJuEW2E719nDJZoS",
"exchange_rate": null,
"fee": -500,
"fee_details": [
{
"amount": -500,
"application": null,
"currency": "usd",
"description": "Dispute fee refund",
"type": "stripe_fee"
}
],
"net": 3000,
"reporting_category": "dispute_reversal",
"source": "dp_1Lag4dDLFJuEW2E7oGPXRcxg",
"status": "pending",
"type": "adjustment"
}
]
what is missing?
I want to display the "Refund Dispute Fee Destination Payment Id", "Refund Dispute Fee Transfer ID" and "Refund Dispute Fee Balance Transaction Id"
the 3 of them are the same id
txn_1LahHPDLFJuEW2E7UDeiBb9z
sorry maybe I'm missing something here
okay, I think this transaction Id is particular to the reversal of original amount (25$) not the dsipute fee (10$) reversal.
I'm not sure where the 10$ coming from?
the Dispute fee is 5$ and the Dispute fee refund is -5$
sorry again, I might be missing something
since you are using Destination Charges, the disputes are happening only on the Platform account (unless you explicitly specify in your settings to reverse the transfer to the Connected Account)
so when you say "Refund Dispute Fee Destination Payment Id" that doesn't make a lot of sense
"Refund Dispute Fee" is something related to a dispute and doesn't affect the Destination Payment Id. but if you want the Destination Payment Id of the initial charge
then you'd have to go back to the dispute retrieve the charge
okay, for now I am using txn_1LahHPDLFJuEW2E7UDeiBb9z this id only. Will ping in this thread if I have any other doubt.
Thank You for you time.
ok let me know if you need any more help