How to successfully refund via API? Full Refunds/Partial Refunds
The way to emit a purchase refund is to create a payout using your account and then commit it, this will move money from your Airtm wallet to the user's Airtm Wallet.
Please read more about payouts here