This page will help you get started with the refund endpoint.
In order to stay compliant with taxes, you need to keep the transactional ledger up to date.
This is why Brinta offers the refund endpoint.
You can subtract refunds from past transactions with a total, partial amount, or by items. Just with the original transaction id, you can create a refund.