post https://app2test.infiniaweb.com/infinia_api/v1/accounts/movements/refund/
Create a refund for a deposit. Only deposit movements with operation_type = CREDIT
are eligible.
A refund may still fail after being initially marked as SUCCESS
; in such cases, you'll receive a callback with status = FAILED
.
To simulate a failed refund in the sandbox, create a deposit with amount = 101
(see the Create Deposit
endpoint for details).
To refund a Payin, use the Create Refund
endpoint from Payins.