@staticmethod
    def refund(transaction_id, amount=None):

        return Configuration.gateway().transaction.refund(transaction_id, amount)
Refunds an existing transaction.
dataset/ETHPy150Open braintree/braintree_python/braintree/transaction.py/Transaction.refund