code: def transaction_error_code(self):
          
          error = self.response_doc.find('transaction_error')
          if error is not None:
              code = error.find('error_code')
              if code is not None:
                  return code.text
docs: The machine-readable error code for a transaction error.