#Unclear webhook refunds V2

1 messages · Page 1 of 1 (latest)

neon summit
#

In V1 of the API a Payment would get the status 'refunded' through the webhook which led to notify the customer that a refund succeded.
V2 of the API states that the status 'refunded' is no longer issued.
What is being called in the V2 API to replace this status? How to derive that a payment is refunded? I find the API reference very unclear in this matter.

stoic bough
#

The payment status itself remains paid, as it is still paid.
But in the event of a refund, the webhook gets called and the payment object itself has a refund object (if you embed them) or there is a method to get them . (Same goes for chargebacks)