An API endpoint for issuing refunds on transactions.
Once a transaction has been completed, this API can be used to issue a refund, thereby clawing back funds from the payee
and transferring them back to the payor. An optional amount can be specified to either issue a partial refund or add
additional fees to the original amount. If the amount is not specified, the total transaction amount is refunded.The refund requests are only accepted when the transaction has been processed or completed. If the transaction is in the
CAPTURE_PENDING or CAPTURE_ACH_FAILED status, the refund will not be accepted.A refund will be processed only after an individual or batch payout has been initiated. For transactions within a batch
payout, we will collect all refund requests from the day and create a credit ACH from the processor’s bank account
for the total amount of refunds processed that day.