Refund transaction
POST {{baseUrl}}/payments/:transactionId
Refund a successful debit transaction.
Request Body
{"authentication"=>{"userId"=>"{{apiUsername}}", "password"=>"{{apiPassword}}", "entityId"=>"{{entityId}}"}, "amount"=>"20.00", "currency"=>"ZAR", "paymentType"=>"RF"}
RESPONSES
status: OK
{"id":"994cbaf816dc4a36b42250878b9e042c","paymentType":"RF","result":{"code":"700.400.200","description":"cannot refund (refund volume exceeded or tx reversed or invalid workflow?)"},"timestamp":"2022-09-29T10:12:25.742862Z","amount":"20.00","currency":"ZAR"}