def return_transaction(self, amount, trans_id):

        super(PlugnPay, self).set(self.REQUEST_FIELDS['trans_mode'], 'return')
        super(PlugnPay, self).set(self.REQUEST_FIELDS['trans_id'], trans_id)
        super(PlugnPay, self).set(self.REQUEST_FIELDS['amount'], amount)
        super(PlugnPay, self).set('txn-type', 'auth')

        response, response_time = self.request()
        return self.parse(response, response_time)
Return funds back to a prior authorization.
dataset/ETHPy150Open abunsen/Paython/paython/gateways/plugnpay.py/PlugnPay.return_transaction