#bohdan.borkivskyi
1 messages · Page 1 of 1 (latest)
Did you try just creating a Dispute?
Yes, I used card 4000000000002685 to automatically create dispute after checkout session, but then the whole amount is disputed. My goal is to dispute partially refunded payment, but I don't know how to do it
As I understand disputes are opened through Visa/Mastercard and I'm not sure what the workflow is in test mode
My goal is to dispute partially refunded payment, but I don't know how to do it
You mean you want to part refund the payment first and then dispute the remaining amount?
right
Did you try creating a partial refund yet? https://stripe.com/docs/refunds?dashboard-or-api=api#:~:text=To refund part of a PaymentIntent%2C provide an amount parameter as an integer in cents (or the charge currency’s smallest currency unit).
Don't really know much about Disputes, but that's how you'd partially refund a payment
Yes, I have no problem making a partial refund. But I don't how to create dispute afterwards
I'm not even sure if partial Disputes are even a thing
Here https://stripe.com/docs/implementation-guides/core-payments/testing#qa-testing-use-cases in "Charge partially refunded" use case is says that "the partially-refunded charges may still be disputed"
Right, but that doesn't necessarily mean that the Dispute amount will reflect the partially refunded amount
It just means that even if partially refunded, it can be disputed
I see. So how can I create dispute after refund to test it?
I don't think you can unfortunately as the only way to have a dispute is to use the test card for it, which creates one immediately after the payment before you'd have time to refund it