Partial refund brought using Afterpay

Hi,

I need to provide a customer with a partial refund. They bought the product using Afterpay.

How do I do this?

Do I refund her using Shopify or do I need to do the refund through Afterpay?

Please help!