You can refund eWallet transactions through the API and it can be adjusted according to your needs whether it will be fully or partially refund, as long as the refund amount does not exceed the original transaction amount.
For Indonesia’s eWallet channels, please request refund activation from our customer success team at help@xendit.co or your account manager.
You can see instructions on how to make a refund and the conditions here.