Now that you have set up the necessary structure and security measures to ensure that any event you process is from Yoco, you can proceed to handle the failed refund event.
You can verify the refund status by checking the
type field of the webhook event.
A refund is considered failed if its
type is set to
|The unique identifier for the event.|
|The type of event, one of |
|The payload consists of additional information related to the event, for example, the Payment or Refund object. |
- Failed Refund