how to refund a deposit to a client's credit card using a stripe?

how to refund a deposit to a client's credit card using a stripe?


At the moment I see this way:
To partially refund an invoice in Zoho Books, I need to create a credit note for the amount you want to refund and apply it to the invoice. Then, I need to go to the Stripe dashboard and find the payment I want to refund. Click on the refund button and enter the amount I want to refund. This will automatically update the invoice status in Zoho Books and reflect the partial refund.
Is there a better/automated option?